org.apache.ws.jaxme.xs.xml.impl

Class XsGAttrDeclsImpl

Implemented Interfaces:
XsGAttrDecls

public class XsGAttrDeclsImpl
extends java.lang.Object
implements XsGAttrDecls

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

Constructor Summary

XsGAttrDeclsImpl(XsObject pOwner)

Method Summary

protected void
addChild(Object o)
XsTWildcard
createAnyAttribute()
XsTAttribute
createAttribute()
XsTAttributeGroupRef
createAttributeGroup()
Object[]
getAllAttributes()
XsTWildcard
getAnyAttribute()
XsTAttributeGroupRef[]
getAttributeGroups()
XsTAttribute[]
getAttributes()

Constructor Details

XsGAttrDeclsImpl

protected XsGAttrDeclsImpl(XsObject pOwner)

Method Details

addChild

protected void addChild(Object o)

createAnyAttribute

public XsTWildcard createAnyAttribute()
Specified by:
createAnyAttribute in interface XsGAttrDecls

createAttribute

public XsTAttribute createAttribute()
Specified by:
createAttribute in interface XsGAttrDecls

createAttributeGroup

public XsTAttributeGroupRef createAttributeGroup()
Specified by:
createAttributeGroup in interface XsGAttrDecls

getAllAttributes

public Object[] getAllAttributes()
Specified by:
getAllAttributes in interface XsGAttrDecls

getAnyAttribute

public XsTWildcard getAnyAttribute()
Specified by:
getAnyAttribute in interface XsGAttrDecls

getAttributeGroups

public XsTAttributeGroupRef[] getAttributeGroups()
Specified by:
getAttributeGroups in interface XsGAttrDecls

getAttributes

public XsTAttribute[] getAttributes()
Specified by:
getAttributes in interface XsGAttrDecls