Interface DOMSerializer

All Known Implementing Classes:
BaseMarkupSerializer, HTMLSerializer, TextSerializer, XHTMLSerializer, XML11Serializer, XMLSerializer

public interface DOMSerializer
Deprecated.
This class was deprecated in Xerces 2.9.0. It is recommended that new applications use the DOM Level 3 LSSerializer or JAXP's Transformation API for XML (TrAX) for serializing XML. See the Xerces documentation for more information.
Interface for a DOM serializer implementation.
Version:
$Revision: 699892 $ $Date: 2008-09-29 02:38:27 +0530 (Mon, 29 Sep 2008) $
Author:
Scott Boag, Assaf Arkin
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated.
    Serializes the DOM document.
    void
    Deprecated.
    Serializes the DOM document fragment.
    void
    Deprecated.
    Serialized the DOM element.
  • Method Details

    • serialize

      void serialize(Element elem) throws IOException
      Deprecated.
      Serialized the DOM element. Throws an exception only if an I/O exception occured while serializing.
      Parameters:
      elem - The element to serialize
      Throws:
      IOException - An I/O exception occured while serializing
    • serialize

      void serialize(Document doc) throws IOException
      Deprecated.
      Serializes the DOM document. Throws an exception only if an I/O exception occured while serializing.
      Parameters:
      doc - The document to serialize
      Throws:
      IOException - An I/O exception occured while serializing
    • serialize

      void serialize(DocumentFragment frag) throws IOException
      Deprecated.
      Serializes the DOM document fragment. Throws an exception only if an I/O exception occured while serializing.
      Parameters:
      frag - The document fragment to serialize
      Throws:
      IOException - An I/O exception occured while serializing