@Service(value="rssFeedGenerator#default") @Scope(value="prototype") public class RssFeedGenerator extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_FEEDTYPE |
static String |
DEFAULT_LANGUAGE |
private org.slf4j.Logger |
log |
Constructor and Description |
---|
RssFeedGenerator() |
Modifier and Type | Method and Description |
---|---|
com.sun.syndication.feed.synd.SyndFeed |
generateFeed(String title,
String description,
List<RssFeedEntry> dataEntries) |
private List<com.sun.syndication.feed.synd.SyndEntry> |
getEntries(List<RssFeedEntry> dataEntries) |
private org.slf4j.Logger log
public static String DEFAULT_FEEDTYPE
public static String DEFAULT_LANGUAGE
public RssFeedGenerator()
public com.sun.syndication.feed.synd.SyndFeed generateFeed(String title, String description, List<RssFeedEntry> dataEntries)
private List<com.sun.syndication.feed.synd.SyndEntry> getEntries(List<RssFeedEntry> dataEntries)
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.