public class DocumentValidator extends ProxyReceiver
Modifier and Type | Field and Description |
---|---|
(package private) boolean |
foundElement |
(package private) int |
level |
nextReceiver
pipelineConfiguration, 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, startDocument
append, getPipelineConfiguration, getSystemId
public void setPipelineConfiguration(PipelineConfiguration config)
Receiver
setPipelineConfiguration
in interface Receiver
setPipelineConfiguration
in class ProxyReceiver
public void startElement(int nameCode, int typeCode, int locationId, int properties) throws XPathException
startElement
in interface Receiver
startElement
in class ProxyReceiver
nameCode
- typeCode
- locationId
- properties
- XPathException
public void characters(java.lang.CharSequence chars, int locationId, int properties) throws XPathException
characters
in interface Receiver
characters
in class ProxyReceiver
chars
- 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:
XPathException
public void endElement() throws XPathException
endElement
in interface Receiver
endElement
in class ProxyReceiver
XPathException
public void endDocument() throws XPathException
endDocument
in interface Receiver
endDocument
in class ProxyReceiver
XPathException