org.apache.ws.jaxme.xs.impl
Class XSAttributeGroupImpl

java.lang.Object
  extended by org.apache.ws.jaxme.xs.impl.XSObjectImpl
      extended by org.apache.ws.jaxme.xs.impl.XSOpenAttrsImpl
          extended by org.apache.ws.jaxme.xs.impl.XSAttributeGroupImpl
All Implemented Interfaces:
XSAttributeGroup, XSObject, XSOpenAttrs

public class XSAttributeGroupImpl
extends XSOpenAttrsImpl
implements XSAttributeGroup

Author:
Jochen Wiedmann

Constructor Summary
protected XSAttributeGroupImpl(XSObject pParent, XsTAttributeGroup pBaseGroup)
           
 
Method Summary
 XSAttributable[] getAttributes()
          Returns the groups attributes.
protected static XSAttributable[] getAttributes(XSObjectImpl pObject, XsGAttrDecls pAttrDecls)
           
 XsQName getName()
          Returns the attribute group is global: Returns the attribute groups name.
protected  XsTAttributeGroup getXsTAttributeGroup()
           
protected  boolean isReference()
           
 void validate()
          Validates the objects internal state.
 
Methods inherited from class org.apache.ws.jaxme.xs.impl.XSOpenAttrsImpl
getOpenAttributes
 
Methods inherited from class org.apache.ws.jaxme.xs.impl.XSObjectImpl
getLocator, getParentObject, getXsObject, getXSSchema, isTopLevelObject, validateAllIn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.ws.jaxme.xs.XSOpenAttrs
getOpenAttributes
 
Methods inherited from interface org.apache.ws.jaxme.xs.XSObject
getLocator, getParentObject, getXSSchema, isTopLevelObject
 

Constructor Detail

XSAttributeGroupImpl

protected XSAttributeGroupImpl(XSObject pParent,
                               XsTAttributeGroup pBaseGroup)
                        throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException
Method Detail

getXsTAttributeGroup

protected XsTAttributeGroup getXsTAttributeGroup()

isReference

protected boolean isReference()

getName

public XsQName getName()
Description copied from interface: XSAttributeGroup

Returns the attribute group is global: Returns the attribute groups name. Otherwise returns null.

Specified by:
getName in interface XSAttributeGroup

validate

public void validate()
              throws org.xml.sax.SAXException
Description copied from interface: XSObject

Validates the objects internal state.

Specified by:
validate in interface XSObject
Overrides:
validate in class XSObjectImpl
Throws:
org.xml.sax.SAXException

getAttributes

public XSAttributable[] getAttributes()
Description copied from interface: XSAttributeGroup

Returns the groups attributes.

Specified by:
getAttributes in interface XSAttributeGroup

getAttributes

protected static XSAttributable[] getAttributes(XSObjectImpl pObject,
                                                XsGAttrDecls pAttrDecls)
                                         throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException