|
|||||||
| 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.ModelGroup
com.saxonica.schema.SequenceModelGroup
public class SequenceModelGroup
A SequenceCompositor represents an xs:sequence element in the schema
| Field Summary |
|---|
| Fields inherited from class com.saxonica.schema.ModelGroup |
|---|
contentModel |
| Fields inherited from interface net.sf.saxon.type.SchemaComponent |
|---|
FIXED_UP, INCOMPLETE, INVALID, UNVALIDATED, VALIDATED, VALIDATING |
| Constructor Summary | |
|---|---|
SequenceModelGroup()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getCompositorName()
Get the name of this compositor |
boolean |
isEmptiable()
Determine if empty content is allowed |
boolean |
isPointless(ModelGroup container)
Test whether the compositor is pointless, as described in XML Schema Part 1 Schema Component Constraint: Particle Valid (Restriction) |
boolean |
validate(SchemaCompiler compiler)
Checks the validity of this Compositor definition. |
| Methods inherited from class com.saxonica.schema.ModelGroup |
|---|
addParticle, checkElements, compile, containsAll, fixup, gatherAllPermittedElements, getContentModelSize, getElementParticleCardinality, getElementParticleType, getListOfParticles, getSimplifiedContentModel, getTerm, isEmpty, iterateParticles, lookForCycles, markVulnerableSubParticles, serialize, setContentModel |
| Methods inherited from class com.saxonica.schema.SchemaStructure |
|---|
elaborate, getColumnNumber, getConfiguration, getFixupStatus, getLineNumber, getPublicId, getSystemId, getValidationStatus, setConfiguration, setFixupStatus, setLineNumber, setLocator, setSystemId, setValidationStatus |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.saxonica.schema.UserSchemaComponent |
|---|
elaborate |
| Methods inherited from interface net.sf.saxon.type.SchemaComponent |
|---|
getValidationStatus |
| Constructor Detail |
|---|
public SequenceModelGroup()
| Method Detail |
|---|
public boolean isEmptiable()
throws UnresolvedReferenceException
isEmptiable in class ModelGroupUnresolvedReferenceExceptionpublic boolean isPointless(ModelGroup container)
isPointless in class ModelGroupcontainer - not used
public boolean validate(SchemaCompiler compiler)
throws SchemaException
validate in interface UserSchemaComponentvalidate in class ModelGroupSchemaException - when the error listener decides an error is fatalpublic java.lang.String getCompositorName()
getCompositorName in class ModelGroup
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||