|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.saxonica.schema.SchemaStructure
com.saxonica.schema.AbstractParticle
com.saxonica.schema.Compositor
com.saxonica.schema.ChoiceCompositor
A ChoiceCompositor represents an xs:choice element in the schema
Field Summary |
Fields inherited from class com.saxonica.schema.Compositor |
contentModel |
Fields inherited from class com.saxonica.schema.AbstractParticle |
UNBOUNDED |
Fields inherited from interface net.sf.saxon.type.SchemaComponent |
FIXED_UP, INCOMPLETE, INVALID, UNVALIDATED, VALIDATED, VALIDATING |
Constructor Summary | |
ChoiceCompositor()
|
Method Summary | |
boolean |
isEmptiable()
Determine if empty content is allowed |
void |
rewrite()
Rewrite a particle prior to compiling it |
boolean |
validate(PreparedSchema schema)
Checks the validity of this Compositor definition. |
Methods inherited from class com.saxonica.schema.Compositor |
addParticle, checkElements, compile, containsAll, fixup, getElementParticleCardinality, getElementParticleType, getTerm, isEmpty, iterateParticles, lookForCycles |
Methods inherited from class com.saxonica.schema.AbstractParticle |
getMaxOccurs, getMinOccurs, setMaxOccurs, setMinOccurs |
Methods inherited from class com.saxonica.schema.SchemaStructure |
getColumnNumber, getFixupStatus, getLineNumber, getPublicId, getSchema, getSystemId, getValidationStatus, setFixupStatus, setLineNumber, setLocator, setSchema, setSystemId, setValidationStatus |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.saxon.type.SchemaComponent |
getValidationStatus |
Constructor Detail |
public ChoiceCompositor()
Method Detail |
public boolean isEmptiable() throws UnresolvedReferenceException
UnresolvedReferenceException
public void rewrite()
rewrite
in interface Particle
rewrite
in class Compositor
public boolean validate(PreparedSchema schema) throws SchemaException, ValidationException
validate
in interface UserSchemaComponent
validate
in class Compositor
SchemaException
- when the error listener decides an error is fatal
ValidationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |