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

public Class ConverterForAtom10

extends Object
implements Converter
Class Inheritance
All Implemented Interfaces
com.rometools.rome.feed.synd.Converter
Imports
java.util.ArrayList, .Date, .List, org.jdom2.Element, com.rometools.rome.feed.WireFeed, com.rometools.rome.feed.atom.Category, .Content, .Entry, .Feed, .Link, .Person, com.rometools.rome.feed.module.impl.ModuleUtils, com.rometools.rome.feed.synd.Converter, .SyndCategory, .SyndCategoryImpl, .SyndContent, .SyndContentImpl, .SyndEnclosure, .SyndEnclosureImpl, .SyndEntry, .SyndEntryImpl, .SyndFeed, .SyndFeedImpl, .SyndImage, .SyndImageImpl, .SyndLink, .SyndLinkImpl, .SyndPerson, com.rometools.utils.Lists, .Strings

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.
protected Content
protected List<Content>
createAtomContents(final List<SyndContent> syndContents)

public Link
createAtomEnclosure(final SyndEnclosure syndEnclosure)

protected List<Entry>
createAtomEntries(final List<SyndEntry> syndEntries)

protected Entry
createAtomEntry(final SyndEntry sEntry)

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 SyndContent
createSyndContent(final Content content)

protected List<SyndEntry>
createSyndEntries(final Feed feed, final List<Entry> atomEntries, final boolean preserveWireItems)

protected SyndEntry
createSyndEntry(final Feed feed, final Entry entry, final boolean preserveWireItem)

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

ConverterForAtom10back to summary
public ConverterForAtom10()
ConverterForAtom10back to summary
protected ConverterForAtom10(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
createAtomContentback to summary
protected Content createAtomContent(final SyndContent sContent)
createAtomContentsback to summary
protected List<Content> createAtomContents(final List<SyndContent> syndContents)
createAtomEnclosureback to summary
public Link createAtomEnclosure(final SyndEnclosure syndEnclosure)
createAtomEntriesback to summary
protected List<Entry> createAtomEntries(final List<SyndEntry> syndEntries)
createAtomEntryback to summary
protected Entry createAtomEntry(final SyndEntry sEntry)
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
createSyndContentback to summary
protected SyndContent createSyndContent(final Content content)
createSyndEntriesback to summary
protected List<SyndEntry> createSyndEntries(final Feed feed, final List<Entry> atomEntries, final boolean preserveWireItems)
createSyndEntryback to summary
protected SyndEntry createSyndEntry(final Feed feed, final Entry entry, final boolean preserveWireItem)
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