BEA Systems, Inc.


weblogic.apache.xml.serialize
Interface DOMSerializer

All Known Implementing Classes:
BaseMarkupSerializer

public interface DOMSerializer

Interface for a DOM serializer implementation.

This class is based on an implementation from the Apache XML Project. In future releases the XML parser, XSLT processor, and associated classes will likely be updated to be based on a later version of the Apache implementations. Since Apache does not guarantee backwards compatibility between versions of their software, we cannot guarantee backwards compatibility of any of the classes contained in the weblogic.apache package or sub-packages.

Version:
$Revision: 1.3 $ $Date: 2000/08/30 18:59:19 $
Author:
Scott Boag, Assaf Arkin

Method Summary
 void serialize(org.w3c.dom.Document doc)
          Serializes the DOM document.
 void serialize(org.w3c.dom.DocumentFragment frag)
          Serializes the DOM document fragment.
 void serialize(org.w3c.dom.Element elem)
          Serialized the DOM element.
 

Method Detail

serialize

public void serialize(org.w3c.dom.Element elem)
               throws java.io.IOException
Serialized the DOM element. Throws an exception only if an I/O exception occured while serializing.

Parameters:
elem - The element to serialize
Throws:
java.io.IOException - An I/O exception occured while serializing

serialize

public void serialize(org.w3c.dom.Document doc)
               throws java.io.IOException
Serializes the DOM document. Throws an exception only if an I/O exception occured while serializing.

Parameters:
doc - The document to serialize
Throws:
java.io.IOException - An I/O exception occured while serializing

serialize

public void serialize(org.w3c.dom.DocumentFragment frag)
               throws java.io.IOException
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:
java.io.IOException - An I/O exception occured while serializing

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs70

Copyright © 2004 BEA Systems, Inc. All Rights Reserved.
WebLogic Server 7.0 API Reference