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()
GroupSG
Returns whether the group is global.
public XsQName getName()
GroupSG
getName
in interface GroupSG
GroupSG.isGlobal()
public boolean isAll()
GroupSG
Returns whether the groups compositor is "all".
public boolean isChoice()
GroupSG
Returns whether the groups compositor is "choice".
public boolean isSequence()
GroupSG
Returns whether the groups compositor is "sequence".
isSequence
in interface GroupSG
public Context getClassContext() throws org.xml.sax.SAXException
GroupSG
Returns the groups Context
.
getClassContext
in interface GroupSG
org.xml.sax.SAXException
public ParticleSG[] getParticles() throws org.xml.sax.SAXException
GroupSG
Returns the groups particles.
getParticles
in interface GroupSG
org.xml.sax.SAXException
public java.lang.Object newParticleSG(XSParticle pParticle) throws org.xml.sax.SAXException
GroupSG
Creates 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 GroupSG
org.xml.sax.SAXException
public SGFactory getFactory()
SGItem
Returns the factory that created this item.
getFactory
in interface SGItem
public SchemaSG getSchema()
SGItem
Returns the items schema.
public org.xml.sax.Locator getLocator()
SGItem
Returns the items location in the schema; useful for error messages.
getLocator
in interface SGItem
public void init() throws org.xml.sax.SAXException
SGItem
Initializes the item.
public GroupSGChain getHeadOfChain()