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