|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.saxonica.schema.SchemaElement
|
+--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 class com.saxonica.schema.SchemaElement |
ANNOTATION, ANYTYPE, APPINFO, ATTRIBUTE, ATTRIBUTE_GROUP, COMPLEX_CONTENT, COMPLEX_TYPE, COMPOSITOR, DOCUMENTATION, ELEMENT, FACET, GROUP, IDENTITY_FIELD, IDENTITY_SELECTOR, KEY, KEYREF, LIST, REDEFINE, SCHEMA, SIMPLE_CONTENT, SIMPLE_TYPE, UNION, UNIQUE, UNKNOWN, WILDCARD_ATTRIBUTE, WILDCARD_ELEMENT |
| Constructor Summary | |
ChoiceCompositor()
|
|
| Method Summary | |
boolean |
isEmptiable()
Determine if empty content is allowed |
boolean |
validate(Schema schema)
Checks the validity of this Compositor definition. |
| Methods inherited from class com.saxonica.schema.Compositor |
addParticle, checkElements, compile, containsAll, fixup, getId, getLocalElementDeclaration, getStructureType, isEmpty, isVoidValidationContext, iterateParticles, lookForCycles, setId |
| Methods inherited from class com.saxonica.schema.AbstractParticle |
getMaxOccurs, getMinOccurs, getTerm, setMaxOccurs, setMinOccurs |
| Methods inherited from class com.saxonica.schema.SchemaElement |
getColumnNumber, getLineNumber, getPublicId, getSystemId, setLocator |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ChoiceCompositor()
| Method Detail |
public boolean isEmptiable()
public boolean validate(Schema schema)
throws javax.xml.transform.TransformerException
validate in interface SchemaComponentvalidate in class Compositorjavax.xml.transform.TransformerException - when the error listener decides an error is fatal
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||