fr.paris.lutece.plugins.rss.service.type.atom
Class AbstractAtomFeedTypeProvider
java.lang.Object
fr.paris.lutece.plugins.rss.service.type.AbstractFeedTypeProvider
fr.paris.lutece.plugins.rss.service.type.atom.AbstractAtomFeedTypeProvider
- All Implemented Interfaces:
- IFeedTypeProvider
- Direct Known Subclasses:
- DefaultAtomFeedTypeProvider
public abstract class AbstractAtomFeedTypeProvider
- extends AbstractFeedTypeProvider
AtomFeedTypeProvider
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 |
AbstractAtomFeedTypeProvider
public AbstractAtomFeedTypeProvider()
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 itemsnMaxItems
- 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 typeresource
- the resourcestrEncoding
- the encodingnMaxItems
- the max number of items
- Returns:
- a
WireFeed
Copyright © 2011 Mairie de Paris. All Rights Reserved.