public class DocumentValidator extends ProxyReceiver
| Modifier and Type | Field and Description |
|---|---|
(package private) boolean |
foundElement |
(package private) int |
level |
nextReceiverpipelineConfiguration, previousAtomic, systemId| Constructor and Description |
|---|
DocumentValidator() |
| Modifier and Type | Method and 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
|
attribute, 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