org.apache.ws.jaxme.generator.sg

Interface GroupSG

All Superinterfaces:
SGItem
Known Implementing Classes:
GroupSGImpl

public interface GroupSG
extends SGItem

Interface of a source generator for model groups.

Method Summary

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".
Object
newParticleSG(XSParticle pParticle)
Creates a new instance of ParticleSGChain generating the given particle.

Methods inherited from interface org.apache.ws.jaxme.generator.sg.SGItem

getFactory, getLocator, getSchema, init

Method Details

getClassContext

public Context getClassContext()
            throws SAXException
Returns the groups Context.

getName

public XsQName getName()
If the group is global: Returns the groups name.
See Also:
isGlobal()

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.