org.springframework.http.converter.feed
Class AtomFeedHttpMessageConverter
java.lang.Object
org.springframework.http.converter.AbstractHttpMessageConverter<T>
org.springframework.http.converter.feed.AbstractWireFeedHttpMessageConverter<com.google.code.rome.android.repackaged.com.sun.syndication.feed.atom.Feed>
org.springframework.http.converter.feed.AtomFeedHttpMessageConverter
- All Implemented Interfaces:
- HttpMessageConverter<com.google.code.rome.android.repackaged.com.sun.syndication.feed.atom.Feed>
public class AtomFeedHttpMessageConverter
- extends AbstractWireFeedHttpMessageConverter<com.google.code.rome.android.repackaged.com.sun.syndication.feed.atom.Feed>
Implementation of HttpMessageConverter
that can read and write Atom feeds. Specifically, this converter can handle
Feed
objects, from the
Android ROME Feed Reader,
which is a repackaging of java.net's ROME.
By default, this converter reads and writes the media type (application/atom+xml
). This can
be overridden by setting the supportedMediaTypes
property.
- Since:
- 1.0
- Author:
- Arjen Poutsma, Roy Clarkson
- See Also:
Feed
Method Summary |
protected boolean |
supports(java.lang.Class<?> clazz)
Indicates whether the given class is supported by this converter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AtomFeedHttpMessageConverter
public AtomFeedHttpMessageConverter()
supports
protected boolean supports(java.lang.Class<?> clazz)
- Description copied from class:
AbstractHttpMessageConverter
- Indicates whether the given class is supported by this converter.
- Specified by:
supports
in class AbstractHttpMessageConverter<com.google.code.rome.android.repackaged.com.sun.syndication.feed.atom.Feed>
- Parameters:
clazz
- the class to test for support
- Returns:
true
if supported; false
otherwise