org.apache.xerces.impl.xs
public class XSParticleDecl extends Object implements XSParticle
Version: $Id: XSParticleDecl.java,v 1.15 2004/10/06 15:14:55 mrglavas Exp $
| Field Summary | |
|---|---|
| int | fMaxOccurs |
| int | fMinOccurs |
| short | fType |
| XSTerm | fValue |
| static short | PARTICLE_ELEMENT |
| static short | PARTICLE_EMPTY |
| static short | PARTICLE_MODELGROUP |
| static short | PARTICLE_ONE_OR_MORE |
| static short | PARTICLE_WILDCARD |
| static short | PARTICLE_ZERO_OR_MORE |
| static short | PARTICLE_ZERO_OR_ONE |
| Method Summary | |
|---|---|
| boolean | emptiable()
3.9.6 Schema Component Constraint: Particle Emptiable
whether this particle is emptible |
| 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. |
| String | getName()
The name of this XSObject depending on the
XSObject type. |
| String | getNamespace()
The namespace URI of this node, or null if it is
unspecified. defines how a namespace URI is attached to schema
components. |
| XSNamespaceItem | getNamespaceItem() |
| XSTerm | getTerm()
{term} One of a model group, a wildcard, or an element declaration. |
| short | getType()
Get the type of the object, i.e ELEMENT_DECLARATION. |
| boolean | isEmpty() |
| XSParticleDecl | makeClone() |
| int | maxEffectiveTotalRange() |
| int | minEffectiveTotalRange()
3.8.6 Effective Total Range (all and sequence) and
Effective Total Range (choice)
The following methods are used to return min/max range for a particle.
|
| void | reset() |
| String | toString() |
name of this XSObject depending on the
XSObject type.null if it is
unspecified. defines how a namespace URI is attached to schema
components.See Also: org.apache.xerces.xs.XSObject#getNamespaceItem()