public class XsTSimpleTypeImpl extends XsTAnnotatedImpl implements XsTSimpleType
Implementation of the following specification for
xs:simpleType:
<xs:complexType name="simpleType" abstract="true">
<xs:complexContent>
<xs:extension base="xs:annotated">
<xs:group ref="xs:simpleDerivation"/>
<xs:attribute name="final" type="xs:simpleDerivationSet"/>
<xs:attribute name="name" type="xs:NCName">
<xs:annotation>
<xs:documentation>
Can be restricted to required or forbidden
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:group name="simpleDerivation">
<xs:choice>
<xs:element ref="xs:restriction"/>
<xs:element ref="xs:list"/>
<xs:element ref="xs:union"/>
</xs:choice>
</xs:group>
| Modifier | Constructor and Description |
|---|---|
protected |
XsTSimpleTypeImpl(XsObject pParent) |
| Modifier and Type | Method and Description |
|---|---|
XsEList |
createList() |
XsERestriction |
createRestriction() |
XsEUnion |
createUnion() |
XsSimpleDerivationSet |
getFinal() |
XsEList |
getList() |
XsNCName |
getName() |
XsERestriction |
getRestriction() |
XsEUnion |
getUnion() |
void |
setFinal(XsSimpleDerivationSet pSet) |
void |
setName(XsNCName pName) |
void |
validate()
Validates the internal state of the type, attribute, element,
or whatever object.
|
createAnnotation, getAnnotation, getId, setIdgetOpenAttributes, setAttributeasXsQName, asXsQName, getContext, getLocator, getNamespaceSupport, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, isValidatedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateAnnotation, getAnnotation, getId, setIdgetOpenAttributesgetLocator, getObjectFactory, getParentObject, getXsESchema, isTopLevelObjectprotected XsTSimpleTypeImpl(XsObject pParent)
public XsERestriction createRestriction() throws org.xml.sax.SAXException
createRestriction in interface XsTSimpleTypeorg.xml.sax.SAXExceptionpublic XsERestriction getRestriction()
getRestriction in interface XsTSimpleTypepublic XsEList createList() throws org.xml.sax.SAXException
createList in interface XsTSimpleTypeorg.xml.sax.SAXExceptionpublic XsEList getList()
getList in interface XsTSimpleTypepublic XsEUnion createUnion() throws org.xml.sax.SAXException
createUnion in interface XsTSimpleTypeorg.xml.sax.SAXExceptionpublic XsEUnion getUnion()
getUnion in interface XsTSimpleTypepublic void setFinal(XsSimpleDerivationSet pSet) throws org.xml.sax.SAXException
setFinal in interface XsTSimpleTypeorg.xml.sax.SAXExceptionpublic XsSimpleDerivationSet getFinal()
getFinal in interface XsTSimpleTypepublic void setName(XsNCName pName) throws org.xml.sax.SAXException
setName in interface XsTSimpleTypeorg.xml.sax.SAXExceptionpublic XsNCName getName()
getName in interface XsTSimpleTypepublic void validate()
throws org.xml.sax.SAXException
XsObjectvalidate in interface XsObjectvalidate in class XsObjectImplorg.xml.sax.SAXException