org.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 );
Method Summary |
void |
serialize(Node node)
Serializes the DOM node. |
serialize
public void serialize(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
Copyright � 2000 Apache XML Project. All Rights Reserved.