## Package org.apache.xml.serializer

Processes SAX events into streams.

See:
Description

Interface Summary
DOMSerializer: Interface for a DOM serializer implementation.
ExtendedContentHandler: This interface describes extensions to the SAX ContentHandler interface.
ExtendedLexicalHandler: This interface has extensions to the standard SAX LexicalHandler interface.
SerializationHandler: This interface is the one that a serializer implements.
Serializer: The Serializer interface is implemented by Serializers to publish methods to get and set streams and writers, to set the output properties, and get the Serializer as a ContentHandler or DOMSerializer.
SerializerConstants
SerializerTrace: This interface defines a set of integer constants that identify trace event types.
TransformStateSetter: This interface is meant to be used by a base interface to TransformState, but which as only the setters which have non Xalan specific types in their signature, so that there are no dependancies of the serializer on Xalan.
XSLOutputAttributes: This interface has methods associated with the XSLT xsl:output attribues specified in the stylesheet that effect the format of the document output.

Class Summary
AttributesImplSerializer: This class extends org.xml.sax.helpers.AttributesImpl which implements org.
ElemDesc: This class has a series of flags (bit values) that describe an HTML element
EmptySerializer: This class is an adapter class.
EncodingInfo: Holds information about a given encoding, which is the Java name for the encoding, the equivalent ISO name, and the integer value of the last pritable character in the encoding.
Encodings: Provides information about encodings.
Method: This class defines the constants which are the names of the four default output methods.
NamespaceMappings: This class keeps track of the currently defined namespaces.
OutputPropertiesFactory: This class acts as a factory to generate properties for the given output type ("xml", "text", "html")..
OutputPropertyUtils: This class contains some static methods that act as helpers when parsing a Java Property object.
SerializerBase: This class acts as a base class for the XML "serializers" and the stream serializers.
SerializerFactory: Factory for creating serializers.
SerializerTraceWriter: This class wraps the real writer, it only purpose is to send CHARACTERTOSTREAM events to the trace listener.
ToHTMLSAXHandler: This class accepts SAX-like calls, then sends true SAX calls to a wrapped SAX handler.
ToHTMLStream
ToSAXHandler
ToStream: This abstract class is a base class for other stream serializers (xml, html, text ...) that write output to a stream.
ToTextSAXHandler
ToTextStream
ToUnknownStream: This class wraps another SerializationHandler.
ToXMLSAXHandler: This class receives notification of SAX-like events, and with gathered information over these calls it will invoke the equivalent SAX methods on a handler, the ultimate output is known to be XML.
ToXMLStream
WriterToASCI: This class writes ASCII to a byte stream as quickly as possible.
WriterToUTF8Buffered: This class writes unicode characters to a byte stream (java.io.OutputStream) as quickly as possible.

## Package org.apache.xml.serializer Description

Processes SAX events into streams.

The `SerializerFactory` is used to create a `Serializer` from a set of output properties (see `OutputKeys`).

`ToStream` acts as the main baseclass for the Xalan serializer implementations. `ToHTMLStream` derives from this to implement HTML serialization. `ToTextStream` implements plain text serialization. `ToXMLStream` implements XML serialization.

XML mapping from characters to entity references is defined in XMLEntities.res. HTML entity reference mapping is defined in HTMLEntities.res.

Encoding information is defined in `Encodings`.

Copyright © 2004 Apache XML Project. All Rights Reserved.