org.apache.ws.jaxme.xs.xml

Interface XsGAttrDecls

Known Subinterfaces:
XsGComplexTypeModel, XsTAttributeGroup, XsTComplexRestrictionType, XsTComplexType, XsTExtensionType, XsTLocalComplexType, XsTRestrictionType, XsTSimpleExtensionType, XsTSimpleRestrictionType, XsTTopLevelComplexType
Known Implementing Classes:
XsGAttrDeclsImpl, XsGComplexTypeModelImpl, XsTAttributeGroupImpl, XsTComplexRestrictionTypeImpl, XsTComplexTypeImpl, XsTExtensionTypeImpl, XsTLocalComplexTypeImpl, XsTRestrictionTypeImpl, XsTSimpleExtensionTypeImpl, XsTSimpleRestrictionTypeImpl, XsTTopLevelComplexTypeImpl

public interface XsGAttrDecls

Interface 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>
 
Author:
Jochen Wiedmann

Method Summary

XsTWildcard
createAnyAttribute()
Creates a new instance of XsTWildcard.
XsTAttribute
createAttribute()
Creates a new instance of XsTAttribute.
XsTAttributeGroupRef
createAttributeGroup()
Creates a new instance of XsTAttributeGroup.
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().

Method Details

createAnyAttribute

public XsTWildcard createAnyAttribute()
Creates a new instance of XsTWildcard.

createAttribute

public XsTAttribute createAttribute()
Creates a new instance of XsTAttribute.

createAttributeGroup

public XsTAttributeGroupRef createAttributeGroup()
Creates a new instance of XsTAttributeGroup.

getAllAttributes

public Object[] getAllAttributes()

getAnyAttribute

public XsTWildcard getAnyAttribute()
Returns the instance created by createAnyAttribute(), or null, if the method wasn't called.

getAttributeGroups

public XsTAttributeGroupRef[] getAttributeGroups()
Returns an array of all attribute groups created by createAttributeGroup();

getAttributes

public XsTAttribute[] getAttributes()
Returns an array of all attributes created by createAttribute().