public interface XsTSimpleType extends XsTAnnotated
Interface 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 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) |
createAnnotation, getAnnotation, getId, setId
getOpenAttributes
getLocator, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, validate
XsERestriction createRestriction() throws org.xml.sax.SAXException
org.xml.sax.SAXException
XsERestriction getRestriction()
XsEList createList() throws org.xml.sax.SAXException
org.xml.sax.SAXException
XsEList getList()
XsEUnion createUnion() throws org.xml.sax.SAXException
org.xml.sax.SAXException
XsEUnion getUnion()
void setFinal(XsSimpleDerivationSet pSet) throws org.xml.sax.SAXException
org.xml.sax.SAXException
XsSimpleDerivationSet getFinal()
void setName(XsNCName pName) throws org.xml.sax.SAXException
org.xml.sax.SAXException
XsNCName getName()