net.spy.digg.parsers
Class UsersParser

java.lang.Object
  extended by net.spy.digg.parsers.BaseParser
      extended by net.spy.digg.parsers.PagedItemParser<User>
          extended by net.spy.digg.parsers.UsersParser

public class UsersParser
extends PagedItemParser<User>

User result parser.


Constructor Summary
UsersParser()
           
 
Method Summary
protected  java.lang.String getRootElementName()
          Get the name of the expected root element.
 java.util.Map<java.lang.String,User> getUsers()
          Get the users returned in this result (keyed off of username).
protected  void handleDocument(org.w3c.dom.Document doc)
          Delegated document parsing.
 
Methods inherited from class net.spy.digg.parsers.PagedItemParser
addItem, getCount, getItems, getOffset, getTimestamp, getTotal, parseCommonFields
 
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

UsersParser

public UsersParser()
Method Detail

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

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

getUsers

public java.util.Map<java.lang.String,User> getUsers()
Get the users returned in this result (keyed off of username).