com.macromedia.rssu
Class RssStyleParser
java.lang.Object
com.macromedia.rssu.Parser
com.macromedia.rssu.RssStyleParser
- public class RssStyleParser
- extends Parser
This parser knows how to parse RSS feeds that use the RSS style of
document. This corresponds to versions .90, .91, and 2.0 of the RSS
specifications.
You can tell that you are dealing
with an RSS style stream because
the outer tags are, uh, <rss>...</rss>.
Unless you know what are you are doing, you probably don't want
to be using this object. Instead use the AutoParser, which doesn't
require you to know what style of feed you have.
|
Method Summary |
Channel |
parse(org.w3c.dom.Document doc)
Parse xml document into a Channel object. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RssStyleParser
public RssStyleParser()
parse
public Channel parse(org.w3c.dom.Document doc)
throws RssException
- Parse xml document into a Channel object.
A Channel object is our top level data
model object to represent an Rss feed.
- Specified by:
parse in class Parser
- Parameters:
doc - is the document to parseL
- Returns:
- an object version of this stream.
- Throws:
RssException