public class XsTAttributeGroupImpl extends XsTAnnotatedImpl implements XsTAttributeGroup
Implementation of an xs:attributeGroup,
with the following specification:
<xs:complexType name="attributeGroup" abstract="true">
<xs:complexContent>
<xs:extension base="xs:annotated">
<xs:group ref="xs:attrDecls"/>
<xs:attributeGroup ref="xs:defRef"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
| Modifier | Constructor and Description |
|---|---|
protected |
XsTAttributeGroupImpl(XsObject pParent) |
| Modifier and Type | Method and Description |
|---|---|
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(). |
XsNCName |
getName() |
XsQName |
getRef() |
void |
setName(XsNCName pName) |
void |
setRef(java.lang.String pRef) |
void |
setRef(XsQName pRef) |
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 XsTAttributeGroupImpl(XsObject pParent)
public void setName(XsNCName pName)
setName in interface XsAGDefRefpublic XsNCName getName()
getName in interface XsAGDefRefpublic void setRef(XsQName pRef)
setRef in interface XsAGDefRefpublic void setRef(java.lang.String pRef)
throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionpublic XsQName getRef()
getRef in interface XsAGDefRefpublic 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 XsAGDefRefvalidate in interface XsObjectvalidate in class XsObjectImplorg.xml.sax.SAXException