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

Class XsESimpleContentImpl

Implemented Interfaces:
XsESimpleContent, XsObject, XsTAnnotated, XsTOpenAttrs

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

XsESimpleContentImpl(XsObject pParent)

Method Summary

XsTSimpleExtensionType
createExtension()
XsTSimpleRestrictionType
createRestriction()
XsTSimpleExtensionType
getExtension()
XsTSimpleRestrictionType
getRestriction()
void
validate()
Validates the internal state of the type, attribute, element, or whatever object.

Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsTAnnotatedImpl

createAnnotation, getAnnotation, getId, setId

Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsTOpenAttrsImpl

getOpenAttributes, setAttribute

Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsObjectImpl

asXsQName, asXsQName, getContext, getLocator, getNamespaceSupport, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, isValidated, validate

Constructor Details

XsESimpleContentImpl

protected XsESimpleContentImpl(XsObject pParent)

Method Details

createExtension

public XsTSimpleExtensionType createExtension()
Specified by:
createExtension in interface XsESimpleContent

createRestriction

public XsTSimpleRestrictionType createRestriction()
Specified by:
createRestriction in interface XsESimpleContent

getExtension

public XsTSimpleExtensionType getExtension()
Specified by:
getExtension in interface XsESimpleContent

getRestriction

public XsTSimpleRestrictionType getRestriction()
Specified by:
getRestriction in interface XsESimpleContent

validate

public void validate()
Validates the internal state of the type, attribute, element, or whatever object.
Specified by:
validate in interface XsObject
Overrides:
validate in interface XsObjectImpl