net.wotonomy.foundation.xml
Interface XMLEncoder


public interface XMLEncoder

Defines an interface for classes that can serialize an arbitrary java object into XML format.


Method Summary
 void encode(java.lang.Object anObject, java.io.OutputStream anOutputStream)
          Encodes an object to the specified output stream as XML.
 

Method Detail

encode

void encode(java.lang.Object anObject,
            java.io.OutputStream anOutputStream)
Encodes an object to the specified output stream as XML.

Parameters:
anObject - The object to be serialized to XML format.
anOutputStream - The output stream to which the object will be written. The stream will not be flushed nor closed.


Copyright © 2006 null. All Rights Reserved.