FileDocCategorySizeDatePackage
DOMSerializer.javaAPI DocApache Xerces 3.0.12660Fri Sep 14 20:33:52 BST 2007org.apache.xml.serialize

DOMSerializer

public interface DOMSerializer
Interface for a DOM serializer implementation.
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.
version
$Revision: 476047 $ $Date: 2006-11-16 23:27:45 -0500 (Thu, 16 Nov 2006) $
author
Scott Boag
author
Assaf Arkin

Fields Summary
Constructors Summary
Methods Summary
public voidserialize(org.w3c.dom.Element elem)
Serialized the DOM element. Throws an exception only if an I/O exception occured while serializing.

param
elem The element to serialize
throws
IOException An I/O exception occured while serializing

public voidserialize(org.w3c.dom.Document doc)
Serializes the DOM document. Throws an exception only if an I/O exception occured while serializing.

param
doc The document to serialize
throws
IOException An I/O exception occured while serializing

public voidserialize(org.w3c.dom.DocumentFragment frag)
Serializes the DOM document fragment. Throws an exception only if an I/O exception occured while serializing.

param
frag The document fragment to serialize
throws
IOException An I/O exception occured while serializing