Package org.apache.xml.serializer
package org.apache.xml.serializer
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
.
-
ClassDescriptionThis class extends org.xml.sax.helpers.AttributesImpl which implements org.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.Interface for a DOM serializer implementation.This class has a series of flags (bit values) that describe an HTML elementThis class is an adapter class.Holds information about a given encoding, which is the Java name for the encoding, the equivalent ISO name.Provides information about encodings.This interface describes extensions to the SAX ContentHandler interface.This interface has extensions to the standard SAX LexicalHandler interface.This class defines the constants which are the names of the four default output methods.This class keeps track of the currently defined namespaces.This class is a factory to generate a set of default properties of key/value pairs that are used to create a serializer through the factory
SerilizerFactory
.This class contains some static methods that act as helpers when parsing a Java Property object.This interface is the one that a serializer implements.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 toThis class acts as a base class for the XML "serializers" and the stream serializers.This class is a public API, it is a factory for creating serializers.This interface defines a set of integer constants that identify trace event types.Deprecated.This serializer takes a series of SAX or SAX-like events and writes its output to the given stream.This class is used to provide a base behavior to be inherited by other To...SAXHandler serializers.This abstract class is a base class for other stream serializers (xml, html, text ...) that write output to a stream.Deprecated.As of Xalan 2.7.1, replaced by the use ofToXMLSAXHandler
.This class is not a public API.This class wraps another SerializationHandler.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".This class converts SAX or SAX-like calls to a serialized xml document.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.This class does a pre-order walk of the DOM tree, calling a ContentHandler interface as it goes.Administrative class to keep track of the version number of the Serializer release.
ToXMLSAXHandler
.