com.sun.syndication.io.impl
public class RSS090Parser extends BaseWireFeedParser
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 | |
---|---|
RSS090Parser() | |
protected | RSS090Parser(String type) |
Method Summary | |
---|---|
protected Namespace | getContentNamespace()
Returns the namespace used by Content Module elements in document.
|
protected Element | getImage(Element rssRoot)
This method exists because RSS0.90 and RSS1.0 have the 'image' element under the root elemment.
|
protected List | getItems(Element rssRoot)
This method exists because RSS0.90 and RSS1.0 have the 'item' elements under the root elemment.
|
protected Namespace | getRDFNamespace()
Returns the namespace used by RDF elements in document of the RSS version the parser supports.
|
protected Namespace | getRSSNamespace()
Returns the namespace used by RSS elements in document of the RSS version the parser supports.
|
protected Element | getTextInput(Element rssRoot)
This method exists because RSS0.90 and RSS1.0 have the 'textinput' element under the root elemment.
|
boolean | isMyType(Document document) |
WireFeed | parse(Document document, boolean validate) |
protected WireFeed | parseChannel(Element rssRoot)
Parses the root element of an RSS document into a Channel bean.
|
protected Image | parseImage(Element rssRoot)
Parses the root element of an RSS document looking for image information.
|
protected Item | parseItem(Element rssRoot, Element eItem)
Parses an item element of an RSS document looking for item information.
|
protected List | parseItems(Element rssRoot)
Parses the root element of an RSS document looking for all items information.
|
protected TextInput | parseTextInput(Element rssRoot)
Parses the root element of an RSS document looking for text-input information.
|
protected void | validateFeed(Document document) |
This implementation returns the EMTPY namespace.
Returns: returns the EMPTY namespace.
This implementation returns the EMTPY namespace.
Returns: returns the EMPTY namespace.
This implementation returns the EMTPY namespace.
Returns: returns the EMPTY namespace.
Parameters: rssRoot the root element of the RSS document to parse.
Returns: the parsed Channel bean.
Parameters: rssRoot the root element of the RSS document to parse for image information.
Returns: the parsed image bean.
Parameters: rssRoot the root element of the RSS document in case it's needed for context. eItem the item element to parse.
Returns: the parsed RSSItem bean.
Parameters: rssRoot the root element of the RSS document to parse for all items information.
Returns: a list with all the parsed RSSItem beans.
Parameters: rssRoot the root element of the RSS document to parse for text-input information.
Returns: the parsed RSSTextInput bean.