Top Description Fields Constructors Methods
com.rometools.rome.io.impl

public Class FeedGenerators

extends PluginManager<WireFeedGenerator>
Class Inheritance
Imports
java.util.List, com.rometools.rome.io.WireFeedGenerator

Generates an XML document (JDOM Document) out of a Feed.

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).

Field Summary

Modifier and TypeField and Description
public static final String
FEED_GENERATORS_KEY

WireFeedGenerator.classes= [className] ...

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public WireFeedGenerator
getGenerator(final String feedType)

protected String
public List<String>
Inherited from com.rometools.rome.io.impl.PluginManager:
getKeysgetPlugingetPluginMapgetPlugins

Field Detail

FEED_GENERATORS_KEYback to summary
public static final String FEED_GENERATORS_KEY

WireFeedGenerator.classes= [className] ...

Constructor Detail

FeedGeneratorsback to summary
public FeedGenerators()

Method Detail

getGeneratorback to summary
public WireFeedGenerator getGenerator(final String feedType)
getKeyback to summary
protected String getKey(final WireFeedGenerator obj)

Implements abstract com.rometools.rome.io.impl.PluginManager.getKey.

Annotations
@Override
getSupportedFeedTypesback to summary
public List<String> getSupportedFeedTypes()