org.apache.xml.serialize
public class XHTMLSerializer extends HTMLSerializer
Deprecated: This class was deprecated in Xerces 2.6.2. It is recommended that new applications use JAXP's Transformation API for XML (TrAX) for serializing XHTML. See the Xerces documentation for more information.
Implements an XHTML serializer supporting both DOM and SAX pretty serializing. For usage instructions see either {@link Serializer} or {@link BaseMarkupSerializer}.Version: $Revision: 1.12 $ $Date: 2004/09/06 22:57:13 $
See Also: Serializer
Constructor Summary | |
---|---|
XHTMLSerializer()
Constructs a new serializer. | |
XHTMLSerializer(OutputFormat format)
Constructs a new serializer. | |
XHTMLSerializer(Writer writer, OutputFormat format)
Constructs a new serializer that writes to the specified writer
using the specified output format. | |
XHTMLSerializer(OutputStream output, OutputFormat format)
Constructs a new serializer that writes to the specified output
stream using the specified output format. |
Method Summary | |
---|---|
void | setOutputFormat(OutputFormat format) |
Parameters: writer The writer to use format The output format to use, null for the default
Parameters: output The output stream to use format The output format to use, null for the default