|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.syndication.io.impl.RSS091Generator
Feed Generator for RSS 0.91
Constructor Summary | |
|
RSS091Generator()
|
protected |
RSS091Generator(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)
|
protected org.jdom.Element |
generateDescriptionElement(java.lang.String description)
|
protected org.jdom.Element |
generateImageElement(Image image)
|
protected org.jdom.Element |
generateItemElement(Item item)
|
protected org.jdom.Element |
generateLanguageElement(java.lang.String language)
|
protected org.jdom.Element |
generateRootElement(Channel channel)
|
protected org.jdom.Element |
generateSimpleElement(java.lang.String name,
java.lang.String value)
|
protected org.jdom.Element |
generateSkipDaysElement(java.util.List days)
|
protected org.jdom.Element |
generateSkipHoursElement(java.util.List hours)
|
protected org.jdom.Element |
generateTextInputElement(TextInput textInput)
|
java.lang.String |
getType()
Returns the type of feed the generator creates. |
protected java.lang.String |
getVersion()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RSS091Generator()
protected RSS091Generator(java.lang.String feedType)
Method Detail |
protected java.lang.String getVersion()
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 generateLanguageElement(java.lang.String language) throws FeedException
FeedException
protected org.jdom.Element generateSkipHoursElement(java.util.List hours) throws FeedException
FeedException
protected org.jdom.Element generateSkipDaysElement(java.util.List days) 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(java.lang.String description) throws FeedException
FeedException
protected org.jdom.Element generateDescriptionElement(Description description) throws FeedException
FeedException
protected org.jdom.Element generateSimpleElement(java.lang.String name, java.lang.String value) throws FeedException
FeedException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |