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 |
(package private) String |
errorCode |
attSpecials, canonical, characterReferenceGenerator, declarationIsWritten, delimiter, elementCode, elementStack, indentForNextAttribute, openStartTag, specialInAtt, specialInAttSingle, specialInText, started, startedElement, undeclareNamespaces, unfailingallCharactersEncodable, characterSet, outputProperties, outputStream, streamResult, writerpipelineConfiguration, previousAtomic, systemIdPI_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 |
processingInstruction(String target,
CharSequence data,
Location locationId,
int properties)
Handle a processing instruction.
|
void |
startDocument(int properties)
Start of a document node.
|
attribute, characters, closeStartTag, comment, convertToAscii, emptyElementTagCloser, endElement, getAttributeIndentString, isStarted, namespace, open, openDocument, setCharacterReferenceGenerator, setEscapeNonAscii, setIndentForNextAttribute, startContent, startElement, testCharacters, usesTypeAnnotations, writeAttribute, writeCharSequence, writeDeclaration, writeDocType, writeDocTypeWithNullSystemId, writeEscapeappend, getOutputProperties, getOutputStream, getWriter, makeOutputStream, makeWriter, setOutputProperties, setOutputStream, setStreamResult, setUnparsedEntity, setWriter, usesWriterappend, decompose, flatten, getConfiguration, getErrorCodeForDecomposingFunctionItems, getNamePool, getPipelineConfiguration, getSystemId, handlesAppend, setPipelineConfiguration, setSystemIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappend, getPipelineConfiguration, handlesAppend, setPipelineConfiguration, setSystemIdgetSystemIdboolean abort
String errorCode
public 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 ReceiverOptionsXPathException - if an error occurspublic void processingInstruction(String target, CharSequence data, Location locationId, int properties) throws XPathException
XMLEmitterprocessingInstruction in interface ReceiverprocessingInstruction in class XMLEmittertarget - The PI name. This must be a legal name (it will not be checked).data - The data portion of the processing instructionlocationId - provides information such as line number and system ID.properties - Additional information about the PI.XPathException - if an error occurspublic void endDocument()
throws XPathException
XMLEmitterendDocument in interface ReceiverendDocument in class XMLEmitterXPathException - if an error occurspublic void close()
XMLEmitterclose in interface Receiverclose in class XMLEmitter