Package net.sf.saxon.serialize
Class MessageEmitter
java.lang.Object
net.sf.saxon.serialize.Emitter
net.sf.saxon.serialize.XMLEmitter
net.sf.saxon.serialize.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.serialize.XMLEmitter
characterReferenceGenerator, declarationIsWritten, elementCode, elementStack, indentForNextAttribute, openStartTag, specialInAtt, specialInText, started, startedElement, undeclareNamespacesFields inherited from class net.sf.saxon.serialize.Emitter
allCharactersEncodable, characterSet, namePool, outputProperties, outputStream, pipelineConfig, streamResult, systemId, writerFields inherited from interface javax.xml.transform.Result
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()End of the document.voidNotify the end of a document nodeMethods inherited from class net.sf.saxon.serialize.XMLEmitter
attribute, characters, closeStartTag, comment, emptyElementTagCloser, endElement, getAttributeIndentString, namespace, open, openDocument, processingInstruction, setCharacterReferenceGenerator, setEscapeNonAscii, setIndentForNextAttribute, startContent, startDocument, startElement, testCharacters, usesTypeAnnotations, writeAttribute, writeCharSequence, writeDeclaration, writeDocType, writeEscapeMethods inherited from class net.sf.saxon.serialize.Emitter
getConfiguration, getOutputProperties, getOutputStream, getPipelineConfiguration, getSystemId, getWriter, makeOutputStream, makeWriter, setOutputProperties, setOutputStream, setPipelineConfiguration, setStreamResult, setSystemId, setUnparsedEntity, setWriter, usesWriter
-
Constructor Details
-
MessageEmitter
public MessageEmitter()
-
-
Method Details
-
endDocument
Description copied from class:XMLEmitterNotify the end of a document node- Specified by:
endDocumentin interfaceReceiver- Overrides:
endDocumentin classXMLEmitter- Throws:
XPathException- if an error occurs
-
close
Description copied from class:XMLEmitterEnd of the document.- Specified by:
closein interfaceReceiver- Overrides:
closein classXMLEmitter- Throws:
XPathException- if an error occurs
-