org.apache.camel.dataformat.rss
Class RssDataFormat

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

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

RSS DataFormat

This data format supports two operations:

Uses ROME for RSS parsing.


Field Summary
protected static org.slf4j.Logger LOG
           
 
Constructor Summary
RssDataFormat()
           
 
Method Summary
 void marshal(org.apache.camel.Exchange exchange, Object body, OutputStream out)
           
 Object unmarshal(org.apache.camel.Exchange exchange, InputStream in)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected static final org.slf4j.Logger LOG
Constructor Detail

RssDataFormat

public RssDataFormat()
Method Detail

marshal

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

unmarshal

public Object unmarshal(org.apache.camel.Exchange exchange,
                        InputStream in)
                 throws Exception
Specified by:
unmarshal in interface org.apache.camel.spi.DataFormat
Throws:
Exception


Apache Camel