public class XsTRestrictionTypeImpl extends XsTAnnotatedImpl implements XsTRestrictionType
Implementation of xs:restrictionType,
as specified by the following:
<xs:complexType name="restrictionType">
<xs:complexContent>
<xs:extension base="xs:annotated">
<xs:sequence>
<xs:choice>
<xs:group ref="xs:typeDefParticle" minOccurs="0"/>
<xs:group ref="xs:simpleRestrictionModel" minOccurs="0"/>
</xs:choice>
<xs:group ref="xs:attrDecls"/>
</xs:sequence>
<xs:attribute name="base" type="xs:QName" use="required"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
| Modifier | Constructor and Description |
|---|---|
protected |
XsTRestrictionTypeImpl(XsObject pParent) |
createAnnotation, getAnnotation, getId, setIdgetOpenAttributes, setAttributeasXsQName, asXsQName, getContext, getLocator, getNamespaceSupport, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, isValidatedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateAnnotation, getAnnotation, getId, setIdgetOpenAttributesgetLocator, getObjectFactory, getParentObject, getXsESchema, isTopLevelObjectprotected XsTRestrictionTypeImpl(XsObject pParent)
public void setBase(XsQName pBase)
setBase in interface XsTRestrictionTypepublic void setBase(java.lang.String pBase)
throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionpublic XsQName getBase()
getBase in interface XsTRestrictionTypepublic XsTGroupRef createGroup()
createGroup in interface XsGTypeDefParticlepublic XsTAll createAll()
createAll in interface XsGTypeDefParticlepublic XsESequence createSequence()
createSequence in interface XsGTypeDefParticlepublic XsEChoice createChoice()
createChoice in interface XsGTypeDefParticlepublic XsTTypeDefParticle getTypeDefParticle()
getTypeDefParticle in interface XsGTypeDefParticlepublic XsTLocalSimpleType createSimpleType() throws org.xml.sax.SAXException
createSimpleType in interface XsGSimpleRestrictionModelorg.xml.sax.SAXExceptionpublic XsTLocalSimpleType getSimpleType()
getSimpleType in interface XsGSimpleRestrictionModelpublic XsEMinExclusive createMinExclusive() throws org.xml.sax.SAXException
createMinExclusive in interface XsGSimpleRestrictionModelorg.xml.sax.SAXExceptionpublic XsEMinExclusive getMinExclusive()
getMinExclusive in interface XsGSimpleRestrictionModelpublic XsEMinInclusive createMinInclusive() throws org.xml.sax.SAXException
createMinInclusive in interface XsGSimpleRestrictionModelorg.xml.sax.SAXExceptionpublic XsEMinInclusive getMinInclusive()
getMinInclusive in interface XsGSimpleRestrictionModelpublic XsEMaxExclusive createMaxExclusive() throws org.xml.sax.SAXException
createMaxExclusive in interface XsGSimpleRestrictionModelorg.xml.sax.SAXExceptionpublic XsEMaxExclusive getMaxExclusive()
getMaxExclusive in interface XsGSimpleRestrictionModelpublic XsEMaxInclusive createMaxInclusive() throws org.xml.sax.SAXException
createMaxInclusive in interface XsGSimpleRestrictionModelorg.xml.sax.SAXExceptionpublic XsEMaxInclusive getMaxInclusive()
getMaxInclusive in interface XsGSimpleRestrictionModelpublic XsETotalDigits createTotalDigits() throws org.xml.sax.SAXException
createTotalDigits in interface XsGSimpleRestrictionModelorg.xml.sax.SAXExceptionpublic XsETotalDigits getTotalDigits()
getTotalDigits in interface XsGSimpleRestrictionModelpublic XsEFractionDigits createFractionDigits() throws org.xml.sax.SAXException
createFractionDigits in interface XsGSimpleRestrictionModelorg.xml.sax.SAXExceptionpublic XsEFractionDigits getFractionDigits()
getFractionDigits in interface XsGSimpleRestrictionModelpublic XsELength createLength() throws org.xml.sax.SAXException
createLength in interface XsGSimpleRestrictionModelorg.xml.sax.SAXExceptionpublic XsELength getLength()
getLength in interface XsGSimpleRestrictionModelpublic XsEMinLength createMinLength() throws org.xml.sax.SAXException
createMinLength in interface XsGSimpleRestrictionModelorg.xml.sax.SAXExceptionpublic XsEMinLength getMinLength()
getMinLength in interface XsGSimpleRestrictionModelpublic XsEMaxLength createMaxLength() throws org.xml.sax.SAXException
createMaxLength in interface XsGSimpleRestrictionModelorg.xml.sax.SAXExceptionpublic XsEMaxLength getMaxLength()
getMaxLength in interface XsGSimpleRestrictionModelpublic XsEWhiteSpace createWhiteSpace() throws org.xml.sax.SAXException
createWhiteSpace in interface XsGSimpleRestrictionModelorg.xml.sax.SAXExceptionpublic XsEWhiteSpace getWhiteSpace()
getWhiteSpace in interface XsGSimpleRestrictionModelpublic XsEPattern createPattern() throws org.xml.sax.SAXException
createPattern in interface XsGSimpleRestrictionModelorg.xml.sax.SAXExceptionpublic XsEPattern[] getPatterns()
getPatterns in interface XsGSimpleRestrictionModelpublic XsEEnumeration createEnumeration() throws org.xml.sax.SAXException
createEnumeration in interface XsGSimpleRestrictionModelorg.xml.sax.SAXExceptionpublic XsEEnumeration[] getEnumerations()
getEnumerations in interface XsGSimpleRestrictionModelpublic boolean hasFacets()
XsGSimpleRestrictionModelReturns whether any facet has been defined.
hasFacets in interface XsGSimpleRestrictionModelpublic XsTFacetBase[] getFacets()
XsGSimpleRestrictionModelReturns an array of all facets.
getFacets in interface XsGSimpleRestrictionModelpublic XsTAttribute createAttribute()
XsGAttrDeclsCreates a new instance of XsTAttribute.
createAttribute in interface XsGAttrDeclspublic XsTAttribute[] getAttributes()
XsGAttrDeclsReturns an array of all attributes created by
XsGAttrDecls.createAttribute().
getAttributes in interface XsGAttrDeclspublic XsTAttributeGroupRef createAttributeGroup()
XsGAttrDeclsCreates a new instance of XsTAttributeGroup.
createAttributeGroup in interface XsGAttrDeclspublic XsTAttributeGroupRef[] getAttributeGroups()
XsGAttrDeclsReturns an array of all attribute groups created by
XsGAttrDecls.createAttributeGroup();
getAttributeGroups in interface XsGAttrDeclspublic XsTWildcard createAnyAttribute()
XsGAttrDeclsCreates a new instance of XsTWildcard.
createAnyAttribute in interface XsGAttrDeclspublic XsTWildcard getAnyAttribute()
XsGAttrDeclsReturns the instance created by XsGAttrDecls.createAnyAttribute(),
or null, if the method wasn't called.
getAnyAttribute in interface XsGAttrDeclspublic java.lang.Object[] getAllAttributes()
XsGAttrDeclsReturns all objects created by XsGAttrDecls.createAttribute(),
XsGAttrDecls.createAttributeGroup(), or XsGAttrDecls.createAnyAttribute(),
in the order of the corresponding method calls.
getAllAttributes in interface XsGAttrDeclspublic void validate()
throws org.xml.sax.SAXException
XsObjectvalidate in interface XsObjectvalidate in class XsObjectImplorg.xml.sax.SAXException