Package com.icl.saxon.output

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

See:
          Description

Interface Summary
CharacterSet This interface defines properties of a pluggable character set, that is, a user-supplied character set.
Emitter Emitter: This interface defines methods that must be implemented by components that format SAXON output.
PluggableCharacterSet This interface defines properties of a pluggable character set, that is, a user-supplied character set.
 

Class Summary
ASCIICharacterSet This class defines properties of the US-ASCII character set
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.
CharacterSetFactory This class creates a CharacterSet object for a given named encoding.
ContentHandlerProxy A ContentHandlerProxy is an Emitter that filters data before passing it to an underlying SAX2 ContentHandler.
CP1250CharacterSet This class defines properties of the cp1250 character set
CP1251CharacterSet This class defines properties of the CP1251 Cyrillic character set, as defined at http://www.microsoft.com/globaldev/reference/sbcs/1251.htm
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.
ErrorEmitter ErrorEmitter is an Emitter that generates an error message if any attempt is made to produce output.
FOPEmitter FOPEmitter: This class acts as a SAXON output emitter that feeds data into James Tauber's FOP (see http://www.jtauber.com/fop).
HTMLEmitter This class generates HTML output
HTMLIndenter HTMLIndenter: This ProxyEmitter indents HTML elements, by adding whitespace character data where appropriate.
KOI8RCharacterSet This class defines properties of the KO18R Cyrillic character set
Latin1CharacterSet This class defines properties of the ISO-8859-1 character set
Latin2CharacterSet This class defines properties of the ISO-8859-2 character set
MessageEmitter MessageEmitter is the default Emitter for xsl:message output.
NamespaceEmitter NamespaceEmitter is a ProxyEmitter responsible for removing duplicate namespace declarations
OutputDetails An OutputDetails object holds parameters controlling the generation of output files
OutputManager This class handles the selection and configuration of an Outputter to create serialized output, and maintains a stack of outputters so that when one destination is closed, output reverts to the previous one.
Outputter This class allows output to be generated.
ProxyEmitter A ProxyEmitter is an Emitter that filters data before passing it to another underlying Emitter.
TEXTEmitter This class generates TEXT output
TextFragment TextFragment is a subclass of OutputDetails; it 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 ""
UnicodeCharacterSet This class defines properties of the Unicode character set
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.

The packaage also includes classes representing the supported character sets. The sole function of these classes is to determine whether a particular character is present in the character set or not: if not, Saxon has to replace it with a character reference.


Michael H. Kay
20 September 2000