Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.sun.syndication.io
Interface WireFeedGenerator  view WireFeedGenerator download WireFeedGenerator.java


public interface WireFeedGenerator

Generates an XML document (JDOM) out of a feed for a specific real feed type.

WireFeedGenerator instances must thread safe.

TODO: explain how developers can plugin their own implementations.


Method Summary
 org.jdom.Document generate(com.sun.syndication.feed.WireFeed feed)
          Creates an XML document (JDOM) for the given feed bean.
 java.lang.String getType()
          Returns the type of feed the generator creates.
 

Method Detail

getType

public java.lang.String getType()
Returns the type of feed the generator creates.


generate

public org.jdom.Document generate(com.sun.syndication.feed.WireFeed feed)
                           throws java.lang.IllegalArgumentException,
                                  FeedException
Creates an XML document (JDOM) for the given feed bean.