com.sun.syndication.io.impl

Class FeedGenerators

public class FeedGenerators extends PluginManager

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

Author: Alejandro Abdelnur

Field Summary
static StringFEED_GENERATORS_KEY
WireFeedGenerator.classes= [className] ...
Constructor Summary
FeedGenerators()
Method Summary
WireFeedGeneratorgetGenerator(String feedType)
protected StringgetKey(Object obj)
ListgetSupportedFeedTypes()

Field Detail

FEED_GENERATORS_KEY

public static final String FEED_GENERATORS_KEY
WireFeedGenerator.classes= [className] ...

Constructor Detail

FeedGenerators

public FeedGenerators()

Method Detail

getGenerator

public WireFeedGenerator getGenerator(String feedType)

getKey

protected String getKey(Object obj)

getSupportedFeedTypes

public List getSupportedFeedTypes()
Copyright © Sun Microsystems. All Rights Reserved.