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, validate
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
createAnnotation, getAnnotation, getId, setId
getOpenAttributes
getLocator, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, validate
protected XsTLocalSimpleTypeImpl(XsObject pParent)
public void setName(XsNCName pName) throws org.xml.sax.SAXException
setName
in interface XsTSimpleType
setName
in class XsTSimpleTypeImpl
org.xml.sax.SAXException
public void setFinal(XsSimpleDerivationSet pFinal) throws org.xml.sax.SAXException
setFinal
in interface XsTSimpleType
setFinal
in class XsTSimpleTypeImpl
org.xml.sax.SAXException