org.apache.xerces.xs
Interface XSParticle
- All Superinterfaces:
- XSObject
- public interface XSParticle
- extends XSObject
This interface represents the Particle schema component.
Method Summary |
int |
getMaxOccurs()
[max occurs]: determines the maximum number of terms that can occur. |
boolean |
getMaxOccursUnbounded()
[max occurs]: whether the maxOccurs value is unbounded. |
int |
getMinOccurs()
[min occurs]: determines the minimum number of terms that can occur. |
XSTerm |
getTerm()
[term]: one of a model group, a wildcard, or an element declaration. |
getMinOccurs
public int getMinOccurs()
- [min occurs]: determines the minimum number of terms that can occur.
getMaxOccurs
public int getMaxOccurs()
- [max occurs]: determines the maximum number of terms that can occur.
To query for the value of unbounded use
maxOccursUnbounded
. When the value of
maxOccursUnbounded
is true
, the value of
maxOccurs
is unspecified.
getMaxOccursUnbounded
public boolean getMaxOccursUnbounded()
- [max occurs]: whether the maxOccurs value is unbounded.
getTerm
public XSTerm getTerm()
- [term]: one of a model group, a wildcard, or an element declaration.
Copyright © 1999-2005 Apache XML Project. All Rights Reserved.