public class SkipValidator extends ContentValidator
childValidator, nil, NIL_ALLOWED, NIL_DISALLOWED, NIL_IGNORED, pendingMessages
locallyInvalid
nextReceiver
pipelineConfiguration, previousAtomic, systemId
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING
Constructor and Description |
---|
SkipValidator(Receiver next) |
Modifier and Type | Method and Description |
---|---|
void |
attribute(NodeName nameCode,
SimpleType typeCode,
CharSequence value,
int 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,
int locationId,
int properties)
Output element start tag
|
endDocument, getAnnotation, getContainingElement, getContainingElementLocationId, getContainingElementName, getElementDeclaration, getNamespaceResolver, getNillability, isNil, makeChildValidator, makeValidator, makeValidatorForType, setAnnotation, setContainingElement, setElementDeclaration, setNillability
append, getStartTagBuffer, getValidationContext, reportIfInvalid, reportValidationError, setConstraintChecker, setStartTagBuffer, setValidationContext, usesTypeAnnotations
characters, close, comment, endElement, getNamePool, getUnderlyingReceiver, namespace, open, processingInstruction, setSystemId, setUnderlyingReceiver, setUnparsedEntity, startContent, startDocument
append, getConfiguration, getPipelineConfiguration, getSystemId
public SkipValidator(Receiver next)
public void setPipelineConfiguration(PipelineConfiguration pipe)
Receiver
setPipelineConfiguration
in interface Receiver
setPipelineConfiguration
in class ProxyReceiver
pipe
- the pipeline configurationpublic SchemaType getSchemaType()
getSchemaType
in class ContentValidator
protected ConstraintChecker getConstraintChecker()
ValidatingFilter
getConstraintChecker
in class ValidatingFilter
public void startElement(NodeName nameCode, SchemaType typeCode, int locationId, int properties) throws XPathException
startElement
in interface Receiver
startElement
in class ContentValidator
nameCode
- integer code identifying the name of the element within the name pool.typeCode
- integer code identifying the element's type within the name pool.locationId
- an integer which can be interpreted using a LocationProvider
to return
information such as line number and system ID. If no location information is available,
the value zero is supplied.properties
- properties of the element nodeXPathException
- if an error occursprotected ContentValidator getChildValidator()
getChildValidator
in class ContentValidator
public void attribute(NodeName nameCode, SimpleType typeCode, CharSequence value, int locationId, int properties) throws XPathException
attribute
in interface Receiver
attribute
in class ProxyReceiver
nameCode
- integer identifying the name of the attributetypeCode
- integer identifying the type annotation of the
attributevalue
- the value of the attributeproperties
- bit-significant flags indicating special action to
be takenlocationId
- an integer which can be interpreted using a LocationProvider
to return
information such as line number and system ID. If no location information is available,
the value zero is supplied.XPathException
- On any failure to write the attributeCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.