Class ConverterForAtom10
- java.lang.Object
-
- com.rometools.rome.feed.synd.impl.ConverterForAtom10
-
-
Constructor Summary
Constructors Modifier Constructor Description ConverterForAtom10()protectedConverterForAtom10(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.protected ContentcreateAtomContent(SyndContent sContent)protected List<Content>createAtomContents(List<SyndContent> syndContents)LinkcreateAtomEnclosure(SyndEnclosure syndEnclosure)protected List<Entry>createAtomEntries(List<SyndEntry> syndEntries)protected EntrycreateAtomEntry(SyndEntry sEntry)LinkcreateAtomLink(SyndLink syndLink)WireFeedcreateRealFeed(SyndFeed syndFeed)Creates real feed with a deep copy/conversion of the values of a SyndFeedImpl.protected SyndContentcreateSyndContent(Content content)SyndEnclosurecreateSyndEnclosure(Feed feed, Entry entry, Link link)protected List<SyndEntry>createSyndEntries(Feed feed, List<Entry> atomEntries, boolean preserveWireItems)protected SyndEntrycreateSyndEntry(Feed feed, Entry entry, boolean preserveWireItem)SyndLinkcreateSyndLink(Link link)protected List<SyndLink>createSyndLinks(List<Link> atomLinks)StringgetType()Returns the type (version) of the real feed this converter handles.
-
-
-
Constructor Detail
-
ConverterForAtom10
public ConverterForAtom10()
-
ConverterForAtom10
protected ConverterForAtom10(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(Feed feed, List<Entry> atomEntries, boolean preserveWireItems)
-
createSyndEntry
protected SyndEntry createSyndEntry(Feed feed, Entry entry, boolean preserveWireItem)
-
createSyndEnclosure
public SyndEnclosure createSyndEnclosure(Feed feed, Entry entry, Link link)
-
createAtomEnclosure
public Link createAtomEnclosure(SyndEnclosure syndEnclosure)
-
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.
-
createSyndContent
protected SyndContent createSyndContent(Content content)
-
createAtomContent
protected Content createAtomContent(SyndContent sContent)
-
createAtomContents
protected List<Content> createAtomContents(List<SyndContent> syndContents)
-
-