org.apache.camel.converter.xmlbeans
Class XmlBeansDataFormat
java.lang.Object
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 $
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(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.