Class ConverterForRSS090
- java.lang.Object
-
- com.rometools.rome.feed.synd.impl.ConverterForRSS090
-
- All Implemented Interfaces:
Converter
- Direct Known Subclasses:
ConverterForRSS091Userland,ConverterForRSS10
public class ConverterForRSS090 extends Object implements Converter
-
-
Constructor Summary
Constructors Modifier Constructor Description ConverterForRSS090()protectedConverterForRSS090(String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcopyInto(WireFeed feed, SyndFeed syndFeed)Makes a deep copy/conversion of the values of a real feed into a SyndFeedImpl.WireFeedcreateRealFeed(SyndFeed syndFeed)Creates real feed with a deep copy/conversion of the values of a SyndFeedImpl.protected WireFeedcreateRealFeed(String type, SyndFeed syndFeed)protected ImagecreateRSSImage(SyndImage sImage)protected ItemcreateRSSItem(SyndEntry sEntry)protected List<Item>createRSSItems(List<SyndEntry> sEntries)protected SyndFeedcreateSource(Source source)protected SourcecreateSource(SyndFeed feed)protected List<SyndEntry>createSyndEntries(List<Item> rssItems, boolean preserveWireItems)protected SyndEntrycreateSyndEntry(Item item, boolean preserveWireItem)protected SyndImagecreateSyndImage(Image rssImage)StringgetType()Returns the type (version) of the real feed this converter handles.
-
-
-
Constructor Detail
-
ConverterForRSS090
public ConverterForRSS090()
-
ConverterForRSS090
protected ConverterForRSS090(String type)
-
-
Method Detail
-
getType
public String getType()
Description copied from interface:ConverterReturns the type (version) of the real feed this converter handles.- Specified by:
getTypein interfaceConverter- Returns:
- the real feed type.
- See Also:
for details on the format of this string.
-
copyInto
public void copyInto(WireFeed feed, SyndFeed syndFeed)
Description copied from interface:ConverterMakes a deep copy/conversion of the values of a real feed into a SyndFeedImpl.It assumes the given SyndFeedImpl has no properties set.
-
createSyndEntries
protected List<SyndEntry> createSyndEntries(List<Item> rssItems, boolean preserveWireItems)
-
createRealFeed
public WireFeed createRealFeed(SyndFeed syndFeed)
Description copied from interface:ConverterCreates real feed with a deep copy/conversion of the values of a SyndFeedImpl.- Specified by:
createRealFeedin interfaceConverter- Parameters:
syndFeed- SyndFeedImpl to copy/convert value from.- Returns:
- a real feed with copied/converted values of the SyndFeedImpl.
-
-