Package net.sf.saxon.event
Class MessageEmitter
java.lang.Object
net.sf.saxon.event.Emitter
net.sf.saxon.event.XMLEmitter
net.sf.saxon.event.MessageEmitter
MessageEmitter is the default Receiver for xsl:message output.
It is the same as XMLEmitter except for an extra newline at the end of the message
-
Field Summary
Fields inherited from class net.sf.saxon.event.XMLEmitter
declarationIsWritten, elementCode, elementStack, empty, openStartTag, preferHex, undeclareNamespaces
Fields inherited from class net.sf.saxon.event.Emitter
allCharactersEncodable, characterSet, namePool, outputProperties, outputStream, pipelineConfig, streamResult, systemId, writer
Fields inherited from interface javax.xml.transform.Result
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
End of the document.void
Notify the end of a document nodeMethods inherited from class net.sf.saxon.event.XMLEmitter
attribute, characters, closeStartTag, comment, emptyElementTagCloser, endElement, getCachedName, namespace, open, openDocument, outputCharacterReference, processingInstruction, putCachedName, startContent, startDocument, startElement, testCharacters, writeAttribute, writeCharSequence, writeDeclaration, writeDocType, writeEscape
Methods inherited from class net.sf.saxon.event.Emitter
getConfiguration, getOutputProperties, getOutputStream, getPipelineConfiguration, getSystemId, getWriter, makeWriter, setOutputProperties, setOutputStream, setPipelineConfiguration, setStreamResult, setSystemId, setUnparsedEntity, setWriter, usesWriter
-
Constructor Details
-
MessageEmitter
public MessageEmitter()
-
-
Method Details
-
endDocument
Description copied from class:XMLEmitter
Notify the end of a document node- Specified by:
endDocument
in interfaceReceiver
- Overrides:
endDocument
in classXMLEmitter
- Throws:
XPathException
-
close
Description copied from class:XMLEmitter
End of the document.- Specified by:
close
in interfaceReceiver
- Overrides:
close
in classXMLEmitter
- Throws:
XPathException
-