fr.paris.lutece.plugins.rss.service.type.rss
Class DefaultRssFeedTypeProvider

java.lang.Object
  extended by fr.paris.lutece.plugins.rss.service.type.AbstractFeedTypeProvider
      extended by fr.paris.lutece.plugins.rss.service.type.rss.AbstractRssFeedTypeProvider
          extended by fr.paris.lutece.plugins.rss.service.type.rss.DefaultRssFeedTypeProvider
All Implemented Interfaces:
IFeedTypeProvider

public class DefaultRssFeedTypeProvider
extends AbstractRssFeedTypeProvider

DefaultRssFeedTypeProvider


Field Summary
 
Fields inherited from class fr.paris.lutece.plugins.rss.service.type.AbstractFeedTypeProvider
MAX_ITEM_UNLIMITED
 
Constructor Summary
DefaultRssFeedTypeProvider()
           
 
Method Summary
 com.sun.syndication.feed.rss.Item getRSSItem(fr.paris.lutece.portal.business.rss.IFeedResourceItem resourceItem)
          The entry from the item
 java.util.List<com.sun.syndication.feed.rss.Item> getRSSItems(java.util.List<fr.paris.lutece.portal.business.rss.IFeedResourceItem> listItems, int nMaxItems)
          Gets the entries for the given items.
 boolean isInvoked(java.lang.String strFeedType)
          Check if the provider is invoked
 
Methods inherited from class fr.paris.lutece.plugins.rss.service.type.rss.AbstractRssFeedTypeProvider
getWireFeed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultRssFeedTypeProvider

public DefaultRssFeedTypeProvider()
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

getRSSItems

public java.util.List<com.sun.syndication.feed.rss.Item> getRSSItems(java.util.List<fr.paris.lutece.portal.business.rss.IFeedResourceItem> listItems,
                                                                     int nMaxItems)
Gets the entries for the given items.

Specified by:
getRSSItems in class AbstractRssFeedTypeProvider
Parameters:
listItems - the items
nMaxItems - max item
Returns:
the list

getRSSItem

public com.sun.syndication.feed.rss.Item getRSSItem(fr.paris.lutece.portal.business.rss.IFeedResourceItem resourceItem)
The entry from the item

Specified by:
getRSSItem in class AbstractRssFeedTypeProvider
Returns:
the entry


Copyright © 2011 Mairie de Paris. All Rights Reserved.