org.apache.camel.dataformat.jibx
Class JibxDataFormat

java.lang.Object
  extended by org.apache.camel.dataformat.jibx.JibxDataFormat
All Implemented Interfaces:
org.apache.camel.spi.DataFormat

public class JibxDataFormat
extends Object
implements org.apache.camel.spi.DataFormat


Constructor Summary
JibxDataFormat()
           
JibxDataFormat(Class unmarshallClass)
           
 
Method Summary
 Class getUnmarshallClass()
           
 void marshal(org.apache.camel.Exchange exchange, Object body, OutputStream stream)
           
 void setUnmarshallClass(Class unmarshallClass)
           
 Object unmarshal(org.apache.camel.Exchange exchange, InputStream stream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JibxDataFormat

public JibxDataFormat()

JibxDataFormat

public JibxDataFormat(Class unmarshallClass)
Method Detail

marshal

public void marshal(org.apache.camel.Exchange exchange,
                    Object body,
                    OutputStream stream)
             throws Exception
Specified by:
marshal in interface org.apache.camel.spi.DataFormat
Throws:
Exception

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

getUnmarshallClass

public Class getUnmarshallClass()

setUnmarshallClass

public void setUnmarshallClass(Class unmarshallClass)


Apache CAMEL