|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jaxme.xs.xml.impl.XsGAttrDeclsImpl
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>
Constructor Summary | |
protected |
XsGAttrDeclsImpl(XsObject pOwner)
|
Method Summary | |
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 createAttribute() ,
createAttributeGroup() , or createAnyAttribute() ,
in the order of the corresponding method calls. |
XsTWildcard |
getAnyAttribute()
Returns the instance created by createAnyAttribute() ,
or null, if the method wasn't called. |
XsTAttributeGroupRef[] |
getAttributeGroups()
Returns an array of all attribute groups created by createAttributeGroup() ; |
XsTAttribute[] |
getAttributes()
Returns an array of all attributes created by createAttribute() . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected XsGAttrDeclsImpl(XsObject pOwner)
Method Detail |
protected void addChild(java.lang.Object o)
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
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |