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

Class XsTAttributeGroupImpl

Implemented Interfaces:
XsAGDefRef, XsGAttrDecls, XsObject, XsRedefinable, XsTAnnotated, XsTAttributeGroup, XsTOpenAttrs

public class XsTAttributeGroupImpl
extends XsTAnnotatedImpl
implements XsTAttributeGroup

Implementation of an xs:attributeGroup, with the following specification:
  <xs:complexType name="attributeGroup" abstract="true">
    <xs:complexContent>
      <xs:extension base="xs:annotated">
        <xs:group ref="xs:attrDecls"/>
        <xs:attributeGroup ref="xs:defRef"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
 
Author:
Jochen Wiedmann

Constructor Summary

XsTAttributeGroupImpl(XsObject pParent)

Method Summary

XsTWildcard
createAnyAttribute()
XsTAttribute
createAttribute()
XsTAttributeGroupRef
createAttributeGroup()
Object[]
getAllAttributes()
XsTWildcard
getAnyAttribute()
XsTAttributeGroupRef[]
getAttributeGroups()
XsTAttribute[]
getAttributes()
XsNCName
getName()
XsQName
getRef()
void
setName(XsNCName pName)
void
setRef(String pRef)
void
setRef(XsQName pRef)
void
validate()

Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsTAnnotatedImpl

createAnnotation, getAnnotation, getId, setId

Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsTOpenAttrsImpl

getOpenAttributes, setAttribute

Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsObjectImpl

asXsQName, asXsQName, getContext, getLocator, getNamespaceSupport, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, isValidated, validate

Constructor Details

XsTAttributeGroupImpl

protected XsTAttributeGroupImpl(XsObject pParent)

Method Details

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

getName

public XsNCName getName()
Specified by:
getName in interface XsAGDefRef

getRef

public XsQName getRef()
Specified by:
getRef in interface XsAGDefRef

setName

public void setName(XsNCName pName)
Specified by:
setName in interface XsAGDefRef

setRef

public void setRef(String pRef)
            throws SAXException

setRef

public void setRef(XsQName pRef)
Specified by:
setRef in interface XsAGDefRef

validate

public void validate()
            throws SAXException
Specified by:
validate in interface XsObject
validate in interface XsAGDefRef
Overrides:
validate in interface XsObjectImpl