net.spy.digg.parsers
Class TopicsParser

java.lang.Object
  extended by net.spy.digg.parsers.BaseParser
      extended by net.spy.digg.parsers.TopicsParser

public class TopicsParser
extends BaseParser

Parse the topics.


Constructor Summary
TopicsParser()
           
 
Method Summary
 java.util.Map<java.lang.String,TopicContainer> getContainers()
          Get a map of all topic containers by short name.
protected  java.lang.String getRootElementName()
          Get the name of the expected root element.
protected  void handleDocument(org.w3c.dom.Document doc)
          Delegated document parsing.
 
Methods inherited from class net.spy.digg.parsers.BaseParser
getAttr, getAttr, getDocument, parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TopicsParser

public TopicsParser()
Method Detail

getRootElementName

protected java.lang.String getRootElementName()
Description copied from class: BaseParser
Get the name of the expected root element.

Specified by:
getRootElementName in class BaseParser

handleDocument

protected void handleDocument(org.w3c.dom.Document doc)
                       throws org.xml.sax.SAXException,
                              java.io.IOException
Description copied from class: BaseParser
Delegated document parsing.

Specified by:
handleDocument in class BaseParser
Throws:
org.xml.sax.SAXException
java.io.IOException

getContainers

public java.util.Map<java.lang.String,TopicContainer> getContainers()
Get a map of all topic containers by short name.