org.apache.ws.jaxme.generator.sg
Interface GroupSG
- SGItem
- GroupSGImpl
Interface of a source generator for model groups.
getClassContext
public Context getClassContext()
throws SAXException
getName
public XsQName getName()
If the group is global: Returns the groups name.
getParticles
public ParticleSG[] getParticles()
throws SAXException
Returns the groups particles.
isAll
public boolean isAll()
Returns whether the groups compositor is "all".
isChoice
public boolean isChoice()
Returns whether the groups compositor is "choice".
isGlobal
public boolean isGlobal()
Returns whether the group is global.
isSequence
public boolean isSequence()
Returns whether the groups compositor is "sequence".
newParticleSG
public Object newParticleSG(XSParticle pParticle)
throws 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.