public class XsGAttrDeclsImpl extends java.lang.Object implements XsGAttrDecls
Implementation of xs:attrDecls, with the
following specification:
<xs:group name="attrDecls">
<xs:sequence>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="attribute" type="xs:attribute"/>
<xs:element name="attributeGroup" type="xs:attributeGroupRef"/>
</xs:choice>
<xs:element ref="xs:anyAttribute" minOccurs="0"/>
</xs:sequence>
</xs:group>
| Modifier | Constructor and Description |
|---|---|
protected |
XsGAttrDeclsImpl(XsObject pOwner) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addChild(java.lang.Object o) |
XsTWildcard |
createAnyAttribute()
Creates a new instance of
XsTWildcard. |
XsTAttribute |
createAttribute()
Creates a new instance of
XsTAttribute. |
XsTAttributeGroupRef |
createAttributeGroup()
Creates a new instance of
XsTAttributeGroup. |
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(). |
protected XsGAttrDeclsImpl(XsObject pOwner)
protected void addChild(java.lang.Object o)
public 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 XsGAttrDecls