com.macromedia.rssu
Class AutoParser

java.lang.Object
  extended bycom.macromedia.rssu.Parser
      extended bycom.macromedia.rssu.AutoParser

public class AutoParser
extends Parser

This xml parser knows how to parse both RDF and RSS style feeds. You can use it for times when you don't know what type of feed you have.


Constructor Summary
AutoParser()
           
 
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

AutoParser

public AutoParser()
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 parser
Returns:
an object version of this stream
Throws:
RssException