org.apache.camel.groovy.dataformat
Class XmlParserDataFormat
java.lang.Object
org.apache.camel.groovy.dataformat.AbstractXmlDataFormat
org.apache.camel.groovy.dataformat.XmlParserDataFormat
- All Implemented Interfaces:
- org.apache.camel.spi.DataFormat
public class XmlParserDataFormat
- extends AbstractXmlDataFormat
DataFormat for using groovy.util.XmlParser as parser and renderer for XML
data
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlParserDataFormat
public XmlParserDataFormat()
XmlParserDataFormat
public XmlParserDataFormat(boolean namespaceAware)
marshal
public void marshal(org.apache.camel.Exchange exchange,
Object graph,
OutputStream stream)
throws Exception
- Throws:
Exception
unmarshal
public Object unmarshal(org.apache.camel.Exchange exchange,
InputStream stream)
throws Exception
- Throws:
Exception
Apache Camel