public interface GroupSG extends SGItem
Interface of a source generator for model groups.
Modifier and Type | Method and Description |
---|---|
Context |
getClassContext()
Returns the groups
Context . |
XsQName |
getName()
If the group is global: Returns the groups name.
|
ParticleSG[] |
getParticles()
Returns the groups particles.
|
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. |
getFactory, getLocator, getSchema, init
boolean isGlobal()
Returns whether the group is global.
XsQName getName()
java.lang.IllegalStateException
- The group isn't global.isGlobal()
boolean isAll()
Returns whether the groups compositor is "all".
boolean isChoice()
Returns whether the groups compositor is "choice".
boolean isSequence()
Returns whether the groups compositor is "sequence".
Context getClassContext() throws org.xml.sax.SAXException
Returns the groups Context
.
org.xml.sax.SAXException
ParticleSG[] getParticles() throws org.xml.sax.SAXException
Returns the groups particles.
org.xml.sax.SAXException
java.lang.Object newParticleSG(XSParticle pParticle) throws org.xml.sax.SAXException
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.
org.xml.sax.SAXException