|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sf.jaxme.generator.sg.impl.ParticleSGImpl
| Constructor Summary | |
ParticleSGImpl(ParticleSGChain o)
|
|
| Method Summary | |
void |
forAllNonNullValues(net.sf.jaxme.js.JavaMethod p0,
net.sf.jaxme.js.DirectAccessible p1,
SGlet p2)
Invokes the given SGlet for all non null values. |
GroupSG |
getGroupSG()
If the particle is a group, returns the particles GroupSG. |
ParticleSGChain |
getHeadOfChain()
|
Locator |
getLocator()
Returns the particles locator. |
int |
getMaxOccurs()
Returns the particles maxOccurs value; -1 indicated "unbounded". |
int |
getMinOccurs()
Returns the particles minOccurs value. |
ObjectSG |
getObjectSG()
If the particle is an element or wildcard, returns the particles ObjectSG. |
PropertySG |
getPropertySG()
Returns an instance of PropertySG. |
void |
init()
Initializes the ParticleSG. |
boolean |
isElement()
Returns whether the particle is an element. |
boolean |
isGroup()
Returns whether the pariticle is a group. |
boolean |
isMultiple()
Returns whether the particles multiplicity is 2 or greater. |
boolean |
isWildcard()
Returns whether the particle is a wildcard. |
java.lang.Object |
newPropertySGChain()
Creates a new instance of PropertySGChain. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ParticleSGImpl(ParticleSGChain o)
| Method Detail |
public void init()
throws SAXException
ParticleSGInitializes the ParticleSG.
init in interface ParticleSGSAXExceptionpublic Locator getLocator()
ParticleSGReturns the particles locator.
getLocator in interface ParticleSG
public void forAllNonNullValues(net.sf.jaxme.js.JavaMethod p0,
net.sf.jaxme.js.DirectAccessible p1,
SGlet p2)
throws SAXException
ParticleSGInvokes the given SGlet for all non null values.
forAllNonNullValues in interface ParticleSGSAXExceptionpublic java.lang.Object newPropertySGChain()
ParticleSGCreates a new instance of PropertySGChain.
newPropertySGChain in interface ParticleSGpublic PropertySG getPropertySG()
ParticleSGReturns an instance of PropertySG.
getPropertySG in interface ParticleSGpublic GroupSG getGroupSG()
ParticleSGIf the particle is a group, returns the particles GroupSG.
getGroupSG in interface ParticleSGParticleSG.isGroup()public boolean isGroup()
ParticleSGReturns whether the pariticle is a group. If so, you may use the
ParticleSG.getGroupSG() method.
isGroup in interface ParticleSGParticleSG.getGroupSG()public boolean isElement()
ParticleSGReturns whether the particle is an element. If so, you may use the
ParticleSG.getObjectSG() method.
isElement in interface ParticleSGParticleSG.getObjectSG()public boolean isWildcard()
ParticleSGReturns whether the particle is a wildcard. If so, you may use the
ParticleSG.getObjectSG() method.
isWildcard in interface ParticleSGParticleSG.getObjectSG()public ObjectSG getObjectSG()
ParticleSGIf the particle is an element or wildcard, returns the particles ObjectSG.
getObjectSG in interface ParticleSGParticleSG.isElement(),
ParticleSG.isWildcard()public int getMinOccurs()
ParticleSGReturns the particles minOccurs value.
getMinOccurs in interface ParticleSGParticleSG.getMaxOccurs()public int getMaxOccurs()
ParticleSGReturns the particles maxOccurs value; -1 indicated "unbounded".
getMaxOccurs in interface ParticleSGParticleSG.isMultiple(),
ParticleSG.getMinOccurs()public boolean isMultiple()
ParticleSGReturns whether the particles multiplicity is 2 or greater.
isMultiple in interface ParticleSGParticleSG.getMaxOccurs()public ParticleSGChain getHeadOfChain()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||