net.sourceforge.rssowl.dao.feedparser
Class BaseRSSParser
java.lang.Object
net.sourceforge.rssowl.dao.feedparser.AbstractFeedParser
net.sourceforge.rssowl.dao.feedparser.BaseRSSParser
- Direct Known Subclasses:
- RSS_0_91_Parser, RSS_0_92_Parser, RSS_2_0_Parser
- public class BaseRSSParser
- extends AbstractFeedParser
Basic RSS Parser used by RSS versions 0.91, 0.92 and 2.0 to parse Elements
that all three have in common. These Elements are all sub-elements of the
Channel-Tag and do therefor not belong to the item-element.
- Version:
- 1.1.3
- Author:
- Benjamin Pasero
Constructor Summary |
protected |
BaseRSSParser(org.jdom.Document document,
Channel rssChannel,
String url,
org.jdom.Namespace[] nameSpaces)
Instantiate a new Parser for this format. |
Method Summary |
protected void |
parse()
Parse elements that are defined in the specifications and add them to the
Channel. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseRSSParser
protected BaseRSSParser(org.jdom.Document document,
Channel rssChannel,
String url,
org.jdom.Namespace[] nameSpaces)
throws NewsfeedFactoryException
- Instantiate a new Parser for this format.
- Parameters:
document
- The document containing the data to parserssChannel
- The Channel to fill with data from the documenturl
- The URL of the Newsfeed that is parsednameSpaces
- Possible Namespaces of the XML document
- Throws:
NewsfeedFactoryException
- If any error occurs
parse
protected void parse()
throws NewsfeedFactoryException
- Description copied from class:
AbstractFeedParser
- Parse elements that are defined in the specifications and add them to the
Channel.
- Specified by:
parse
in class AbstractFeedParser
- Throws:
NewsfeedFactoryException
- If any error occurs- See Also:
AbstractFeedParser.parse()
RSSOwl - RSS / RDF / Atom Newsreader