|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.spy.digg.parsers.BaseParser
net.spy.digg.parsers.PagedItemParser<User>
net.spy.digg.parsers.UsersParser
public class UsersParser
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 |
|---|
public UsersParser()
| Method Detail |
|---|
protected void handleDocument(org.w3c.dom.Document doc)
throws org.xml.sax.SAXException,
java.io.IOException
BaseParser
handleDocument in class BaseParserorg.xml.sax.SAXException
java.io.IOExceptionprotected java.lang.String getRootElementName()
BaseParser
getRootElementName in class BaseParserpublic java.util.Map<java.lang.String,User> getUsers()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||