org.apache.ws.jaxme.generator.sg

Interface ParticleSG

Known Implementing Classes:
ParticleSGImpl

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.
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.
Object
newPropertySGChain()
Creates a new instance of PropertySGChain.

Method Details

forAllNonNullValues

public void forAllNonNullValues(JavaMethod pMethod,
                                DirectAccessible pElement,
                                SGlet pSGlet)
            throws SAXException
Invokes the given SGlet for all non null values.

getGroupSG

public GroupSG getGroupSG()
If the particle is a group, returns the particles GroupSG.
See Also:
isGroup()

getLocator

public Locator getLocator()
Returns the particles locator.

getMaxOccurs

public int getMaxOccurs()
Returns the particles maxOccurs value; -1 indicated "unbounded".

getMinOccurs

public int getMinOccurs()
Returns the particles minOccurs value.

getObjectSG

public ObjectSG getObjectSG()
If the particle is an element or wildcard, returns the particles ObjectSG.

getPropertySG

public PropertySG getPropertySG()
            throws SAXException
Returns an instance of PropertySG.

init

public void init()
            throws SAXException
Initializes the ParticleSG.

isElement

public boolean isElement()
See Also:
getObjectSG()

isGroup

public boolean isGroup()
See Also:
getGroupSG()

isMultiple

public boolean isMultiple()
Returns whether the particles multiplicity is 2 or greater.

isWildcard

public boolean isWildcard()
See Also:
getObjectSG()

newPropertySGChain

public Object newPropertySGChain()
            throws SAXException