net.sf.xbus.protocol.xml
Class XMLSerializerTransformer

java.lang.Object
  extended by net.sf.xbus.protocol.xml.XMLSerializerTransformer
All Implemented Interfaces:
Transformer

public class XMLSerializerTransformer
extends java.lang.Object
implements Transformer

The XMLSerializerTransformer serializes the given org.w3c.Document into a String.


Constructor Summary
XMLSerializerTransformer()
           
 
Method Summary
 java.lang.Object transform(java.lang.Object inObject, XBUSSystem source, XBUSSystem destination, Message destinationMessage)
          The transform method serializes the given org.w3c.Document into a String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLSerializerTransformer

public XMLSerializerTransformer()
Method Detail

transform

public java.lang.Object transform(java.lang.Object inObject,
                                  XBUSSystem source,
                                  XBUSSystem destination,
                                  Message destinationMessage)
                           throws XException
The transform method serializes the given org.w3c.Document into a String.

Specified by:
transform in interface Transformer
Parameters:
inObject - either the request or response that shall be wrapped into a string. This Object must be of type org.w3c.Document.
source - not used
destination - not used
destinationMessage - not used
Returns:
a String containing the serialized inObject
Throws:
XException