org.apache.camel.converter.xmlbeans
Class XmlBeansDataFormat

java.lang.Object
  extended by org.apache.camel.converter.xmlbeans.XmlBeansDataFormat
All Implemented Interfaces:
DataFormat

public class XmlBeansDataFormat
extends Object
implements DataFormat

A data format (DataFormat) using XmlBeans to marshal to and from XML

Version:
$Revision: 738604 $

Constructor Summary
XmlBeansDataFormat()
           
 
Method Summary
 void marshal(Exchange exchange, Object body, OutputStream stream)
           
 Object unmarshal(Exchange exchange, InputStream stream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlBeansDataFormat

public XmlBeansDataFormat()
Method Detail

marshal

public void marshal(Exchange exchange,
                    Object body,
                    OutputStream stream)
             throws Exception
Specified by:
marshal in interface DataFormat
Throws:
Exception

unmarshal

public Object unmarshal(Exchange exchange,
                        InputStream stream)
                 throws Exception
Specified by:
unmarshal in interface DataFormat
Throws:
Exception


Copyright © 2009 Apache Software Foundation. All Rights Reserved.