public class XsTLocalSimpleTypeImpl extends XsTSimpleTypeImpl implements XsTLocalSimpleType
Implementation of the xs:localSimpleType type,
as specified by the following:
<xs:complexType name="localSimpleType">
<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="prohibited">
<xs:annotation>
<xs:documentation>
Forbidden when nested
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="final" use="prohibited"/>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
Implementation note: The implementation must ensure, that the 'final' and 'name' attributes aren't set.
| Modifier | Constructor and Description |
|---|---|
protected |
XsTLocalSimpleTypeImpl(XsObject pParent) |
| Modifier and Type | Method and Description |
|---|---|
void |
setFinal(XsSimpleDerivationSet pFinal) |
void |
setName(XsNCName pName) |
createList, createRestriction, createUnion, getFinal, getList, getName, getRestriction, getUnion, validatecreateAnnotation, getAnnotation, getId, setIdgetOpenAttributes, setAttributeasXsQName, asXsQName, getContext, getLocator, getNamespaceSupport, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, isValidatedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateList, createRestriction, createUnion, getFinal, getList, getName, getRestriction, getUnioncreateAnnotation, getAnnotation, getId, setIdgetOpenAttributesgetLocator, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, validateprotected XsTLocalSimpleTypeImpl(XsObject pParent)
public void setName(XsNCName pName) throws org.xml.sax.SAXException
setName in interface XsTSimpleTypesetName in class XsTSimpleTypeImplorg.xml.sax.SAXExceptionpublic void setFinal(XsSimpleDerivationSet pFinal) throws org.xml.sax.SAXException
setFinal in interface XsTSimpleTypesetFinal in class XsTSimpleTypeImplorg.xml.sax.SAXException