org.apache.camel.dataformat.xmlrpc
Class XmlRpcDataFormat
java.lang.Object
org.apache.camel.dataformat.xmlrpc.XmlRpcDataFormat
- All Implemented Interfaces:
- org.apache.camel.spi.DataFormat
public class XmlRpcDataFormat
- extends Object
- implements org.apache.camel.spi.DataFormat
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlRpcDataFormat
public XmlRpcDataFormat()
getXMLWriter
protected org.apache.ws.commons.serialize.XMLWriter getXMLWriter(org.apache.camel.Exchange exchange,
OutputStream outputStream)
throws org.apache.xmlrpc.XmlRpcException
- Throws:
org.apache.xmlrpc.XmlRpcException
marshal
public void marshal(org.apache.camel.Exchange exchange,
Object graph,
OutputStream stream)
throws Exception
- Specified by:
marshal
in interface org.apache.camel.spi.DataFormat
- Throws:
Exception
getErrorCode
protected int getErrorCode(org.apache.camel.Exchange exchange)
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
unmarshalResponse
protected Object unmarshalResponse(org.apache.camel.Exchange exchange,
InputStream stream)
throws Exception
- Throws:
Exception
unmarshalRequest
protected Object unmarshalRequest(org.apache.camel.Exchange exchange,
InputStream stream)
throws Exception
- Throws:
Exception
newXMLReader
protected XMLReader newXMLReader()
throws org.apache.xmlrpc.XmlRpcException
- Throws:
org.apache.xmlrpc.XmlRpcException
isRequest
public boolean isRequest()
setRequest
public void setRequest(boolean isRequest)
setXmlRpcStreamRequestConfig
public void setXmlRpcStreamRequestConfig(org.apache.xmlrpc.common.XmlRpcStreamRequestConfig config)
getXmlRpcStreamRequestConfig
public org.apache.xmlrpc.common.XmlRpcStreamRequestConfig getXmlRpcStreamRequestConfig()
setTypeFactory
public void setTypeFactory(org.apache.xmlrpc.common.TypeFactory typeFactory)
getTypeFactory
public org.apache.xmlrpc.common.TypeFactory getTypeFactory()
Apache Camel