public class MessageWarner extends XMLEmitter
The text of the message that is sent to the ErrorListener is an XML serialization of the actual message content.
| Modifier and Type | Field and Description |
|---|---|
(package private) boolean |
abort |
declarationIsWritten, elementCode, elementStack, openStartTag, preferHex, specialInAtt, specialInText, started, startedElement, undeclareNamespacesallCharactersEncodable, characterSet, namePool, outputProperties, outputStream, pipelineConfig, streamResult, systemId, writerPI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING| Constructor and Description |
|---|
MessageWarner() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
End of the document.
|
void |
endDocument()
Notify the end of a document node
|
void |
startDocument(int properties)
Start of a document node.
|
attribute, characters, closeStartTag, comment, emptyElementTagCloser, endElement, getCachedName, namespace, open, openDocument, outputCharacterReference, processingInstruction, putCachedName, startContent, startElement, testCharacters, usesTypeAnnotations, writeAttribute, writeCharSequence, writeDeclaration, writeDocType, writeEscapegetConfiguration, getOutputProperties, getOutputStream, getPipelineConfiguration, getSystemId, getWriter, makeOutputStream, makeWriter, setOutputProperties, setOutputStream, setPipelineConfiguration, setStreamResult, setSystemId, setUnparsedEntity, setWriter, usesWriterpublic void startDocument(int properties)
throws XPathException
XMLEmitterstartDocument in interface ReceiverstartDocument in class XMLEmitterproperties - bit-significant integer indicating properties of the document node.
The definitions of the bits are in class ReceiverOptionsXPathExceptionpublic void endDocument()
throws XPathException
XMLEmitterendDocument in interface ReceiverendDocument in class XMLEmitterXPathExceptionpublic void close()
XMLEmitterclose in interface Receiverclose in class XMLEmitter