javax.xml.transform.Result
, Receiver
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 | Description |
---|---|---|
(package private) boolean |
abort |
allCharactersEncodable, characterSet, namePool, outputProperties, outputStream, pipelineConfig, streamResult, systemId, writer
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING
characterReferenceGenerator, declarationIsWritten, elementCode, elementStack, indentForNextAttribute, openStartTag, specialInAtt, specialInText, started, startedElement, undeclareNamespaces
Constructor | Description |
---|---|
MessageWarner() |
Modifier and Type | Method | 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.
|
getConfiguration, getOutputProperties, getOutputStream, getPipelineConfiguration, getSystemId, getWriter, makeOutputStream, makeWriter, setOutputProperties, setOutputStream, setPipelineConfiguration, setStreamResult, setSystemId, setUnparsedEntity, setWriter, usesWriter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
attribute, characters, closeStartTag, comment, emptyElementTagCloser, endElement, getAttributeIndentString, namespace, open, openDocument, processingInstruction, setCharacterReferenceGenerator, setEscapeNonAscii, setIndentForNextAttribute, startContent, startElement, testCharacters, usesTypeAnnotations, writeAttribute, writeCharSequence, writeDeclaration, writeDocType, writeEscape
public void startDocument(int properties) throws XPathException
XMLEmitter
startDocument
in interface Receiver
startDocument
in class XMLEmitter
properties
- bit-significant integer indicating properties of the document node.
The definitions of the bits are in class ReceiverOptions
XPathException
- if an error occurspublic void endDocument() throws XPathException
XMLEmitter
endDocument
in interface Receiver
endDocument
in class XMLEmitter
XPathException
- if an error occurspublic void close()
XMLEmitter
close
in interface Receiver
close
in class XMLEmitter