org.apache.ws.jaxme.generator.sg

Interface GroupSG

public interface GroupSG extends SGItem

Interface of a source generator for model groups.

Method Summary
ContextgetClassContext()

Returns the groups Context.

XsQNamegetName()
If the group is global: Returns the groups name.
ParticleSG[]getParticles()

Returns the groups particles.

booleanisAll()

Returns whether the groups compositor is "all".

booleanisChoice()

Returns whether the groups compositor is "choice".

booleanisGlobal()

Returns whether the group is global.

booleanisSequence()

Returns whether the groups compositor is "sequence".

ObjectnewParticleSG(XSParticle pParticle)

Creates a new instance of org.apache.ws.jaxme.generator.sg.ParticleSGChain generating the given particle.

Implementation note: The type org.apache.ws.jaxme.generator.sg.ParticleSGChain must not be exposed in the interface, because the interface class is used to generate this type.

Method Detail

getClassContext

public Context getClassContext()

Returns the groups Context.

getName

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

Throws: IllegalStateException The group isn't global.

See Also: isGlobal

getParticles

public ParticleSG[] getParticles()

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)

Creates a new instance of org.apache.ws.jaxme.generator.sg.ParticleSGChain generating the given particle.

Implementation note: The type org.apache.ws.jaxme.generator.sg.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 org.apache.ws.jaxme.generator.sg.ParticleSGChain interface.