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

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

public class DefaultAtomFeedTypeProvider
extends AbstractAtomFeedTypeProvider

AtomFeedTypeProvider


Field Summary
 
Fields inherited from class fr.paris.lutece.plugins.rss.service.type.AbstractFeedTypeProvider
MAX_ITEM_UNLIMITED
 
Constructor Summary
DefaultAtomFeedTypeProvider()
           
 
Method Summary
 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
 com.sun.syndication.feed.atom.Entry getATOMEntry(fr.paris.lutece.portal.business.rss.IFeedResourceItem resourceItem)
          Builds an ATOM Entry
 boolean isInvoked(java.lang.String strFeedType)
          Check if the provider is invoked
 
Methods inherited from class fr.paris.lutece.plugins.rss.service.type.atom.AbstractAtomFeedTypeProvider
getWireFeed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultAtomFeedTypeProvider

public DefaultAtomFeedTypeProvider()
Method Detail

isInvoked

public boolean isInvoked(java.lang.String strFeedType)
Check if the provider is invoked

Parameters:
strFeedType - the feed type
Returns:
true if the provider is invoked, false otherwise

getATOMEntries

public 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

Specified by:
getATOMEntries in class AbstractAtomFeedTypeProvider
Parameters:
listItems - the items
nMaxItems - max item
Returns:
the entries

getATOMEntry

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

Specified by:
getATOMEntry in class AbstractAtomFeedTypeProvider
Parameters:
resourceItem - the item
Returns:
the entry


Copyright © 2011 Mairie de Paris. All Rights Reserved.