FileDocCategorySizeDatePackage
DOMSerializer.javaAPI DocJava SE 6 API2138Tue Jun 10 00:23:04 BST 2008com.sun.org.apache.xml.internal.serialize

DOMSerializer

public interface DOMSerializer
Interface for a DOM serializer implementation.
version
$Revision: 1.2.6.1 $ $Date: 2005/09/09 07:26:13 $
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