net.sf.jaxme.xs.impl
Class XSAttributeGroupImpl

java.lang.Object
  extended bynet.sf.jaxme.xs.impl.XSObjectImpl
      extended bynet.sf.jaxme.xs.impl.XSAttributeGroupImpl
All Implemented Interfaces:
XSAttributeGroup, XSObject

public class XSAttributeGroupImpl
extends XSObjectImpl
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 net.sf.jaxme.xs.impl.XSObjectImpl
getLocator, getParentObject, getXsObject, getXSSchema, isTopLevelObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.jaxme.xs.XSObject
getLocator, getParentObject, getXSSchema, isTopLevelObject
 

Constructor Detail

XSAttributeGroupImpl

protected XSAttributeGroupImpl(XSObject pParent,
                               XsTAttributeGroup pBaseGroup)
                        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