Package com.icl.saxon.output

This package provides classes associated with producing the output of a stylesheet.

See:
          Description

Class Summary
CDATAFilter CDATAFilter: This ProxyEmitter converts character data to CDATA sections, if the character data belongs to one of a set of element types to be handled this way.
ContentHandlerProxy A ContentHandlerProxy is an Emitter that filters data before passing it to an underlying SAX2 ContentHandler.
DocumentHandlerProxy A DocumentHandlerProxy is an Emitter that filters data before passing it to an underlying SAX DocumentHandler.
DOMEmitter DOMEmitter is an Emitter that attaches the result tree to a specified Node in a DOM Document
DTDEmitter DTDEmitter is an Emitter that generates output in DTD format from special elements such as dtd:doctype and dtd:element.
Emitter Emitter: This interface defines methods that must be implemented by components that format SAXON output.
ErrorEmitter ErrorEmitter is an Emitter that generates an error message if any attempt is made to produce output.
GeneralOutputter This class allows output to be generated.
HTMLEmitter This class generates HTML output
HTMLIndenter HTMLIndenter: This ProxyEmitter indents HTML elements, by adding whitespace character data where appropriate.
MessageEmitter MessageEmitter is the default Emitter for xsl:message output.
NamespaceEmitter NamespaceEmitter is a ProxyEmitter responsible for removing duplicate namespace declarations.
Outputter This class allows output to be generated.
ProxyEmitter A ProxyEmitter is an Emitter that filters data before passing it to another underlying Emitter.
SaxonOutputKeys Provides string constants that can be used to set output properties for a Transformer, or to retrieve output properties from a Transformer or Templates object.
StringOutputter This class allows output to be generated.
TEXTEmitter This class generates TEXT output
TextFragment TextFragment is used when we want to send output to a StringWriter and retrieve it later.
UncommittedEmitter This class generates XML or HTML output depending on whether the first tag output is ""
XHTMLEmitter XHTMLEmitter is an Emitter that generates XHTML output.
XMLEmitter XMLEmitter is an Emitter that generates XML output to a specified destination.
XMLIndenter XMLIndenter: This ProxyEmitter indents elements, by adding character data where appropriate.
 

Package com.icl.saxon.output Description

This package provides classes associated with producing the output of a stylesheet.

Output is controlled by the OutputManager class. Each time a new output destination is selected (using setOutputDetails), a new Outputter is instantiated. This in turn allocates an Emitter appropriate to the selected output format/method.

The package includes emitters for the standard output methods xml, html, and text, and proxy emitters to allow a sequence of filters to be applied to the output, including one that filters the output into a user-supplied SAX2 ContentHandler.


Michael H. Kay
20 September 2000