org.apache.ws.jaxme.xs.xml.impl

Class XsESimpleContentImpl

public class XsESimpleContentImpl extends XsTAnnotatedImpl implements XsESimpleContent

Implementation of xs:simpleContent, as specified by the following:

  <xs:element name="simpleContent" id="simpleContent">
    <xs:annotation>
      <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-simpleContent"/>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="xs:annotated">
          <xs:choice>
            <xs:element name="restriction" type="xs:simpleRestrictionType"/>
            <xs:element name="extension" type="xs:simpleExtensionType"/>
          </xs:choice>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
 

Author: Jochen Wiedmann

Constructor Summary
protected XsESimpleContentImpl(XsObject pParent)
Method Summary
XsTSimpleExtensionTypecreateExtension()
XsTSimpleRestrictionTypecreateRestriction()
XsTSimpleExtensionTypegetExtension()
XsTSimpleRestrictionTypegetRestriction()
voidvalidate()

Constructor Detail

XsESimpleContentImpl

protected XsESimpleContentImpl(XsObject pParent)

Method Detail

createExtension

public XsTSimpleExtensionType createExtension()

createRestriction

public XsTSimpleRestrictionType createRestriction()

getExtension

public XsTSimpleExtensionType getExtension()

getRestriction

public XsTSimpleRestrictionType getRestriction()

validate

public void validate()