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
-
- All Implemented Interfaces:
javax.xml.transform.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.serialize.XMLEmitter
characterReferenceGenerator, declarationIsWritten, elementCode, elementStack, indentForNextAttribute, openStartTag, specialInAtt, specialInText, started, startedElement, undeclareNamespaces
-
Fields inherited from class net.sf.saxon.serialize.Emitter
allCharactersEncodable, characterSet, namePool, outputProperties, outputStream, pipelineConfig, streamResult, systemId, writer
-
-
Constructor Summary
Constructors Constructor Description MessageEmitter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
End of the document.void
endDocument()
Notify the end of a document node-
Methods 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, writeEscape
-
Methods inherited from class net.sf.saxon.serialize.Emitter
getConfiguration, getOutputProperties, getOutputStream, getPipelineConfiguration, getSystemId, getWriter, makeOutputStream, makeWriter, setOutputProperties, setOutputStream, setPipelineConfiguration, setStreamResult, setSystemId, setUnparsedEntity, setWriter, usesWriter
-
-
-
-
Method Detail
-
endDocument
public void endDocument() throws XPathException
Description copied from class:XMLEmitter
Notify the end of a document node- Specified by:
endDocument
in interfaceReceiver
- Overrides:
endDocument
in classXMLEmitter
- Throws:
XPathException
- if an error occurs
-
close
public void close() throws XPathException
Description copied from class:XMLEmitter
End of the document.- Specified by:
close
in interfaceReceiver
- Overrides:
close
in classXMLEmitter
- Throws:
XPathException
- if an error occurs
-
-