com.macromedia.rssu
Class RdfStyleParser
java.lang.Object
com.macromedia.rssu.Parser
com.macromedia.rssu.RdfStyleParser
- public class RdfStyleParser
- extends Parser
This parser knows how to convert
an XML document into a Channel object,
where the XML document is written following
the RSS 1.0 specification.
Because the outer tags of this spec are
`rdf:RDF', I will call this format `rdf' style.
`rss' style being the other option.
|
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 |
RdfStyleParser
public RdfStyleParser()
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