org.apache.ws.jaxme.xs
public interface XSParticle
Interface of a model groups particle.
Nested Class Summary | |
---|---|
static class | XSParticle.Type |
Field Summary | |
---|---|
XSParticle.Type | ELEMENT The particle type "element". |
XSParticle.Type | GROUP The particle type "group". |
XSParticle.Type | WILDCARD The particle type "wildcard". |
Method Summary | |
---|---|
XSElement | getElement() If the particle type is element: Returns the element. |
XSGroup | getGroup() If the particle type is group: Returns the group. |
Locator | getLocator() Returns the particles Locator. |
int | getMaxOccurs() Returns the particles maxOccurs value or -1 for unbounded. |
int | getMinOccurs() Returns the particles minOccurs value. |
XSParticle.Type | getType() Returns the particle type. |
XSAny | getWildcard() If the particle type is wildcard: Returns the wildcard. |
boolean | isElement() Shortcut for |
boolean | isGroup() Shortcut for |
boolean | isWildcard() Shortcut for |
The particle type "element".
The particle type "group".
The particle type "wildcard".
If the particle type is element: Returns the element.
Throws: IllegalStateException {@link #isElement()} returns false
If the particle type is group: Returns the group.
Throws: IllegalStateException {@link #isGroup()} returns false
Returns the particles Locator.
Returns the particles maxOccurs value or -1 for unbounded.
Returns the particles minOccurs value.
Returns the particle type.
If the particle type is wildcard: Returns the wildcard.
Throws: IllegalStateException {@link #isWildcard()} returns false