public class SequenceModelGroup extends ModelGroup
contentModel, simplifiedContentModel
COMPONENT_FUNCTION_TYPE, FIXED_UP, INCOMPLETE, INVALID, UNVALIDATED, VALIDATED, VALIDATING
Constructor and Description |
---|
SequenceModelGroup() |
Modifier and Type | Method and Description |
---|---|
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.
|
addParticle, checkElements, compile, containsAll, containsElementWildcard, fixup, gatherAllPermittedElements, getComponentAsFunction, getContentModelSize, getElementParticleCardinality, getElementParticleType, getParticles, getSimplifiedContentModel, getTerm, isEmpty, lookForCycles, markVulnerableSubParticles, serialize, setContentModel
elaborate, getColumnNumber, getConfiguration, getFixupStatus, getLineNumber, getPublicId, getRedefinitionLevel, getSchemaDocumentURI, getSystemId, getValidationStatus, makeXPathExpressionPropertyRecord, setConfiguration, setFixupStatus, setLineNumber, setLocator, setRedefinitionLevel, setSchemaDocumentURI, setSystemId, setValidationStatus
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
elaborate
getRedefinitionLevel, getValidationStatus
public boolean isEmptiable() throws UnresolvedReferenceException
isEmptiable
in class ModelGroup
UnresolvedReferenceException
- if the schema contains
unresolved references to required componentspublic boolean isPointless(ModelGroup container)
isPointless
in class ModelGroup
container
- not usedpublic boolean validate(SchemaCompiler compiler) throws SchemaException
validate
in interface UserSchemaComponent
validate
in class ModelGroup
SchemaException
- when the error listener decides an error is fatalpublic String getCompositorName()
getCompositorName
in class ModelGroup
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.