com.sun.syndication.feed.synd
public interface Converter
Each implementation knows how to deal with a specific type (version) of a real feed.
Implementations must be thread safe.
TODO: explain how developers can plugin their own implementations.
Modifier and Type | Method and Description |
---|---|
void |
copyInto(WireFeed feed,
SyndFeed syndFeed)
Makes a deep copy/conversion of the values of a real feed into a SyndFeedImpl.
|
WireFeed |
createRealFeed(SyndFeed syndFeed)
Creates real feed with a deep copy/conversion of the values of a SyndFeedImpl.
|
java.lang.String |
getType()
Returns the type (version) of the real feed this converter handles.
|
java.lang.String getType()
for details on the format of this string.
void copyInto(WireFeed feed, SyndFeed syndFeed)
It assumes the given SyndFeedImpl has no properties set.
feed
- real feed to copy/convert.syndFeed
- the SyndFeedImpl that will contain the copied/converted values of the real feed.Copyright © Sun Microsystems. All Rights Reserved.