net.sf.saxon.event

Class MessageEmitter

Implemented Interfaces:
Result, Receiver

public class MessageEmitter
extends XMLEmitter

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

Method Summary

void
close()
End of the document.
void
endDocument()
Notify the end of a document node

Methods inherited from class net.sf.saxon.event.XMLEmitter

attribute, characters, close, closeStartTag, comment, emptyElementTagCloser, endDocument, endElement, namespace, open, openDocument, outputCharacterReference, processingInstruction, 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

Method Details

close

public void close()
            throws XPathException
End of the document.
Specified by:
close in interface Receiver
Overrides:
close in interface XMLEmitter

endDocument

public void endDocument()
            throws XPathException
Notify the end of a document node
Specified by:
endDocument in interface Receiver
Overrides:
endDocument in interface XMLEmitter