org.apache.xerces.impl.xs
Class XSParticleDecl

java.lang.Object
  |
  +--org.apache.xerces.impl.xs.XSParticleDecl

public class XSParticleDecl
extends java.lang.Object

Store schema particle declaration.

Version:
$Id: XSParticleDecl.java,v 1.3 2002/01/29 01:15:14 lehors Exp $
Author:
Sandy Gao, IBM

Field Summary
 int fMaxOccurs
           
 int fMinOccurs
           
 java.lang.Object fOtherValue
           
 short fType
           
 java.lang.Object fValue
           
static short PARTICLE_ALL
           
static short PARTICLE_CHOICE
           
static short PARTICLE_ELEMENT
           
static short PARTICLE_EMPTY
           
static short PARTICLE_ONE_OR_MORE
           
static short PARTICLE_SEQUENCE
           
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
 boolean isEmpty()
           
 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.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PARTICLE_EMPTY

public static final short PARTICLE_EMPTY

PARTICLE_ELEMENT

public static final short PARTICLE_ELEMENT

PARTICLE_WILDCARD

public static final short PARTICLE_WILDCARD

PARTICLE_CHOICE

public static final short PARTICLE_CHOICE

PARTICLE_SEQUENCE

public static final short PARTICLE_SEQUENCE

PARTICLE_ALL

public static final short PARTICLE_ALL

PARTICLE_ZERO_OR_ONE

public static final short PARTICLE_ZERO_OR_ONE

PARTICLE_ZERO_OR_MORE

public static final short PARTICLE_ZERO_OR_MORE

PARTICLE_ONE_OR_MORE

public static final short PARTICLE_ONE_OR_MORE

fType

public short fType

fValue

public java.lang.Object fValue

fOtherValue

public java.lang.Object fOtherValue

fMinOccurs

public int fMinOccurs

fMaxOccurs

public int fMaxOccurs
Constructor Detail

XSParticleDecl

public XSParticleDecl()
Method Detail

emptiable

public boolean emptiable()
3.9.6 Schema Component Constraint: Particle Emptiable whether this particle is emptible

isEmpty

public boolean isEmpty()

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.

maxEffectiveTotalRange

public int maxEffectiveTotalRange()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 1999-2002 Apache XML Project. All Rights Reserved.