org.apache.ws.jaxme.xs.xml

Interface XsGAttrDecls

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
XsTWildcardcreateAnyAttribute()

Creates a new instance of XsTWildcard.

XsTAttributecreateAttribute()

Creates a new instance of XsTAttribute.

XsTAttributeGroupRefcreateAttributeGroup()

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.

XsTWildcardgetAnyAttribute()

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 Detail

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()

Returns all objects created by createAttribute, createAttributeGroup, or createAnyAttribute, in the order of the corresponding method calls.

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.