public class FeedGenerators extends PluginManager
It can generate all flavors of RSS (0.90, 0.91, 0.92, 0.93, 0.94, 1.0 and 2.0) and Atom 0.3 feed.
WireFeedGenerator instances are thread safe.
Generators for a specific type must extend this class and register in the generator list. (Right now registration is hardcoded in the WireFeedGenerator constructor).
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FEED_GENERATORS_KEY
WireFeedGenerator.classes= [className] ...
|
| Constructor and Description |
|---|
FeedGenerators() |
| Modifier and Type | Method and Description |
|---|---|
WireFeedGenerator |
getGenerator(java.lang.String feedType) |
protected java.lang.String |
getKey(java.lang.Object obj) |
java.util.List |
getSupportedFeedTypes() |
getKeys, getPlugin, getPluginMap, getPluginspublic static final java.lang.String FEED_GENERATORS_KEY
public WireFeedGenerator getGenerator(java.lang.String feedType)
protected java.lang.String getKey(java.lang.Object obj)
getKey in class PluginManagerpublic java.util.List getSupportedFeedTypes()