com.sun.syndication.io.impl
public class RSS090Generator extends BaseWireFeedGenerator
Field Summary | |
---|---|
static Namespace | CONTENT_NS |
static String | CONTENT_URI |
static Namespace | RDF_NS |
static String | RDF_URI |
static Namespace | RSS_NS |
static String | RSS_URI |
Constructor Summary | |
---|---|
RSS090Generator() | |
protected | RSS090Generator(String type) |
Method Summary | |
---|---|
protected void | addChannel(Channel channel, Element parent) |
protected void | addImage(Channel channel, Element parent) |
protected void | addItem(Item item, Element parent, int index) |
protected void | addItems(Channel channel, Element parent) |
protected void | addTextInput(Channel channel, Element parent) |
protected void | checkChannelConstraints(Element eChannel) |
protected void | checkImageConstraints(Element eImage) |
protected void | checkItemConstraints(Element eItem) |
protected void | checkItemsConstraints(Element parent) |
protected void | checkLength(Element parent, String childName, int minLen, int maxLen) |
protected void | checkNotNullAndLength(Element parent, String childName, int minLen, int maxLen) |
protected void | checkTextInputConstraints(Element eTextInput) |
protected Document | createDocument(Element root) |
protected Element | createRootElement(Channel channel) |
Document | generate(WireFeed feed) |
protected Element | generateSimpleElement(String name, String value) |
protected Namespace | getContentNamespace() |
protected Namespace | getFeedNamespace() |
protected Namespace | getRDFNamespace() |
protected String | getTextInputLabel() |
protected void | populateChannel(Channel channel, Element eChannel)
Populates the given channel with parsed data from the ROME element that holds the
channel data.
|
protected void | populateFeed(Channel channel, Element parent) |
protected void | populateImage(Image image, Element eImage) |
protected void | populateItem(Item item, Element eItem, int index) |
protected void | populateTextInput(TextInput textInput, Element eTextInput) |
Parameters: channel the channel into which parsed data will be added. eChannel the XML element that holds the data for the channel.