java.lang.Object
com.sun.syndication.io.impl.BaseWireFeedGenerator
com.sun.syndication.io.impl.RSS090Generator
- All Implemented Interfaces:
- com.sun.syndication.io.WireFeedGenerator
- Direct Known Subclasses:
- RSS091UserlandGenerator, RSS10Generator
- public class RSS090Generator
- extends BaseWireFeedGenerator
Feed Generator for RSS 0.90
Method Summary |
protected void |
addChannel(com.sun.syndication.feed.rss.Channel channel,
org.jdom.Element parent)
|
protected void |
addImage(com.sun.syndication.feed.rss.Channel channel,
org.jdom.Element parent)
|
protected void |
addItem(com.sun.syndication.feed.rss.Item item,
org.jdom.Element parent,
int index)
|
protected void |
addItems(com.sun.syndication.feed.rss.Channel channel,
org.jdom.Element parent)
|
protected void |
addTextInput(com.sun.syndication.feed.rss.Channel channel,
org.jdom.Element parent)
|
protected void |
checkChannelConstraints(org.jdom.Element eChannel)
|
protected void |
checkImageConstraints(org.jdom.Element eImage)
|
protected void |
checkItemConstraints(org.jdom.Element eItem)
|
protected void |
checkItemsConstraints(org.jdom.Element parent)
|
protected void |
checkLength(org.jdom.Element parent,
java.lang.String childName,
int minLen,
int maxLen)
|
protected void |
checkNotNullAndLength(org.jdom.Element parent,
java.lang.String childName,
int minLen,
int maxLen)
|
protected void |
checkTextInputConstraints(org.jdom.Element eTextInput)
|
protected org.jdom.Document |
createDocument(org.jdom.Element root)
|
protected org.jdom.Element |
createRootElement(com.sun.syndication.feed.rss.Channel channel)
|
org.jdom.Document |
generate(com.sun.syndication.feed.WireFeed feed)
Creates an XML document (JDOM) for the given feed bean. |
protected org.jdom.Element |
generateSimpleElement(java.lang.String name,
java.lang.String value)
|
protected org.jdom.Namespace |
getFeedNamespace()
|
protected org.jdom.Namespace |
getRDFNamespace()
|
protected java.lang.String |
getTextInputLabel()
|
protected void |
populateChannel(com.sun.syndication.feed.rss.Channel channel,
org.jdom.Element eChannel)
|
protected void |
populateFeed(com.sun.syndication.feed.rss.Channel channel,
org.jdom.Element parent)
|
protected void |
populateImage(com.sun.syndication.feed.rss.Image image,
org.jdom.Element eImage)
|
protected void |
populateItem(com.sun.syndication.feed.rss.Item item,
org.jdom.Element eItem,
int index)
|
protected void |
populateTextInput(com.sun.syndication.feed.rss.TextInput textInput,
org.jdom.Element eTextInput)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RDF_URI
private static final java.lang.String RDF_URI
- See Also:
- Constant Field Values
RSS_URI
private static final java.lang.String RSS_URI
- See Also:
- Constant Field Values
RDF_NS
private static final org.jdom.Namespace RDF_NS
RSS_NS
private static final org.jdom.Namespace RSS_NS
RSS090Generator
public RSS090Generator()
RSS090Generator
protected RSS090Generator(java.lang.String type)
generate
public org.jdom.Document generate(com.sun.syndication.feed.WireFeed feed)
throws com.sun.syndication.io.FeedException
- Description copied from interface:
com.sun.syndication.io.WireFeedGenerator
- Creates an XML document (JDOM) for the given feed bean.
getFeedNamespace
protected org.jdom.Namespace getFeedNamespace()
getRDFNamespace
protected org.jdom.Namespace getRDFNamespace()
createDocument
protected org.jdom.Document createDocument(org.jdom.Element root)
createRootElement
protected org.jdom.Element createRootElement(com.sun.syndication.feed.rss.Channel channel)
populateFeed
protected void populateFeed(com.sun.syndication.feed.rss.Channel channel,
org.jdom.Element parent)
throws com.sun.syndication.io.FeedException
addChannel
protected void addChannel(com.sun.syndication.feed.rss.Channel channel,
org.jdom.Element parent)
throws com.sun.syndication.io.FeedException
populateChannel
protected void populateChannel(com.sun.syndication.feed.rss.Channel channel,
org.jdom.Element eChannel)
checkNotNullAndLength
protected void checkNotNullAndLength(org.jdom.Element parent,
java.lang.String childName,
int minLen,
int maxLen)
throws com.sun.syndication.io.FeedException
checkLength
protected void checkLength(org.jdom.Element parent,
java.lang.String childName,
int minLen,
int maxLen)
throws com.sun.syndication.io.FeedException
addImage
protected void addImage(com.sun.syndication.feed.rss.Channel channel,
org.jdom.Element parent)
throws com.sun.syndication.io.FeedException
populateImage
protected void populateImage(com.sun.syndication.feed.rss.Image image,
org.jdom.Element eImage)
getTextInputLabel
protected java.lang.String getTextInputLabel()
addTextInput
protected void addTextInput(com.sun.syndication.feed.rss.Channel channel,
org.jdom.Element parent)
throws com.sun.syndication.io.FeedException
populateTextInput
protected void populateTextInput(com.sun.syndication.feed.rss.TextInput textInput,
org.jdom.Element eTextInput)
addItems
protected void addItems(com.sun.syndication.feed.rss.Channel channel,
org.jdom.Element parent)
throws com.sun.syndication.io.FeedException
addItem
protected void addItem(com.sun.syndication.feed.rss.Item item,
org.jdom.Element parent,
int index)
throws com.sun.syndication.io.FeedException
populateItem
protected void populateItem(com.sun.syndication.feed.rss.Item item,
org.jdom.Element eItem,
int index)
generateSimpleElement
protected org.jdom.Element generateSimpleElement(java.lang.String name,
java.lang.String value)
checkChannelConstraints
protected void checkChannelConstraints(org.jdom.Element eChannel)
throws com.sun.syndication.io.FeedException
checkImageConstraints
protected void checkImageConstraints(org.jdom.Element eImage)
throws com.sun.syndication.io.FeedException
checkTextInputConstraints
protected void checkTextInputConstraints(org.jdom.Element eTextInput)
throws com.sun.syndication.io.FeedException
checkItemsConstraints
protected void checkItemsConstraints(org.jdom.Element parent)
throws com.sun.syndication.io.FeedException
checkItemConstraints
protected void checkItemConstraints(org.jdom.Element eItem)
throws com.sun.syndication.io.FeedException