public class AtomFeedHttpMessageConverter extends AbstractWireFeedHttpMessageConverter<com.google.code.rome.android.repackaged.com.sun.syndication.feed.atom.Feed>
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.
Feed
DEFAULT_CHARSET
Constructor and Description |
---|
AtomFeedHttpMessageConverter() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
supports(java.lang.Class<?> clazz)
Indicates whether the given class is supported by this converter.
|
readInternal, writeInternal
canRead, canRead, canWrite, canWrite, getContentLength, getDefaultContentType, getSupportedMediaTypes, read, setSupportedMediaTypes, write
protected boolean supports(java.lang.Class<?> clazz)
AbstractHttpMessageConverter
supports
in class AbstractHttpMessageConverter<com.google.code.rome.android.repackaged.com.sun.syndication.feed.atom.Feed>
clazz
- the class to test for supporttrue
if supported; false
otherwise