org.rometools.feed.synd.impl
Class ConverterForOPML20

java.lang.Object
  extended by org.rometools.feed.synd.impl.ConverterForOPML10
      extended by org.rometools.feed.synd.impl.ConverterForOPML20
All Implemented Interfaces:
com.sun.syndication.feed.synd.Converter

public class ConverterForOPML20
extends ConverterForOPML10

Author:
cooper

Field Summary
 
Fields inherited from class org.rometools.feed.synd.impl.ConverterForOPML10
URI_ATTRIBUTE, URI_TREE
 
Constructor Summary
ConverterForOPML20()
          Creates a new instance of ConverterForOPML20
 
Method Summary
 void copyInto(com.sun.syndication.feed.WireFeed feed, com.sun.syndication.feed.synd.SyndFeed syndFeed)
          Makes a deep copy/conversion of the values of a real feed into a SyndFeedImpl.
 com.sun.syndication.feed.WireFeed createRealFeed(com.sun.syndication.feed.synd.SyndFeed syndFeed)
          Creates real feed with a deep copy/conversion of the values of a SyndFeedImpl.
 String getType()
          Returns the type (version) of the real feed this converter handles.
 
Methods inherited from class org.rometools.feed.synd.impl.ConverterForOPML10
addOwner, createEntries, createEntry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConverterForOPML20

public ConverterForOPML20()
Creates a new instance of ConverterForOPML20

Method Detail

getType

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

Specified by:
getType in interface com.sun.syndication.feed.synd.Converter
Overrides:
getType in class ConverterForOPML10
Returns:
the real feed type.
See Also:
for details on the format of this string.


copyInto

public void copyInto(com.sun.syndication.feed.WireFeed feed,
                     com.sun.syndication.feed.synd.SyndFeed syndFeed)
Makes a deep copy/conversion of the values of a real feed into a SyndFeedImpl.

It assumes the given SyndFeedImpl has no properties set.

Specified by:
copyInto in interface com.sun.syndication.feed.synd.Converter
Overrides:
copyInto in class ConverterForOPML10
Parameters:
feed - real feed to copy/convert.
syndFeed - the SyndFeedImpl that will contain the copied/converted values of the real feed.

createRealFeed

public com.sun.syndication.feed.WireFeed createRealFeed(com.sun.syndication.feed.synd.SyndFeed syndFeed)
Creates real feed with a deep copy/conversion of the values of a SyndFeedImpl.

Specified by:
createRealFeed in interface com.sun.syndication.feed.synd.Converter
Overrides:
createRealFeed in class ConverterForOPML10
Parameters:
syndFeed - SyndFeedImpl to copy/convert value from.
Returns:
a real feed with copied/converted values of the SyndFeedImpl.


Copyright © 2013 ROME Project. All Rights Reserved.