Class XHTMLSerializer

All Implemented Interfaces:
DOMSerializer, Serializer, ContentHandler, DocumentHandler, DTDHandler, DeclHandler, LexicalHandler

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 Serializer or BaseMarkupSerializer.
Version:
$Revision: 447253 $ $Date: 2006-09-18 11:02:50 +0530 (Mon, 18 Sep 2006) $
Author:
Assaf Arkin
See Also:
  • Constructor Details

  • Method Details

    • setOutputFormat

      public void setOutputFormat(OutputFormat format)
      Deprecated.
      Description copied from interface: Serializer
      Specifies an output format for this serializer. It the serializer has already been associated with an output format, it will switch to the new format. This method should not be called while the serializer is in the process of serializing a document.
      Specified by:
      setOutputFormat in interface Serializer
      Overrides:
      setOutputFormat in class HTMLSerializer
      Parameters:
      format - The output format to use