|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ws.jaxme.generator.sg.impl.ParticleSGImpl
| Constructor Summary | |
ParticleSGImpl(ParticleSGChain o)
|
|
| Method Summary | |
void |
forAllNonNullValues(JavaMethod pMethod,
DirectAccessible pElement,
SGlet pSGlet)
Invokes the given SGlet for all non null values. |
GroupSG |
getGroupSG()
If the particle is a group, returns the particles GroupSG. |
ParticleSGChain |
getHeadOfChain()
|
org.xml.sax.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 org.xml.sax.SAXException
ParticleSGInitializes the ParticleSG.
init in interface ParticleSGorg.xml.sax.SAXExceptionpublic org.xml.sax.Locator getLocator()
ParticleSGReturns the particles locator.
getLocator in interface ParticleSGpublic 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 GroupSG getGroupSG()
ParticleSGIf the particle is a group, returns the particles GroupSG.
getGroupSG in interface ParticleSGParticleSG.isGroup()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 java.lang.Object newPropertySGChain()
throws org.xml.sax.SAXException
ParticleSGCreates a new instance of PropertySGChain.
newPropertySGChain in interface ParticleSGorg.xml.sax.SAXException
public PropertySG getPropertySG()
throws org.xml.sax.SAXException
ParticleSGReturns an instance of PropertySG.
getPropertySG in interface ParticleSGorg.xml.sax.SAXException
public void forAllNonNullValues(JavaMethod pMethod,
DirectAccessible pElement,
SGlet pSGlet)
throws org.xml.sax.SAXException
ParticleSGInvokes the given SGlet for all non null values.
forAllNonNullValues in interface ParticleSGorg.xml.sax.SAXExceptionpublic ParticleSGChain getHeadOfChain()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||