public class XsTExtensionTypeImpl extends XsTAnnotatedImpl implements XsTExtensionType
Implementation of the xs:extensionType type, as
specified by:
<xs:complexType name="extensionType">
<xs:complexContent>
<xs:extension base="xs:annotated">
<xs:sequence>
<xs:group ref="xs:typeDefParticle" minOccurs="0"/>
<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 |
XsTExtensionTypeImpl(XsObject pParent) |
| Modifier and Type | Method and Description |
|---|---|
XsTAll |
createAll() |
XsTWildcard |
createAnyAttribute()
Creates a new instance of
XsTWildcard. |
XsTAttribute |
createAttribute()
Creates a new instance of
XsTAttribute. |
XsTAttributeGroupRef |
createAttributeGroup()
Creates a new instance of
XsTAttributeGroup. |
XsEChoice |
createChoice() |
XsTGroupRef |
createGroup() |
XsESequence |
createSequence() |
java.lang.Object[] |
getAllAttributes()
Returns all objects created by
XsGAttrDecls.createAttribute(),
XsGAttrDecls.createAttributeGroup(), or XsGAttrDecls.createAnyAttribute(),
in the order of the corresponding method calls. |
XsTWildcard |
getAnyAttribute()
Returns the instance created by
XsGAttrDecls.createAnyAttribute(),
or null, if the method wasn't called. |
XsTAttributeGroupRef[] |
getAttributeGroups()
Returns an array of all attribute groups created by
XsGAttrDecls.createAttributeGroup(); |
XsTAttribute[] |
getAttributes()
Returns an array of all attributes created by
XsGAttrDecls.createAttribute(). |
XsQName |
getBase() |
XsTTypeDefParticle |
getTypeDefParticle() |
void |
setBase(java.lang.String pBase) |
void |
setBase(XsQName pBase) |
void |
validate()
Validates the internal state of the type, attribute, element,
or whatever object.
|
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 XsTExtensionTypeImpl(XsObject pParent)
public void setBase(XsQName pBase)
setBase in interface XsTExtensionTypepublic void setBase(java.lang.String pBase)
throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionpublic XsQName getBase()
getBase in interface XsTExtensionTypepublic XsTGroupRef createGroup()
createGroup in interface XsGTypeDefParticlepublic XsTAll createAll()
createAll in interface XsGTypeDefParticlepublic XsEChoice createChoice()
createChoice in interface XsGTypeDefParticlepublic XsESequence createSequence()
createSequence in interface XsGTypeDefParticlepublic XsTTypeDefParticle getTypeDefParticle()
getTypeDefParticle in interface XsGTypeDefParticlepublic 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