# Uses of Package
org.apache.xml.serializer

Packages that use org.apache.xml.serializer
Package | Description
--- | ---
org.apache.xalan.lib | Extension elements and functions shipped with Xalan-Java, including EXSLT functions.
org.apache.xalan.serialize |
org.apache.xalan.transformer | In charge of run-time transformations and the production of result trees.
org.apache.xalan.xsltc |
org.apache.xalan.xsltc.dom |
org.apache.xalan.xsltc.runtime |
org.apache.xalan.xsltc.runtime.output |
org.apache.xalan.xsltc.trax |
org.apache.xml.serializer | Processes SAX events into streams.
org.apache.xml.serializer.dom3 |

Classes in org.apache.xml.serializer used by org.apache.xalan.lib
Class and Description
SerializationHandler This interface is the one that a serializer implements.

Classes in org.apache.xml.serializer used by org.apache.xalan.serialize
Class and Description
DOMSerializer Interface for a DOM serializer implementation.
SerializationHandler This interface is the one that a serializer implements.

Classes in org.apache.xml.serializer used by org.apache.xalan.transformer
Class and Description
SerializationHandler This interface is the one that a serializer implements.

Serializer
The Serializer interface is implemented by a serializer to enable users to: get and set streams or writers configure the serializer with key/value properties get an org.xml.sax.ContentHandler or a DOMSerializer to provide input to Here is an example using the asContentHandler() method: java.util.Properties props = OutputPropertiesFactory.getDefaultMethodProperties(Method.TEXT); Serializer ser = SerializerFactory.getSerializer(props); java.io.PrintStream ostream = System.out; ser.setOutputStream(ostream); // Provide the SAX input events ContentHandler handler = ser.asContentHandler(); handler.startDocument(); char[] chars = { 'a', 'b', 'c' }; handler.characters(chars, 0, chars.length); handler.endDocument(); ser.reset(); // get ready to use the serializer for another document // of the same output method (TEXT).

SerializerTrace This interface defines a set of integer constants that identify trace event types.
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 xsl:output method is known to be "xml".
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.

Classes in org.apache.xml.serializer used by org.apache.xalan.xsltc
Class and Description
SerializationHandler This interface is the one that a serializer implements.

Classes in org.apache.xml.serializer used by org.apache.xalan.xsltc.dom
Class and Description
DOMSerializer Interface for a DOM serializer implementation.
EmptySerializer This class is an adapter class.
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 a serializer to enable users to: get and set streams or writers configure the serializer with key/value properties get an org.xml.sax.ContentHandler or a DOMSerializer to provide input to Here is an example using the asContentHandler() method: java.util.Properties props = OutputPropertiesFactory.getDefaultMethodProperties(Method.TEXT); Serializer ser = SerializerFactory.getSerializer(props); java.io.PrintStream ostream = System.out; ser.setOutputStream(ostream); // Provide the SAX input events ContentHandler handler = ser.asContentHandler(); handler.startDocument(); char[] chars = { 'a', 'b', 'c' }; handler.characters(chars, 0, chars.length); handler.endDocument(); ser.reset(); // get ready to use the serializer for another document // of the same output method (TEXT).

Classes in org.apache.xml.serializer used by org.apache.xalan.xsltc.runtime
Class and Description
DOMSerializer Interface for a DOM serializer implementation.
EmptySerializer This class is an adapter class.
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 a serializer to enable users to: get and set streams or writers configure the serializer with key/value properties get an org.xml.sax.ContentHandler or a DOMSerializer to provide input to Here is an example using the asContentHandler() method: java.util.Properties props = OutputPropertiesFactory.getDefaultMethodProperties(Method.TEXT); Serializer ser = SerializerFactory.getSerializer(props); java.io.PrintStream ostream = System.out; ser.setOutputStream(ostream); // Provide the SAX input events ContentHandler handler = ser.asContentHandler(); handler.startDocument(); char[] chars = { 'a', 'b', 'c' }; handler.characters(chars, 0, chars.length); handler.endDocument(); ser.reset(); // get ready to use the serializer for another document // of the same output method (TEXT).

Classes in org.apache.xml.serializer used by org.apache.xalan.xsltc.runtime.output
Class and Description
SerializationHandler This interface is the one that a serializer implements.

Classes in org.apache.xml.serializer used by org.apache.xalan.xsltc.trax
Class and Description
SerializationHandler This interface is the one that a serializer implements.

Classes in org.apache.xml.serializer used by org.apache.xml.serializer
Class and Description
DOMSerializer Interface for a DOM serializer implementation.
ElemDesc This class has a series of flags (bit values) that describe an HTML element This class is not a public API.
ExtendedContentHandler This interface describes extensions to the SAX ContentHandler interface.
ExtendedLexicalHandler This interface has extensions to the standard SAX LexicalHandler interface.
NamespaceMappings This class keeps track of the currently defined namespaces.
SerializationHandler This interface is the one that a serializer implements.

Serializer
The Serializer interface is implemented by a serializer to enable users to: get and set streams or writers configure the serializer with key/value properties get an org.xml.sax.ContentHandler or a DOMSerializer to provide input to Here is an example using the asContentHandler() method: java.util.Properties props = OutputPropertiesFactory.getDefaultMethodProperties(Method.TEXT); Serializer ser = SerializerFactory.getSerializer(props); java.io.PrintStream ostream = System.out; ser.setOutputStream(ostream); // Provide the SAX input events ContentHandler handler = ser.asContentHandler(); handler.startDocument(); char[] chars = { 'a', 'b', 'c' }; handler.characters(chars, 0, chars.length); handler.endDocument(); ser.reset(); // get ready to use the serializer for another document // of the same output method (TEXT).

SerializerBase This class acts as a base class for the XML "serializers" and the stream serializers.
ToSAXHandler This class is used to provide a base behavior to be inherited by other To...SAXHandler serializers.
ToStream This abstract class is a base class for other stream serializers (xml, html, text ...) that write output to a stream.
ToXMLStream This class converts SAX or SAX-like calls to a serialized xml document.
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.

Classes in org.apache.xml.serializer used by org.apache.xml.serializer.dom3
Class and Description
DOM3Serializer This interface is not intended to be used by an end user, but rather by an XML parser that is implementing the DOM Level 3 Load and Save APIs.
SerializationHandler This interface is the one that a serializer implements.