org.apache.ws.jaxme.generator.sg.impl
Class GroupSGImpl
java.lang.Object
org.apache.ws.jaxme.generator.sg.impl.GroupSGImpl
- GroupSG, SGItem
public class GroupSGImpl
extends java.lang.Object
getLocator
public Locator getLocator()
Returns the items location in the schema; useful for
error messages.
- getLocator in interface SGItem
getName
public XsQName getName()
If the group is global: Returns the groups name.
- getName in interface GroupSG
init
public void init()
throws SAXException
Initializes the item.
- init in interface SGItem
isAll
public boolean isAll()
Returns whether the groups compositor is "all".
- isAll in interface GroupSG
isChoice
public boolean isChoice()
Returns whether the groups compositor is "choice".
- isChoice in interface GroupSG
isGlobal
public boolean isGlobal()
Returns whether the group is global.
- isGlobal in interface GroupSG
isSequence
public boolean isSequence()
Returns whether the groups compositor is "sequence".
- isSequence in interface GroupSG
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.
- newParticleSG in interface GroupSG