|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.syndication.io.impl.RSS090Generator
Feed Generator for RSS 0.90
Constructor Summary | |
|
RSS090Generator()
|
protected |
RSS090Generator(java.lang.String feedType)
|
Method Summary | |
org.jdom.Document |
generate(AbstractFeed feed)
Creates an XML document (JDOM) for the given feed bean. |
protected org.jdom.Element |
generateChannelElement(Channel channel)
|
protected org.jdom.Element |
generateDescriptionElement(Description description,
org.jdom.Namespace namespace)
|
protected org.jdom.Element |
generateDescriptionElement(java.lang.String description,
org.jdom.Namespace namespace)
|
protected org.jdom.Element |
generateImageElement(Image image)
|
protected org.jdom.Element |
generateItemElement(Item item)
|
protected org.jdom.Element |
generateRootElement(Channel channel)
|
protected org.jdom.Element |
generateSimpleElement(java.lang.String name,
java.lang.String value,
org.jdom.Namespace namespace)
|
protected org.jdom.Element |
generateTextInputElement(TextInput textInput)
|
java.lang.String |
getType()
Returns the type of feed the generator creates. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RSS090Generator()
protected RSS090Generator(java.lang.String feedType)
Method Detail |
public java.lang.String getType()
FeedGenerator
getType
in interface FeedGenerator
for details on the format of this string.
public org.jdom.Document generate(AbstractFeed feed) throws FeedException
FeedGenerator
generate
in interface FeedGenerator
feed
- the feed bean to generate the XML document from.
FeedException
- thrown if the XML Document could not be created.protected org.jdom.Element generateRootElement(Channel channel) throws FeedException
FeedException
protected org.jdom.Element generateChannelElement(Channel channel) throws FeedException
FeedException
protected org.jdom.Element generateImageElement(Image image) throws FeedException
FeedException
protected org.jdom.Element generateItemElement(Item item) throws FeedException
FeedException
protected org.jdom.Element generateTextInputElement(TextInput textInput) throws FeedException
FeedException
protected org.jdom.Element generateDescriptionElement(Description description, org.jdom.Namespace namespace) throws FeedException
FeedException
protected org.jdom.Element generateDescriptionElement(java.lang.String description, org.jdom.Namespace namespace) throws FeedException
FeedException
protected org.jdom.Element generateSimpleElement(java.lang.String name, java.lang.String value, org.jdom.Namespace namespace) throws FeedException
FeedException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |