org.apache.camel.groovy.dataformat
Class XmlSlurperDataFormat
java.lang.Object
org.apache.camel.groovy.dataformat.AbstractXmlDataFormat
org.apache.camel.groovy.dataformat.XmlSlurperDataFormat
- All Implemented Interfaces:
- org.apache.camel.spi.DataFormat
public class XmlSlurperDataFormat
- extends AbstractXmlDataFormat
DataFormat for using groovy.util.XmlSlurper as parser for XML data
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlSlurperDataFormat
public XmlSlurperDataFormat()
XmlSlurperDataFormat
public XmlSlurperDataFormat(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