fr.paris.lutece.plugins.rss.service.type.rss
Class DefaultRssFeedTypeProvider
java.lang.Object
fr.paris.lutece.plugins.rss.service.type.AbstractFeedTypeProvider
fr.paris.lutece.plugins.rss.service.type.rss.AbstractRssFeedTypeProvider
fr.paris.lutece.plugins.rss.service.type.rss.DefaultRssFeedTypeProvider
- All Implemented Interfaces:
- IFeedTypeProvider
public class DefaultRssFeedTypeProvider
- extends AbstractRssFeedTypeProvider
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultRssFeedTypeProvider
public DefaultRssFeedTypeProvider()
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 itemsnMaxItems
- 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.