Top Fields Constructors Methods
com.rometools.rome.feed.synd.impl

public Class ConverterForRSS090

extends Object
implements Converter
Class Inheritance
All Implemented Interfaces
com.rometools.rome.feed.synd.Converter
Known Direct Subclasses
com.rometools.rome.feed.synd.impl.ConverterForRSS091Userland, com.rometools.rome.feed.synd.impl.ConverterForRSS10
Imports
java.util.ArrayList, .List, org.jdom2.Element, com.rometools.rome.feed.WireFeed, com.rometools.rome.feed.module.impl.ModuleUtils, com.rometools.rome.feed.rss.Channel, .Image, .Item, .Source, com.rometools.rome.feed.synd.Converter, .SyndEntry, .SyndEntryImpl, .SyndFeed, .SyndFeedImpl, .SyndImage, .SyndImageImpl, .SyndLink

Field Summary

Modifier and TypeField and Description
private final String

Constructor Summary

AccessConstructor and Description
public
protected

Method Summary

Modifier and TypeMethod and Description
public void
copyInto(final WireFeed
real feed to copy/convert.
feed
,
final SyndFeed
the SyndFeedImpl that will contain the copied/converted values of the real feed.
syndFeed
)

Implements com.rometools.rome.feed.synd.Converter.copyInto.

Makes a deep copy/conversion of the values of a real feed into a SyndFeedImpl.
public WireFeed
createRealFeed(final SyndFeed
SyndFeedImpl to copy/convert value from.
syndFeed
)

Implements com.rometools.rome.feed.synd.Converter.createRealFeed.

Creates real feed with a deep copy/conversion of the values of a SyndFeedImpl.
protected WireFeed
createRealFeed(final String type, final SyndFeed syndFeed)

protected Image
createRSSImage(final SyndImage sImage)

protected Item
createRSSItem(final SyndEntry sEntry)

protected List<Item>
createRSSItems(final List<SyndEntry> sEntries)

protected SyndFeed
createSource(final Source source)

protected Source
createSource(final SyndFeed feed)

protected List<SyndEntry>
createSyndEntries(final List<Item> rssItems, final boolean preserveWireItems)

protected SyndEntry
createSyndEntry(final Item item, final boolean preserveWireItem)

protected SyndImage
createSyndImage(final Image rssImage)

public String
getType()

Implements com.rometools.rome.feed.synd.Converter.getType.

Returns the type (version) of the real feed this converter handles.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

typeback to summary
private final String type

Constructor Detail

ConverterForRSS090back to summary
public ConverterForRSS090()
ConverterForRSS090back to summary
protected ConverterForRSS090(final String type)

Method Detail

copyIntoback to summary
public void copyInto(final WireFeed feed, final SyndFeed syndFeed)

Implements com.rometools.rome.feed.synd.Converter.copyInto.

Doc from com.rometools.rome.feed.synd.Converter.copyInto.

Makes a deep copy/conversion of the values of a real feed into a SyndFeedImpl.

It assumes the given SyndFeedImpl has no properties set.

Parameters
feed:WireFeed

real feed to copy/convert.

syndFeed:SyndFeed

the SyndFeedImpl that will contain the copied/converted values of the real feed.

Annotations
@Override
createRealFeedback to summary
public WireFeed createRealFeed(final SyndFeed syndFeed)

Implements com.rometools.rome.feed.synd.Converter.createRealFeed.

Doc from com.rometools.rome.feed.synd.Converter.createRealFeed.

Creates real feed with a deep copy/conversion of the values of a SyndFeedImpl.

Parameters
syndFeed:SyndFeed

SyndFeedImpl to copy/convert value from.

Returns:WireFeed

a real feed with copied/converted values of the SyndFeedImpl.

Annotations
@Override
createRealFeedback to summary
protected WireFeed createRealFeed(final String type, final SyndFeed syndFeed)
createRSSImageback to summary
protected Image createRSSImage(final SyndImage sImage)
createRSSItemback to summary
protected Item createRSSItem(final SyndEntry sEntry)
createRSSItemsback to summary
protected List<Item> createRSSItems(final List<SyndEntry> sEntries)
createSourceback to summary
protected SyndFeed createSource(final Source source)
createSourceback to summary
protected Source createSource(final SyndFeed feed)
createSyndEntriesback to summary
protected List<SyndEntry> createSyndEntries(final List<Item> rssItems, final boolean preserveWireItems)
createSyndEntryback to summary
protected SyndEntry createSyndEntry(final Item item, final boolean preserveWireItem)
createSyndImageback to summary
protected SyndImage createSyndImage(final Image rssImage)
getTypeback to summary
public String getType()

Implements com.rometools.rome.feed.synd.Converter.getType.

Doc from com.rometools.rome.feed.synd.Converter.getType.

Returns the type (version) of the real feed this converter handles.

Returns:String

the real feed type.

Annotations
@Override