All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Class de.tudarmstadt.ito.schemas.dtd.Particle
java.lang.Object
   |
   +----de.tudarmstadt.ito.schemas.dtd.Particle
  -  public class Particle
  
-  extends Object
  
Class representing a content particle in a content model. This is
 the base class for Group and Reference.
  -  Version:
  
 -  1.01
  
 -  Author:
  
 -  Ronald Bourret, Technical University of Darmstadt
 
  
  -  
	isRepeatable
   -  Whether the particle may be repeated.
  
 -  
	isRequired
   -   Whether the particle is required.
  
 -  
	PARTICLE_CHOICE
   -  Content particle is a choice group (Group).
  
 -  
	PARTICLE_ELEMENTTYPEREF
   -  Content particle is a reference to an element type (Reference).
  
 -  
	PARTICLE_SEQUENCE
   -  Content particle is a sequence group (Group).
  
 -  
	PARTICLE_UNKNOWN
   -  Content particle type unknown.
  
 -  
	type
   -  Content particle type.
 
  
  -  
	Particle()
   -  Construct a new Particle.
 
  
PARTICLE_UNKNOWN
 public static final int PARTICLE_UNKNOWN
  -  Content particle type unknown.
 
PARTICLE_ELEMENTTYPEREF
 public static final int PARTICLE_ELEMENTTYPEREF
  -  Content particle is a reference to an element type (Reference).
 
PARTICLE_CHOICE
 public static final int PARTICLE_CHOICE
  -  Content particle is a choice group (Group).
 
PARTICLE_SEQUENCE
 public static final int PARTICLE_SEQUENCE
  -  Content particle is a sequence group (Group).
 
type
 public int type
  -  Content particle type.
 
isRequired
 public boolean isRequired
  -  Whether the particle is required. By default, this is true. The
 following table shows how isRequired and isRepeatable map to the
 *, +, and ? qualifiers:
 
                         isRequired
    isRepeatable  |   true    |    false
    --------------|-----------|--------------
            true  |     +     |      *
    --------------|-----------|--------------
           false  |     --    |      ?
 
 Note that the defaults of isRequired and isRepeatable map to
 the required/not repeatable (i.e. no operator) case.
 
isRepeatable
 public boolean isRepeatable
  -  Whether the particle may be repeated. By default, this is false.
 
  
Particle
 public Particle()
  -  Construct a new Particle.
 
All Packages  Class Hierarchy  This Package  Previous  Next  Index