public class AllElementValidator extends AttributeValidator
ContentValidator.NillabilitychildValidator, nil, pendingMessageslocallyInvalidnextReceiverpipelineConfiguration, previousAtomic, systemId| Modifier | Constructor and Description |
|---|---|
protected |
AllElementValidator(UserComplexType type,
Receiver next)
Create an AllElementValidator
|
| Modifier and Type | Method and Description |
|---|---|
void |
characters(java.lang.CharSequence chars,
Location locationId,
int properties)
Handle character data appearing as a child of the element being validated
|
void |
endElement()
Validation at the end of the element being validated.
|
protected ContentValidator |
getChildValidator()
Get a validator to handle the children of the current element.
|
SchemaType |
getSchemaType()
Get the schema type against which we are validating, if any
|
void |
setPipelineConfiguration(PipelineConfiguration pipe)
Set the pipeline configuration
|
void |
startElement(NodeName elemName,
SchemaType typeCode,
Location location,
int properties)
Handle the start tag for a child element of the element being validated
|
attribute, getMostRecentAttributeType, processWildcardTerm, setAttributeGroup, startContentcheckNoCharactersWhenNil, checkNoChildrenWhenNil, endDocument, getAnnotation, getContainingElement, getContainingElementLocationId, getContainingElementName, getElementDeclaration, getNamespaceResolver, getNillability, isNil, makeChildValidator, makeValidator, makeValidatorForType, setAnnotation, setContainingElement, setElementDeclaration, setNillabilityappend, getConstraintChecker, getStartTagBuffer, getValidationContext, reportIfInvalid, reportValidationError, setConstraintChecker, setStartTagBuffer, setValidationContext, usesTypeAnnotationsclose, comment, getNamePool, getNextReceiver, namespace, open, processingInstruction, setSystemId, setUnderlyingReceiver, setUnparsedEntity, startDocumentappend, decompose, flatten, getConfiguration, getErrorCodeForDecomposingFunctionItems, getPipelineConfiguration, getSystemId, handlesAppendprotected AllElementValidator(UserComplexType type, Receiver next) throws MissingComponentException
type - the complex type to be validatednext - the next receiver in the pipelineMissingComponentException - if the schema is incompletepublic void setPipelineConfiguration(PipelineConfiguration pipe)
ReceiversetPipelineConfiguration in interface ReceiversetPipelineConfiguration in class ProxyReceiverpipe - the pipeline configurationpublic SchemaType getSchemaType()
getSchemaType in class ContentValidatorpublic void startElement(NodeName elemName, SchemaType typeCode, Location location, int properties) throws XPathException
startElement in interface ReceiverstartElement in class AttributeValidatorelemName - integer code identifying the name of the element within the name pool.typeCode - the element's type annotation.location - a location associated with the event (typically either a location in the
source document or the stylesheet)properties - properties of the element nodeXPathException - if an error occursprotected ContentValidator getChildValidator()
getChildValidator in class ContentValidatorpublic void characters(java.lang.CharSequence chars,
Location locationId,
int properties)
throws XPathException
characters in interface Receivercharacters in class AttributeValidatorchars - The character contentlocationId - the location of the node in the source, or of the instruction that created itproperties - Additional properties @throws XPathException If this element does not allow character dataXPathException - if an error occurspublic void endElement()
throws XPathException
endElement in interface ReceiverendElement in class ProxyReceiverXPathException - if the element is invalidCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.