com.macromedia.rssu
Class RdfStyleParser

java.lang.Object
  extended bycom.macromedia.rssu.Parser
      extended bycom.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.


Constructor Summary
RdfStyleParser()
           
 
Method Summary
 Channel parse(org.w3c.dom.Document doc)
          Parse xml document into a Channel object.
 
Methods inherited from class com.macromedia.rssu.Parser
parse, parse, parse, parse
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RdfStyleParser

public RdfStyleParser()
Method Detail

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