org.springframework.http.converter.feed
Class RssChannelHttpMessageConverter

java.lang.Object
  extended by org.springframework.http.converter.AbstractHttpMessageConverter<T>
      extended by org.springframework.http.converter.feed.AbstractWireFeedHttpMessageConverter<com.google.code.rome.android.repackaged.com.sun.syndication.feed.rss.Channel>
          extended by org.springframework.http.converter.feed.RssChannelHttpMessageConverter
All Implemented Interfaces:
HttpMessageConverter<com.google.code.rome.android.repackaged.com.sun.syndication.feed.rss.Channel>

public class RssChannelHttpMessageConverter
extends AbstractWireFeedHttpMessageConverter<com.google.code.rome.android.repackaged.com.sun.syndication.feed.rss.Channel>

Implementation of HttpMessageConverter that can read and write RSS feeds. Specifically, this converter can handle Channel objects, from the ROME project.

By default, this converter reads and writes the media type (application/rss+xml). This can be overridden by setting the supportedMediaTypes property.

Since:
1.0.0
See Also:
Channel

Field Summary
 
Fields inherited from class org.springframework.http.converter.feed.AbstractWireFeedHttpMessageConverter
DEFAULT_CHARSET
 
Fields inherited from class org.springframework.http.converter.AbstractHttpMessageConverter
logger
 
Constructor Summary
RssChannelHttpMessageConverter()
           
 
Method Summary
protected  boolean supports(java.lang.Class<?> clazz)
           
 
Methods inherited from class org.springframework.http.converter.feed.AbstractWireFeedHttpMessageConverter
readInternal, writeInternal
 
Methods inherited from class org.springframework.http.converter.AbstractHttpMessageConverter
canRead, canRead, canWrite, canWrite, getContentLength, getDefaultContentType, getSupportedMediaTypes, read, setSupportedMediaTypes, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RssChannelHttpMessageConverter

public RssChannelHttpMessageConverter()
Method Detail

supports

protected boolean supports(java.lang.Class<?> clazz)
Specified by:
supports in class AbstractHttpMessageConverter<com.google.code.rome.android.repackaged.com.sun.syndication.feed.rss.Channel>