com.sun.syndication.feed.synd.impl
Class ConverterForAtom03

java.lang.Object
  extended bycom.sun.syndication.feed.synd.impl.ConverterForAtom03
All Implemented Interfaces:
Converter

public class ConverterForAtom03
extends java.lang.Object
implements Converter


Constructor Summary
ConverterForAtom03()
           
 
Method Summary
 void copyInto(AbstractFeed feed, SyndFeedI syndFeed)
          Makes a deep copy/conversion of the values of a real feed into a SyndFeed.
protected  java.util.List createAtomEntries(java.util.List syndEntries)
           
protected  Entry createAtomEntry(SyndEntryI sEntry)
           
 AbstractFeed createRealFeed(SyndFeedI syndFeed)
          Creates real feed with a deep copy/conversion of the values of a SyndFeed.
protected  java.util.List createSyndEntries(java.util.List atomEntries)
           
protected  SyndEntryI createSyndEntry(Entry entry)
           
 java.lang.String getType()
          Returns the type (version) of the real feed this converter handles.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConverterForAtom03

public ConverterForAtom03()
Method Detail

getType

public java.lang.String getType()
Description copied from interface: Converter
Returns the type (version) of the real feed this converter handles.

Specified by:
getType in interface Converter
Returns:
the real feed type.
See Also:
for details on the format of this string.


copyInto

public void copyInto(AbstractFeed feed,
                     SyndFeedI syndFeed)
Description copied from interface: Converter
Makes a deep copy/conversion of the values of a real feed into a SyndFeed.

It assumes the given SyndFeed has no properties set.

Specified by:
copyInto in interface Converter
Parameters:
feed - real feed to copy/convert.
syndFeed - the SyndFeed that will contain the copied/converted values of the real feed.

createSyndEntries

protected java.util.List createSyndEntries(java.util.List atomEntries)

createSyndEntry

protected SyndEntryI createSyndEntry(Entry entry)

createRealFeed

public AbstractFeed createRealFeed(SyndFeedI syndFeed)
Description copied from interface: Converter
Creates real feed with a deep copy/conversion of the values of a SyndFeed.

Specified by:
createRealFeed in interface Converter
Parameters:
syndFeed - SyndFeed to copy/convert value from.
Returns:
a real feed with copied/converted values of the SyndFeed.

createAtomEntries

protected java.util.List createAtomEntries(java.util.List syndEntries)

createAtomEntry

protected Entry createAtomEntry(SyndEntryI sEntry)


Copyright © 2004 Sun Microsystems. All Rights Reserved.