javax.xml.transform.Result, Receiverpublic class DocumentValidator extends ProxyReceiver
| Modifier and Type | Field | Description |
|---|---|---|
(package private) boolean |
foundElement |
|
(package private) int |
level |
nextReceiverPI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPINGpipelineConfiguration, previousAtomic, systemId| Constructor | Description |
|---|---|
DocumentValidator() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
characters(java.lang.CharSequence chars,
int locationId,
int properties) |
Character data
|
void |
endDocument() |
Notify the end of a document node
|
void |
endElement() |
End of element
|
void |
setPipelineConfiguration(PipelineConfiguration config) |
Set the pipeline configuration
|
void |
startElement(int nameCode,
int typeCode,
int locationId,
int properties) |
Start of an element
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitattribute, close, comment, getConfiguration, getDocumentLocator, getNamePool, getUnderlyingReceiver, namespace, open, processingInstruction, setSystemId, setUnderlyingReceiver, setUnparsedEntity, startContent, startDocumentappend, getPipelineConfiguration, getSystemIdpublic void setPipelineConfiguration(PipelineConfiguration config)
ReceiversetPipelineConfiguration in interface ReceiversetPipelineConfiguration in class ProxyReceiverpublic void startElement(int nameCode,
int typeCode,
int locationId,
int properties)
throws XPathException
startElement in interface ReceiverstartElement in class ProxyReceivernameCode - typeCode - locationId - properties - XPathExceptionpublic void characters(java.lang.CharSequence chars,
int locationId,
int properties)
throws XPathException
characters in interface Receivercharacters in class ProxyReceiverchars - The characterslocationId - 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 - Bit significant value. The following bits are defined:
XPathExceptionpublic void endElement()
throws XPathException
endElement in interface ReceiverendElement in class ProxyReceiverXPathExceptionpublic void endDocument()
throws XPathException
endDocument in interface ReceiverendDocument in class ProxyReceiverXPathException