net.sf.jaxme.xs.xml.impl
Class XsESimpleContentImpl

java.lang.Object
  extended bynet.sf.jaxme.xs.xml.impl.XsObjectImpl
      extended bynet.sf.jaxme.xs.xml.impl.XsTOpenAttrsImpl
          extended bynet.sf.jaxme.xs.xml.impl.XsTAnnotatedImpl
              extended bynet.sf.jaxme.xs.xml.impl.XsESimpleContentImpl
All 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
protected XsESimpleContentImpl(XsObject pParent)
           
 
Method Summary
 XsTSimpleExtensionType createExtension()
           
 XsTSimpleRestrictionType createRestriction()
           
 XsTSimpleExtensionType getExtension()
           
 XsTSimpleRestrictionType getRestriction()
           
 void validate()
          Validates the types, attributes, elements, ... internal state.
 
Methods inherited from class net.sf.jaxme.xs.xml.impl.XsTAnnotatedImpl
createAnnotation, getAnnotation, getId, setId
 
Methods inherited from class net.sf.jaxme.xs.xml.impl.XsTOpenAttrsImpl
getOpenAttributes, setAttribute
 
Methods inherited from class net.sf.jaxme.xs.xml.impl.XsObjectImpl
asXsQName, getContext, getLocator, getNamespaceSupport, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, isValidated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.jaxme.xs.xml.XsTAnnotated
createAnnotation, getAnnotation, getId, setId
 
Methods inherited from interface net.sf.jaxme.xs.xml.XsObject
getLocator, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject
 

Constructor Detail

XsESimpleContentImpl

protected XsESimpleContentImpl(XsObject pParent)
Method Detail

createRestriction

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

getRestriction

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

createExtension

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

getExtension

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

validate

public void validate()
Description copied from interface: XsObject

Validates the types, attributes, elements, ... internal state.

Specified by:
validate in interface XsObject
Overrides:
validate in class XsObjectImpl