|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xerces.impl.xs.XSParticleDecl
public class XSParticleDecl
Store schema particle declaration.
Field Summary | |
---|---|
XSObjectList |
fAnnotations
|
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
|
Constructor Summary | |
---|---|
XSParticleDecl()
|
Method Summary | |
---|---|
boolean |
emptiable()
3.9.6 Schema Component Constraint: Particle Emptiable whether this particle is emptible |
XSObjectList |
getAnnotations()
Optional. |
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. |
java.lang.String |
getName()
The name of this XSObject depending on the
XSObject type. |
java.lang.String |
getNamespace()
The namespace URI of this node, or null if it is
unspecified. |
XSNamespaceItem |
getNamespaceItem()
A namespace schema information item corresponding to the target namespace of the component, if it is globally declared; or null otherwise. |
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()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final short PARTICLE_EMPTY
public static final short PARTICLE_ELEMENT
public static final short PARTICLE_WILDCARD
public static final short PARTICLE_MODELGROUP
public static final short PARTICLE_ZERO_OR_MORE
public static final short PARTICLE_ZERO_OR_ONE
public static final short PARTICLE_ONE_OR_MORE
public short fType
public XSTerm fValue
public int fMinOccurs
public int fMaxOccurs
public XSObjectList fAnnotations
Constructor Detail |
---|
public XSParticleDecl()
Method Detail |
---|
public XSParticleDecl makeClone()
public boolean emptiable()
public boolean isEmpty()
public int minEffectiveTotalRange()
public int maxEffectiveTotalRange()
public java.lang.String toString()
toString
in class java.lang.Object
public void reset()
public short getType()
getType
in interface XSObject
public java.lang.String getName()
name
of this XSObject
depending on the
XSObject
type.
getName
in interface XSObject
public java.lang.String getNamespace()
null
if it is
unspecified. defines how a namespace URI is attached to schema
components.
getNamespace
in interface XSObject
public int getMinOccurs()
getMinOccurs
in interface XSParticle
public boolean getMaxOccursUnbounded()
getMaxOccursUnbounded
in interface XSParticle
public int getMaxOccurs()
getMaxOccurs
in interface XSParticle
public XSTerm getTerm()
getTerm
in interface XSParticle
public XSNamespaceItem getNamespaceItem()
XSObject
null
otherwise.
getNamespaceItem
in interface XSObject
XSObject.getNamespaceItem()
public XSObjectList getAnnotations()
getAnnotations
in interface XSParticle
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |