public class XmlBeansDataFormat extends Object implements org.apache.camel.spi.DataFormat
DataFormat) using XmlBeans to marshal to and from XML| Constructor and Description |
|---|
XmlBeansDataFormat() |
| Modifier and Type | Method and Description |
|---|---|
void |
marshal(org.apache.camel.Exchange exchange,
Object body,
OutputStream stream) |
Object |
unmarshal(org.apache.camel.Exchange exchange,
InputStream stream) |
public void marshal(org.apache.camel.Exchange exchange,
Object body,
OutputStream stream)
throws Exception
marshal in interface org.apache.camel.spi.DataFormatExceptionpublic Object unmarshal(org.apache.camel.Exchange exchange, InputStream stream) throws Exception
unmarshal in interface org.apache.camel.spi.DataFormatExceptionApache Camel