|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.ws.jaxme.generator.sg.impl.GroupSGImpl
public class GroupSGImpl
Constructor Summary | |
---|---|
GroupSGImpl(GroupSGChain o)
|
Method Summary | |
---|---|
Context |
getClassContext()
Returns the groups Context . |
SGFactory |
getFactory()
Returns the factory that created this item. |
GroupSGChain |
getHeadOfChain()
|
org.xml.sax.Locator |
getLocator()
Returns the items location in the schema; useful for error messages. |
XsQName |
getName()
If the group is global: Returns the groups name. |
ParticleSG[] |
getParticles()
Returns the groups particles. |
SchemaSG |
getSchema()
Returns the items schema. |
void |
init()
Initializes the item. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GroupSGImpl(GroupSGChain o)
Method Detail |
---|
public boolean isGlobal()
GroupSG
Returns whether the group is global.
isGlobal
in interface GroupSG
public XsQName getName()
GroupSG
getName
in interface GroupSG
GroupSG.isGlobal()
public boolean isAll()
GroupSG
Returns whether the groups compositor is "all".
isAll
in interface GroupSG
public boolean isChoice()
GroupSG
Returns whether the groups compositor is "choice".
isChoice
in interface GroupSG
public boolean isSequence()
GroupSG
Returns whether the groups compositor is "sequence".
isSequence
in interface GroupSG
public Context getClassContext() throws org.xml.sax.SAXException
GroupSG
Returns the groups Context
.
getClassContext
in interface GroupSG
org.xml.sax.SAXException
public ParticleSG[] getParticles() throws org.xml.sax.SAXException
GroupSG
Returns the groups particles.
getParticles
in interface GroupSG
org.xml.sax.SAXException
public java.lang.Object newParticleSG(XSParticle pParticle) throws org.xml.sax.SAXException
GroupSG
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
org.xml.sax.SAXException
public SGFactory getFactory()
SGItem
Returns the factory that created this item.
getFactory
in interface SGItem
public SchemaSG getSchema()
SGItem
Returns the items schema.
getSchema
in interface SGItem
public org.xml.sax.Locator getLocator()
SGItem
Returns the items location in the schema; useful for error messages.
getLocator
in interface SGItem
public void init() throws org.xml.sax.SAXException
SGItem
Initializes the item.
init
in interface SGItem
org.xml.sax.SAXException
public GroupSGChain getHeadOfChain()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |