com.sun.syndication.io.impl
public class RSS10Parser extends RSS090Parser
Field Summary | |
---|---|
static String | RSS_URI |
Constructor Summary | |
---|---|
RSS10Parser() | |
protected | RSS10Parser(String type) |
Method Summary | |
---|---|
protected Namespace | getRSSNamespace()
Returns the namespace used by RSS elements in document of the RSS 1.0
|
boolean | isMyType(Document document)
Indicates if a JDom document is an RSS instance that can be parsed with the parser.
|
protected WireFeed | parseChannel(Element rssRoot) |
protected Item | parseItem(Element rssRoot, Element eItem)
Parses an item element of an RSS document looking for item information.
|
protected Description | parseItemDescription(Element rssRoot, Element eDesc) |
Returns: returns "http://purl.org/rss/1.0/".
Parameters: document document to check if it can be parsed with this parser implementation.
Returns: true if the document is RSS1., false otherwise.
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.