public class SkipValidator extends ContentValidator
ContentValidator.NillabilitychildValidator, nil, pendingMessageslocallyInvalidnextReceiverpipelineConfiguration, previousAtomic, systemId| Constructor and Description |
|---|
SkipValidator(Receiver next) |
| Modifier and Type | Method and Description |
|---|---|
void |
append(Item item,
Location locationId,
int copyNamespaces)
Append an arbitrary item (node or atomic value) to the output
|
void |
attribute(NodeName nameCode,
SimpleType type,
java.lang.CharSequence value,
Location locationId,
int properties)
Handle an attribute
|
protected ContentValidator |
getChildValidator()
Get a validator to handle the children of the current element.
|
protected ConstraintChecker |
getConstraintChecker()
Get the constraint checker used in this pipeline
|
SchemaType |
getSchemaType()
Get the schema type against which we are validating, if any
|
void |
setPipelineConfiguration(PipelineConfiguration pipe)
Set the pipeline configuration
|
void |
startElement(NodeName nameCode,
SchemaType typeCode,
Location location,
int properties)
Output element start tag
|
checkNoCharactersWhenNil, checkNoChildrenWhenNil, endDocument, getAnnotation, getContainingElement, getContainingElementLocationId, getContainingElementName, getElementDeclaration, getNamespaceResolver, getNillability, isNil, makeChildValidator, makeValidator, makeValidatorForType, setAnnotation, setContainingElement, setElementDeclaration, setNillabilitygetStartTagBuffer, getValidationContext, reportIfInvalid, reportValidationError, setConstraintChecker, setStartTagBuffer, setValidationContext, usesTypeAnnotationscharacters, close, comment, endElement, getNamePool, getNextReceiver, namespace, open, processingInstruction, setSystemId, setUnderlyingReceiver, setUnparsedEntity, startContent, startDocumentappend, decompose, flatten, getConfiguration, getErrorCodeForDecomposingFunctionItems, getPipelineConfiguration, getSystemId, handlesAppendpublic SkipValidator(Receiver next)
public void setPipelineConfiguration(PipelineConfiguration pipe)
ReceiversetPipelineConfiguration in interface ReceiversetPipelineConfiguration in class ProxyReceiverpipe - the pipeline configurationpublic SchemaType getSchemaType()
getSchemaType in class ContentValidatorprotected ConstraintChecker getConstraintChecker()
ValidatingFiltergetConstraintChecker in class ValidatingFilterpublic void startElement(NodeName nameCode, SchemaType typeCode, Location location, int properties) throws XPathException
startElement in interface ReceiverstartElement in class ContentValidatornameCode - 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 attribute(NodeName nameCode, SimpleType type, java.lang.CharSequence value, Location locationId, int properties) throws XPathException
attribute in interface Receiverattribute in class ProxyReceivernameCode - integer identifying the name of the attributetype - integer identifying the type annotation of the
attributevalue - the value of the attributelocationId - the location of the node in the source, or of the instruction that created itproperties - bit-significant flags indicating special action to
be taken @throws XPathException On any failure to write the attributeXPathException - if an error occurspublic void append(Item item, Location locationId, int copyNamespaces) throws XPathException
ProxyReceiverappend in interface Receiverappend in class ValidatingFilteritem - the item to be appendedlocationId - the location of the calling instruction, for diagnosticscopyNamespaces - if the item is an element node, this indicates whether its namespaces
need to be copied. Values are ReceiverOptions.ALL_NAMESPACES,
ReceiverOptions.LOCAL_NAMESPACES; the default (0) means
no namespacesXPathExceptionCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.