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, setId
getOpenAttributes, setAttribute
asXsQName, asXsQName, getContext, getLocator, getNamespaceSupport, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, isValidated
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createAnnotation, getAnnotation, getId, setId
getOpenAttributes
getLocator, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject
protected XsTExtensionTypeImpl(XsObject pParent)
public void setBase(XsQName pBase)
setBase
in interface XsTExtensionType
public void setBase(java.lang.String pBase) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public XsQName getBase()
getBase
in interface XsTExtensionType
public XsTGroupRef createGroup()
createGroup
in interface XsGTypeDefParticle
public XsTAll createAll()
createAll
in interface XsGTypeDefParticle
public XsEChoice createChoice()
createChoice
in interface XsGTypeDefParticle
public XsESequence createSequence()
createSequence
in interface XsGTypeDefParticle
public XsTTypeDefParticle getTypeDefParticle()
getTypeDefParticle
in interface XsGTypeDefParticle
public XsTAttribute createAttribute()
XsGAttrDecls
Creates a new instance of XsTAttribute
.
createAttribute
in interface XsGAttrDecls
public XsTAttribute[] getAttributes()
XsGAttrDecls
Returns an array of all attributes created by
XsGAttrDecls.createAttribute()
.
getAttributes
in interface XsGAttrDecls
public XsTAttributeGroupRef createAttributeGroup()
XsGAttrDecls
Creates a new instance of XsTAttributeGroup
.
createAttributeGroup
in interface XsGAttrDecls
public XsTAttributeGroupRef[] getAttributeGroups()
XsGAttrDecls
Returns an array of all attribute groups created by
XsGAttrDecls.createAttributeGroup()
;
getAttributeGroups
in interface XsGAttrDecls
public XsTWildcard createAnyAttribute()
XsGAttrDecls
Creates a new instance of XsTWildcard
.
createAnyAttribute
in interface XsGAttrDecls
public XsTWildcard getAnyAttribute()
XsGAttrDecls
Returns the instance created by XsGAttrDecls.createAnyAttribute()
,
or null, if the method wasn't called.
getAnyAttribute
in interface XsGAttrDecls
public java.lang.Object[] getAllAttributes()
XsGAttrDecls
Returns all objects created by XsGAttrDecls.createAttribute()
,
XsGAttrDecls.createAttributeGroup()
, or XsGAttrDecls.createAnyAttribute()
,
in the order of the corresponding method calls.
getAllAttributes
in interface XsGAttrDecls
public void validate() throws org.xml.sax.SAXException
XsObject
validate
in interface XsObject
validate
in class XsObjectImpl
org.xml.sax.SAXException