BEA Systems, Inc.


weblogic.apache.xalan.serialize
Interface DOMSerializer

All Known Implementing Classes:
SerializerToXML

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 );
 

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:
Alpha
Author:
Scott Boag, Assaf Arkin

Method Summary
 void serialize(org.w3c.dom.Node node)
          Serializes the DOM node.
 

Method Detail

serialize

public void serialize(org.w3c.dom.Node node)
               throws java.io.IOException
Serializes the DOM node. 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

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