public class ChoiceModelGroup extends ModelGroup
SchemaComponent.ValidationStatuscontentModel, simplifiedContentModelCOMPONENT_FUNCTION_TYPE| Constructor and Description | 
|---|
| ChoiceModelGroup() | 
| Modifier and Type | Method and Description | 
|---|---|
| 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) | 
| void | markVulnerableSubParticles(boolean isRepeatable)Mark contained particles as vulnerable. | 
| 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, serialize, setContentModelelaborate, getColumnNumber, getConfiguration, getFixupStatus, getGeneratedId, getLineNumber, getPublicId, getRedefinitionLevel, getSchemaDocumentURI, getSystemId, getValidationStatus, hasSameLocation, isValidationNeeded, makeXPathExpressionPropertyRecord, saveLocation, setConfiguration, setFixupStatus, setGeneratedId, setLineNumber, setLocator, setRedefinitionLevel, setSchemaDocumentURI, setSystemId, setValidationStatusclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitelaborategetRedefinitionLevel, getValidationStatuspublic boolean isEmptiable()
                    throws MissingComponentException
isEmptiable in class ModelGroupMissingComponentException - if the schema contains
          unresolved references to required componentspublic boolean isPointless(ModelGroup container)
isPointless in class ModelGroupcontainer - not usedpublic void markVulnerableSubParticles(boolean isRepeatable)
                                throws MissingComponentException
markVulnerableSubParticles in class ModelGroupisRepeatable - set to true if this part of the content model can be repeatedMissingComponentExceptionpublic 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 ModelGroupCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.