All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----org.xmlmiddleware.schemas.dtds.Particle
This is the base class for Group and Reference.
public static final int TYPE_UNKNOWN
public static final int TYPE_ELEMENTTYPEREF
public static final int TYPE_CHOICE
public static final int TYPE_SEQUENCE
public int type
public boolean isRequired
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.
public boolean isRepeatable
By default, this is false.
public Particle()
All Packages Class Hierarchy This Package Previous Next Index