1 /* 2 * Copyright 2003, 2004 The Apache Software Foundation 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 16 */ 17 package org.apache.ws.jaxme.xs.xml; 18 19 20 /** <p>Implementation of <code>xs:simpleContent</code>, 21 * as specified by the following: 22 * <pre> 23 * <xs:element name="simpleContent" id="simpleContent"> 24 * <xs:annotation> 25 * <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-simpleContent"/> 26 * </xs:annotation> 27 * <xs:complexType> 28 * <xs:complexContent> 29 * <xs:extension base="xs:annotated"> 30 * <xs:choice> 31 * <xs:element name="restriction" type="xs:simpleRestrictionType"/> 32 * <xs:element name="extension" type="xs:simpleExtensionType"/> 33 * </xs:choice> 34 * </xs:extension> 35 * </xs:complexContent> 36 * </xs:complexType> 37 * </xs:element> 38 * </pre></p> 39 * 40 * @author <a HREF="mailto:joe@ispsoft.de">Jochen Wiedmann</a> 41 */ 42 public interface XsESimpleContent extends XsTAnnotated { 43 public XsTSimpleRestrictionType createRestriction(); 44 45 public XsTSimpleRestrictionType getRestriction(); 46 47 public XsTSimpleExtensionType createExtension(); 48 49 public XsTSimpleExtensionType getExtension(); 50 } 51