|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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(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 |
|---|
java.lang.String getType()
for details on the format of this string.
org.jdom.Document generate(WireFeed feed)
throws java.lang.IllegalArgumentException,
FeedException
feed - the feed bean to generate the XML document from.
java.lang.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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||