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, setId
getOpenAttributes, setAttribute
asXsQName, asXsQName, getContext, getLocator, getNamespaceSupport, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, isValidated
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createAnnotation, getAnnotation, getId, setId
getOpenAttributes
getLocator, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject
protected XsTSimpleTypeImpl(XsObject pParent)
public XsERestriction createRestriction() throws org.xml.sax.SAXException
createRestriction
in interface XsTSimpleType
org.xml.sax.SAXException
public XsERestriction getRestriction()
getRestriction
in interface XsTSimpleType
public XsEList createList() throws org.xml.sax.SAXException
createList
in interface XsTSimpleType
org.xml.sax.SAXException
public XsEList getList()
getList
in interface XsTSimpleType
public XsEUnion createUnion() throws org.xml.sax.SAXException
createUnion
in interface XsTSimpleType
org.xml.sax.SAXException
public XsEUnion getUnion()
getUnion
in interface XsTSimpleType
public void setFinal(XsSimpleDerivationSet pSet) throws org.xml.sax.SAXException
setFinal
in interface XsTSimpleType
org.xml.sax.SAXException
public XsSimpleDerivationSet getFinal()
getFinal
in interface XsTSimpleType
public void setName(XsNCName pName) throws org.xml.sax.SAXException
setName
in interface XsTSimpleType
org.xml.sax.SAXException
public XsNCName getName()
getName
in interface XsTSimpleType
public void validate() throws org.xml.sax.SAXException
XsObject
validate
in interface XsObject
validate
in class XsObjectImpl
org.xml.sax.SAXException