public class FeedGenerators extends PluginManager<WireFeedGenerator>
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 String |
FEED_GENERATORS_KEY
WireFeedGenerator.classes= [className] ...
|
Constructor and Description |
---|
FeedGenerators() |
Modifier and Type | Method and Description |
---|---|
WireFeedGenerator |
getGenerator(String feedType) |
protected String |
getKey(WireFeedGenerator obj) |
List<String> |
getSupportedFeedTypes() |
getKeys, getPlugin, getPluginMap, getPlugins
public static final String FEED_GENERATORS_KEY
public WireFeedGenerator getGenerator(String feedType)
protected String getKey(WireFeedGenerator obj)
getKey
in class PluginManager<WireFeedGenerator>
Copyright © 2017. All rights reserved.