com.sun.syndication.io.impl
Class FeedGenerators

java.lang.Object
  extended bycom.sun.syndication.io.impl.FeedGenerators

public class FeedGenerators
extends java.lang.Object

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.

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

Author:
Alejandro Abdelnur

Constructor Summary
FeedGenerators()
           
FeedGenerators(java.lang.String defaultFile, java.lang.String fileProperty)
           
 
Method Summary
 FeedGenerator getGenerator(java.lang.String feedType)
           
 java.util.List getSupportedFeedTypes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeedGenerators

public FeedGenerators()

FeedGenerators

public FeedGenerators(java.lang.String defaultFile,
                      java.lang.String fileProperty)
Method Detail

getSupportedFeedTypes

public java.util.List getSupportedFeedTypes()

getGenerator

public FeedGenerator getGenerator(java.lang.String feedType)


Copyright © 2004 Sun Microsystems. All Rights Reserved.