| Constructor and Description |
|---|
GroupSGImpl(GroupSGChain o) |
| Modifier and Type | Method and Description |
|---|---|
Context |
getClassContext()
Returns the groups
Context. |
SGFactory |
getFactory()
Returns the factory that created this item.
|
GroupSGChain |
getHeadOfChain() |
org.xml.sax.Locator |
getLocator()
Returns the items location in the schema; useful for
error messages.
|
XsQName |
getName()
If the group is global: Returns the groups name.
|
ParticleSG[] |
getParticles()
Returns the groups particles.
|
SchemaSG |
getSchema()
Returns the items schema.
|
void |
init()
Initializes the item.
|
boolean |
isAll()
Returns whether the groups compositor is "all".
|
boolean |
isChoice()
Returns whether the groups compositor is "choice".
|
boolean |
isGlobal()
Returns whether the group is global.
|
boolean |
isSequence()
Returns whether the groups compositor is "sequence".
|
java.lang.Object |
newParticleSG(XSParticle pParticle)
Creates a new instance of
ParticleSGChain generating the
given particle. |
public GroupSGImpl(GroupSGChain o)
public boolean isGlobal()
GroupSGReturns whether the group is global.
public XsQName getName()
GroupSGgetName in interface GroupSGGroupSG.isGlobal()public boolean isAll()
GroupSGReturns whether the groups compositor is "all".
public boolean isChoice()
GroupSGReturns whether the groups compositor is "choice".
public boolean isSequence()
GroupSGReturns whether the groups compositor is "sequence".
isSequence in interface GroupSGpublic Context getClassContext() throws org.xml.sax.SAXException
GroupSGReturns the groups Context.
getClassContext in interface GroupSGorg.xml.sax.SAXExceptionpublic ParticleSG[] getParticles() throws org.xml.sax.SAXException
GroupSGReturns the groups particles.
getParticles in interface GroupSGorg.xml.sax.SAXExceptionpublic java.lang.Object newParticleSG(XSParticle pParticle) throws org.xml.sax.SAXException
GroupSGCreates a new instance of
ParticleSGChain generating the
given particle.
Implementation note: The type
ParticleSGChain
must not be exposed in the interface, because the interface
class is used to generate this type. In other words, this
interface must be compilable without the
ParticleSGChain
interface.
newParticleSG in interface GroupSGorg.xml.sax.SAXExceptionpublic SGFactory getFactory()
SGItemReturns the factory that created this item.
getFactory in interface SGItempublic SchemaSG getSchema()
SGItemReturns the items schema.
public org.xml.sax.Locator getLocator()
SGItemReturns the items location in the schema; useful for error messages.
getLocator in interface SGItempublic void init()
throws org.xml.sax.SAXException
SGItemInitializes the item.
public GroupSGChain getHeadOfChain()