org.apache.xerces.impl.xs
Class XSParticleDecl
java.lang.Object
org.apache.xerces.impl.xs.XSParticleDecl
- org.apache.xerces.xs.XSParticle
public class XSParticleDecl
extends java.lang.Object
implements org.apache.xerces.xs.XSParticle
Store schema particle declaration.
$Id: XSParticleDecl.java 388853 2006-03-25 23:05:56Z mrglavas $
boolean | emptiable() - 3.9.6 Schema Component Constraint: Particle Emptiable
whether this particle is emptible
|
org.apache.xerces.xs.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.
|
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.
|
org.apache.xerces.xs.XSNamespaceItem | getNamespaceItem()
|
org.apache.xerces.xs.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()
|
PARTICLE_ELEMENT
public static final short PARTICLE_ELEMENT
PARTICLE_EMPTY
public static final short PARTICLE_EMPTY
PARTICLE_MODELGROUP
public static final short PARTICLE_MODELGROUP
PARTICLE_ONE_OR_MORE
public static final short PARTICLE_ONE_OR_MORE
PARTICLE_WILDCARD
public static final short PARTICLE_WILDCARD
PARTICLE_ZERO_OR_MORE
public static final short PARTICLE_ZERO_OR_MORE
PARTICLE_ZERO_OR_ONE
public static final short PARTICLE_ZERO_OR_ONE
fAnnotations
public org.apache.xerces.xs.XSObjectList fAnnotations
fMaxOccurs
public int fMaxOccurs
fMinOccurs
public int fMinOccurs
fValue
public org.apache.xerces.xs.XSTerm fValue
emptiable
public boolean emptiable()
3.9.6 Schema Component Constraint: Particle Emptiable
whether this particle is emptible
getAnnotations
public org.apache.xerces.xs.XSObjectList getAnnotations()
Optional. Annotations.
- getAnnotations in interface org.apache.xerces.xs.XSParticle
getMaxOccurs
public int getMaxOccurs()
{max occurs} determines the maximum number of terms that can occur.
- getMaxOccurs in interface org.apache.xerces.xs.XSParticle
getMaxOccursUnbounded
public boolean getMaxOccursUnbounded()
{max occurs} whether the maxOccurs value is unbounded.
- getMaxOccursUnbounded in interface org.apache.xerces.xs.XSParticle
getMinOccurs
public int getMinOccurs()
{min occurs} determines the minimum number of terms that can occur.
- getMinOccurs in interface org.apache.xerces.xs.XSParticle
getName
public String getName()
The name
of this XSObject
depending on the
XSObject
type.
- getName in interface org.apache.xerces.xs.XSObject
getNamespace
public String getNamespace()
The namespace URI of this node, or null
if it is
unspecified. defines how a namespace URI is attached to schema
components.
- getNamespace in interface org.apache.xerces.xs.XSObject
getNamespaceItem
public org.apache.xerces.xs.XSNamespaceItem getNamespaceItem()
- getNamespaceItem in interface org.apache.xerces.xs.XSObject
org.apache.xerces.xs.XSObject.getNamespaceItem()
getTerm
public org.apache.xerces.xs.XSTerm getTerm()
{term} One of a model group, a wildcard, or an element declaration.
- getTerm in interface org.apache.xerces.xs.XSParticle
getType
public short getType()
Get the type of the object, i.e ELEMENT_DECLARATION.
- getType in interface org.apache.xerces.xs.XSObject
isEmpty
public boolean isEmpty()
maxEffectiveTotalRange
public int maxEffectiveTotalRange()
minEffectiveTotalRange
public 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.
They are not exactly the same as it's described in the spec, but all the
values from the spec are retrievable by these methods.
toString
public String toString()
Copyright B) 1999-2006 The Apache Software Foundation. All Rights Reserved.