Package com.sun.xml.xsom
Interface XSParticle
-
- All Superinterfaces:
XSComponent,XSContentType
public interface XSParticle extends XSContentType
Particle schema component.- Author:
- Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
-
-
Field Summary
Fields Modifier and Type Field Description static intUNBOUNDED
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.math.BigIntegergetMaxOccurs()Gets the max occurs property.java.math.BigIntegergetMinOccurs()XSTermgetTerm()booleanisRepeated()True if the maxOccurs is neither 0 or 1.-
Methods inherited from interface com.sun.xml.xsom.XSComponent
apply, getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, visit
-
Methods inherited from interface com.sun.xml.xsom.XSContentType
apply, asEmpty, asParticle, asSimpleType, visit
-
-
-
-
Field Detail
-
UNBOUNDED
static final int UNBOUNDED
- See Also:
- Constant Field Values
-
-
Method Detail
-
getMinOccurs
java.math.BigInteger getMinOccurs()
-
getMaxOccurs
java.math.BigInteger getMaxOccurs()
Gets the max occurs property.- Returns:
UNBOUNDEDwill be returned if the value is "unbounded".
-
isRepeated
boolean isRepeated()
True if the maxOccurs is neither 0 or 1.
-
getTerm
XSTerm getTerm()
-
-