fr.paris.lutece.plugins.rss.service.type.atom
Class AbstractAtomFeedTypeProvider

java.lang.Object
  extended by fr.paris.lutece.plugins.rss.service.type.AbstractFeedTypeProvider
      extended by fr.paris.lutece.plugins.rss.service.type.atom.AbstractAtomFeedTypeProvider
All Implemented Interfaces:
IFeedTypeProvider
Direct Known Subclasses:
DefaultAtomFeedTypeProvider

public abstract class AbstractAtomFeedTypeProvider
extends AbstractFeedTypeProvider

AtomFeedTypeProvider


Field Summary
 
Fields inherited from class fr.paris.lutece.plugins.rss.service.type.AbstractFeedTypeProvider
MAX_ITEM_UNLIMITED
 
Constructor Summary
AbstractAtomFeedTypeProvider()
           
 
Method Summary
abstract  java.util.List<com.sun.syndication.feed.atom.Entry> getATOMEntries(java.util.List<fr.paris.lutece.portal.business.rss.IFeedResourceItem> listItems, int nMaxItems)
          Gets the atom entries
abstract  com.sun.syndication.feed.atom.Entry getATOMEntry(fr.paris.lutece.portal.business.rss.IFeedResourceItem resourceItem)
          Builds an ATOM Entry
 com.sun.syndication.feed.WireFeed getWireFeed(java.lang.String strFeedType, fr.paris.lutece.portal.business.rss.IFeedResource resource, java.lang.String strEncoding, int nMaxItems)
          Get the wire feed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fr.paris.lutece.plugins.rss.service.type.IFeedTypeProvider
isInvoked
 

Constructor Detail

AbstractAtomFeedTypeProvider

public AbstractAtomFeedTypeProvider()
Method Detail

getATOMEntries

public abstract java.util.List<com.sun.syndication.feed.atom.Entry> getATOMEntries(java.util.List<fr.paris.lutece.portal.business.rss.IFeedResourceItem> listItems,
                                                                                   int nMaxItems)
Gets the atom entries

Parameters:
listItems - the items
nMaxItems - max item
Returns:
the entries

getATOMEntry

public abstract com.sun.syndication.feed.atom.Entry getATOMEntry(fr.paris.lutece.portal.business.rss.IFeedResourceItem resourceItem)
Builds an ATOM Entry

Parameters:
resourceItem - the item
Returns:
the entry

getWireFeed

public com.sun.syndication.feed.WireFeed getWireFeed(java.lang.String strFeedType,
                                                     fr.paris.lutece.portal.business.rss.IFeedResource resource,
                                                     java.lang.String strEncoding,
                                                     int nMaxItems)
Get the wire feed

Parameters:
strFeedType - the feed type
resource - the resource
strEncoding - the encoding
nMaxItems - the max number of items
Returns:
a WireFeed


Copyright © 2011 Mairie de Paris. All Rights Reserved.