org.apache.camel.converter.xmlbeans
Class XmlBeansDataFormat
java.lang.Object
org.apache.camel.converter.xmlbeans.XmlBeansDataFormat
- All Implemented Interfaces:
- org.apache.camel.spi.DataFormat
public class XmlBeansDataFormat
- extends Object
- implements org.apache.camel.spi.DataFormat
A data format
(DataFormat
) using XmlBeans to marshal to and from XML
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlBeansDataFormat
public XmlBeansDataFormat()
marshal
public void marshal(org.apache.camel.Exchange exchange,
Object body,
OutputStream stream)
throws Exception
- Specified by:
marshal
in interface org.apache.camel.spi.DataFormat
- Throws:
Exception
unmarshal
public Object unmarshal(org.apache.camel.Exchange exchange,
InputStream stream)
throws Exception
- Specified by:
unmarshal
in interface org.apache.camel.spi.DataFormat
- Throws:
Exception
Apache Camel