com.sun.syndication.io
public interface WireFeedGenerator
WireFeedGenerator instances must thread safe.
TODO: explain how developers can plugin their own implementations.
Method Summary | |
---|---|
Document | generate(WireFeed feed)
Creates an XML document (JDOM) for the given feed bean.
|
String | getType()
Returns the type of feed the generator creates.
|
Parameters: feed the feed bean to generate the XML document from.
Returns: the generated XML document (JDOM).
Throws: IllegalArgumentException thrown if the type of the given feed bean does not match with the type of the WireFeedGenerator. FeedException thrown if the XML Document could not be created.
Returns: the type of feed the generator creates.