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

public Class ConverterForAtom03

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.Content, .Entry, .Feed, .Link, .Person, com.rometools.rome.feed.module.impl.ModuleUtils, com.rometools.rome.feed.synd.Converter, .SyndContent, .SyndContentImpl, .SyndEnclosure, .SyndEnclosureImpl, .SyndEntry, .SyndEntryImpl, .SyndFeed, .SyndImage, .SyndImageImpl, .SyndLink, .SyndLinkImpl, .SyndPerson, .SyndPersonImpl, com.rometools.utils.Alternatives, .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.
public Link
createAtomEnclosure(final SyndEnclosure syndEnclosure)

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

protected Entry
createAtomEntry(final SyndEntry sEntry)

protected static List<SyndPerson>
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 List<SyndEntry>
createSyndEntries(final List<Entry> atomEntries, final boolean preserveWireItems)

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

protected static List<SyndPerson>
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

ConverterForAtom03back to summary
public ConverterForAtom03()
ConverterForAtom03back to summary
protected ConverterForAtom03(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
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)
createAtomPersonsback to summary
protected static List<SyndPerson> createAtomPersons(final List<SyndPerson> sPersons)
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
createSyndEntriesback to summary
protected List<SyndEntry> createSyndEntries(final List<Entry> atomEntries, final boolean preserveWireItems)
createSyndEntryback to summary
protected SyndEntry createSyndEntry(final Entry entry, final boolean preserveWireItem)
createSyndPersonsback to summary
protected static List<SyndPerson> createSyndPersons(final List<SyndPerson> aPersons)
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