org.apache.xalan.serialize
Class SerializerFactory.DOMSerializerWrapper

java.lang.Object
  extended by org.apache.xalan.serialize.SerializerFactory.DOMSerializerWrapper
All Implemented Interfaces:
DOMSerializer
Enclosing class:
SerializerFactory

private static class SerializerFactory.DOMSerializerWrapper
extends java.lang.Object
implements DOMSerializer

This class just wraps a new DOMSerializer with an old style one for migration purposes.


Field Summary
private  DOMSerializer m_dom
           
 
Constructor Summary
SerializerFactory.DOMSerializerWrapper(DOMSerializer domser)
           
 
Method Summary
 void serialize(org.w3c.dom.Node node)
          Serializes the DOM node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_dom

private final DOMSerializer m_dom
Constructor Detail

SerializerFactory.DOMSerializerWrapper

SerializerFactory.DOMSerializerWrapper(DOMSerializer domser)
Method Detail

serialize

public void serialize(org.w3c.dom.Node node)
               throws java.io.IOException
Description copied from interface: DOMSerializer
Serializes the DOM node. Throws an exception only if an I/O exception occured while serializing. This interface is a public API.

Specified by:
serialize in interface DOMSerializer
Parameters:
node - the DOM node to serialize
Throws:
java.io.IOException - if an I/O exception occured while serializing