org.apache.camel.spi
Class XmlMarshaller

java.lang.Object
  extended by org.apache.camel.spi.XmlMarshaller
All Implemented Interfaces:
Marshaller

public abstract class XmlMarshaller
extends Object
implements Marshaller

Marshallers that marshall to XML should extend this base class.

Version:
$Revision: 520124 $

Constructor Summary
XmlMarshaller()
           
 
Method Summary
 void marshal(Object object, OutputStream result)
          Marshals the object to the given Stream.
abstract  void marshal(Object object, Result result)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlMarshaller

public XmlMarshaller()
Method Detail

marshal

public void marshal(Object object,
                    OutputStream result)
             throws IOException
Marshals the object to the given Stream.

Specified by:
marshal in interface Marshaller
Throws:
IOException

marshal

public abstract void marshal(Object object,
                             Result result)


Copyright © 2007 Apache Software Foundation. All Rights Reserved.