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 {@link XsTWildcard}.

XsTAttributecreateAttribute()

Creates a new instance of {@link XsTAttribute}.

XsTAttributeGroupRefcreateAttributeGroup()

Creates a new instance of {@link XsTAttributeGroup}.

Object[]getAllAttributes()

Returns all objects created by {@link #createAttribute()}, {@link #createAttributeGroup()}, or {@link #createAnyAttribute()}, in the order of the corresponding method calls.

XsTWildcardgetAnyAttribute()

Returns the instance created by {@link #createAnyAttribute()}, or null, if the method wasn't called.

XsTAttributeGroupRef[]getAttributeGroups()

Returns an array of all attribute groups created by {@link #createAttributeGroup()};

XsTAttribute[]getAttributes()

Returns an array of all attributes created by {@link #createAttribute()}.

Method Detail

createAnyAttribute

public XsTWildcard createAnyAttribute()

Creates a new instance of {@link XsTWildcard}.

createAttribute

public XsTAttribute createAttribute()

Creates a new instance of {@link XsTAttribute}.

createAttributeGroup

public XsTAttributeGroupRef createAttributeGroup()

Creates a new instance of {@link XsTAttributeGroup}.

getAllAttributes

public Object[] getAllAttributes()

Returns all objects created by {@link #createAttribute()}, {@link #createAttributeGroup()}, or {@link #createAnyAttribute()}, in the order of the corresponding method calls.

getAnyAttribute

public XsTWildcard getAnyAttribute()

Returns the instance created by {@link #createAnyAttribute()}, or null, if the method wasn't called.

getAttributeGroups

public XsTAttributeGroupRef[] getAttributeGroups()

Returns an array of all attribute groups created by {@link #createAttributeGroup()};

getAttributes

public XsTAttribute[] getAttributes()

Returns an array of all attributes created by {@link #createAttribute()}.