fr.paris.lutece.plugins.rss.service.type.rss
Class AbstractRssFeedTypeProvider
java.lang.Object
fr.paris.lutece.plugins.rss.service.type.AbstractFeedTypeProvider
fr.paris.lutece.plugins.rss.service.type.rss.AbstractRssFeedTypeProvider
- All Implemented Interfaces:
- IFeedTypeProvider
- Direct Known Subclasses:
- DefaultRssFeedTypeProvider, Rss09FeedTypeProvider
public abstract class AbstractRssFeedTypeProvider
- extends AbstractFeedTypeProvider
RssFeedTypeProvider
Method Summary |
abstract com.sun.syndication.feed.rss.Item |
getRSSItem(fr.paris.lutece.portal.business.rss.IFeedResourceItem resourceItem)
The entry from the item |
abstract 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. |
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 |
AbstractRssFeedTypeProvider
public AbstractRssFeedTypeProvider()
getRSSItems
public abstract 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.
- Parameters:
listItems
- the itemsnMaxItems
- max item
- Returns:
- the list
getRSSItem
public abstract com.sun.syndication.feed.rss.Item getRSSItem(fr.paris.lutece.portal.business.rss.IFeedResourceItem resourceItem)
- The entry from the item
- Parameters:
item
- 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 typeresource
- the resourcestrEncoding
- the encodingnMaxItems
- the max number of items
- Returns:
- a
WireFeed
Copyright © 2011 Mairie de Paris. All Rights Reserved.