|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.module.rssaggregator.generator.AbstractSyndFeedGenerator info.magnolia.module.rssaggregator.generator.PlanetFeedGenerator
public class PlanetFeedGenerator
Generates a SyndFeed
based on aggregate planet feeds defined via the RSS Aggregator Module.
Constructor Summary | |
---|---|
PlanetFeedGenerator()
|
Method Summary | |
---|---|
Object |
clone()
|
Feed |
generate()
Generate a SyndFeed. |
protected String |
getFeedType()
Determine the feed type. |
List<com.sun.syndication.feed.synd.SyndEntry> |
loadFeedEntries()
Template method for subclasses to implement in order to provide the feed entries to include in the Feed to generate. |
void |
setFeedInfo(com.sun.syndication.feed.synd.SyndFeed feed)
Template method for subclasses are to override in order to set appropriate Feed meta data. |
void |
setFeedPath(String feedPath)
|
Methods inherited from class info.magnolia.module.rssaggregator.generator.AbstractSyndFeedGenerator |
---|
newSyndFeed, syndFeedToXml |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PlanetFeedGenerator()
Method Detail |
---|
public void setFeedPath(String feedPath)
public Feed generate() throws FeedGenerationException
AbstractSyndFeedGenerator
generate
in interface FeedGenerator
generate
in class AbstractSyndFeedGenerator
FeedGenerationException
- when an exception occurs while generating the aggregate feedpublic List<com.sun.syndication.feed.synd.SyndEntry> loadFeedEntries()
AbstractSyndFeedGenerator
loadFeedEntries
in class AbstractSyndFeedGenerator
public void setFeedInfo(com.sun.syndication.feed.synd.SyndFeed feed)
AbstractSyndFeedGenerator
title
, link
and description
. The given feed
will never be null.
setFeedInfo
in class AbstractSyndFeedGenerator
feed
- the syndication feed that is generated to set the feed meta data forpublic Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
protected String getFeedType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |