|
|||||||||
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.ParticleSGImpl
public class 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
ParticleSG
Initializes the ParticleSG.
init
in interface ParticleSG
org.xml.sax.SAXException
public org.xml.sax.Locator getLocator()
ParticleSG
Returns the particles locator.
getLocator
in interface ParticleSG
public boolean isGroup()
ParticleSG
Returns whether the pariticle is a group. If so, you may use the
ParticleSG.getGroupSG()
method.
isGroup
in interface ParticleSG
ParticleSG.getGroupSG()
public boolean isElement()
ParticleSG
Returns whether the particle is an element. If so, you may use the
ParticleSG.getObjectSG()
method.
isElement
in interface ParticleSG
ParticleSG.getObjectSG()
public boolean isWildcard()
ParticleSG
Returns whether the particle is a wildcard. If so, you may use the
ParticleSG.getObjectSG()
method.
isWildcard
in interface ParticleSG
ParticleSG.getObjectSG()
public GroupSG getGroupSG()
ParticleSG
If the particle is a group, returns the particles GroupSG
.
getGroupSG
in interface ParticleSG
ParticleSG.isGroup()
public ObjectSG getObjectSG()
ParticleSG
If the particle is an element or wildcard, returns the particles ObjectSG
.
getObjectSG
in interface ParticleSG
ParticleSG.isElement()
,
ParticleSG.isWildcard()
public int getMinOccurs()
ParticleSG
Returns the particles minOccurs value.
getMinOccurs
in interface ParticleSG
ParticleSG.getMaxOccurs()
public int getMaxOccurs()
ParticleSG
Returns the particles maxOccurs value; -1 indicated "unbounded".
getMaxOccurs
in interface ParticleSG
ParticleSG.isMultiple()
,
ParticleSG.getMinOccurs()
public boolean isMultiple()
ParticleSG
Returns whether the particles multiplicity is 2 or greater.
isMultiple
in interface ParticleSG
ParticleSG.getMaxOccurs()
public java.lang.Object newPropertySGChain() throws org.xml.sax.SAXException
ParticleSG
Creates a new instance of PropertySGChain
.
newPropertySGChain
in interface ParticleSG
org.xml.sax.SAXException
public PropertySG getPropertySG() throws org.xml.sax.SAXException
ParticleSG
Returns an instance of PropertySG
.
getPropertySG
in interface ParticleSG
org.xml.sax.SAXException
public void forAllNonNullValues(JavaMethod pMethod, DirectAccessible pElement, SGlet pSGlet) throws org.xml.sax.SAXException
ParticleSG
Invokes the given SGlet
for all non null values.
forAllNonNullValues
in interface ParticleSG
org.xml.sax.SAXException
public ParticleSGChain getHeadOfChain()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |