org.apache.ws.jaxme.generator.sg
Interface ParticleSG
- ParticleSGImpl
public interface ParticleSG
Interface of a particle.
getGroupSG
public GroupSG getGroupSG()
If the particle is a group, returns the particles
GroupSG
.
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
init
public void init()
throws SAXException
Initializes the ParticleSG.
isElement
public boolean isElement()
Returns whether the particle is an element. If so, you may use the
getObjectSG()
method.
isGroup
public boolean isGroup()
Returns whether the pariticle is a group. If so, you may use the
getGroupSG()
method.
isMultiple
public boolean isMultiple()
Returns whether the particles multiplicity is 2 or greater.
isWildcard
public boolean isWildcard()
Returns whether the particle is a wildcard. If so, you may use the
getObjectSG()
method.
newPropertySGChain
public Object newPropertySGChain()
throws SAXException