public class XsETopLevelSimpleTypeImpl extends XsTSimpleTypeImpl implements XsETopLevelSimpleType
Implementation of xs:simpleType>, as specified by the following:
<xs:element name="simpleType" type="xs:topLevelSimpleType" id="simpleType">
<xs:annotation>
<xs:documentation
source="http://www.w3.org/TR/xmlschema-2/#element-simpleType"/>
</xs:annotation>
</xs:element>
<xs:complexType name="topLevelSimpleType">
<xs:complexContent>
<xs:restriction base="xs:simpleType">
<xs:sequence>
<xs:element ref="xs:annotation" minOccurs="0"/>
<xs:group ref="xs:simpleDerivation"/>
</xs:sequence>
<xs:attribute name="name" use="required" type="xs:NCName">
<xs:annotation>
<xs:documentation>
Required at the top level
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
Modifier | Constructor and Description |
---|---|
protected |
XsETopLevelSimpleTypeImpl(XsObject pParent) |
Modifier and Type | Method and Description |
---|---|
void |
validate()
Validates the internal state of the type, attribute, element,
or whatever object.
|
createList, createRestriction, createUnion, getFinal, getList, getName, getRestriction, getUnion, setFinal, setName
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
createList, createRestriction, createUnion, getFinal, getList, getName, getRestriction, getUnion, setFinal, setName
createAnnotation, getAnnotation, getId, setId
getOpenAttributes
getLocator, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject
protected XsETopLevelSimpleTypeImpl(XsObject pParent)
public void validate() throws org.xml.sax.SAXException
XsObject
validate
in interface XsObject
validate
in class XsTSimpleTypeImpl
org.xml.sax.SAXException