|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Represents a Particle as defined by XML Schema. A particle is a component of a content model, consisting of a term and a permitted cardinality range. The term may be an element declaration, a wildcard, a sequence, a choice, or all.
| Method Summary | |
void |
compile(Schema schema,
UserComplexType subjectType)
Compile complex types |
int |
getMaxOccurs()
Returns the maximum number of occurrences that this CMParticle may appear |
int |
getMinOccurs()
Returns the minimum number of occurrences that this Particle must appear |
Term |
getTerm()
Returns the term contained by this particle |
boolean |
isEmptiable()
Determine if empty content is allowed |
| Method Detail |
public int getMaxOccurs()
public int getMinOccurs()
public Term getTerm()
public boolean isEmptiable()
public void compile(Schema schema,
UserComplexType subjectType)
throws SchemaException
schema - used for error reporting purposessubjectType - the complex type being compiled
SchemaException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||