FileDocCategorySizeDatePackage
DOMSerializer.javaAPI DocJava SE 5 API1643Fri Aug 26 14:56:02 BST 2005com.sun.org.apache.xml.internal.serializer

DOMSerializer

public interface DOMSerializer
Interface for a DOM serializer implementation.

The DOM serializer is a facet of a serializer. A serializer may or may not support a DOM serializer.

Example:

Document doc;
Serializer ser;
OutputStream os;

ser.setOutputStream( os );
ser.asDOMSerializer( doc );
version
Alpha
author
Scott Boag
author
Assaf Arkin

Fields Summary
Constructors Summary
Methods Summary
public voidserialize(org.w3c.dom.Node node)
Serializes the DOM node. Throws an exception only if an I/O exception occured while serializing.

param
node the DOM node to serialize
throws
IOException if an I/O exception occured while serializing