|
|||||||||
| 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<T>
public abstract class PagedItemParser<T>
Base class for paged results.
| Constructor Summary | |
|---|---|
PagedItemParser()
|
|
| Method Summary | |
|---|---|
protected void |
addItem(T item)
Add an item. |
int |
getCount()
Get the number of items returned. |
java.util.Collection<T> |
getItems()
Get the items. |
int |
getOffset()
Get the offset from which these results began. |
long |
getTimestamp()
Get the timestamp. |
int |
getTotal()
Get the total number of matches. |
protected void |
parseCommonFields(org.w3c.dom.Document doc)
Extract the common paged stuff from the given document. |
| Methods inherited from class net.spy.digg.parsers.BaseParser |
|---|
getAttr, getAttr, getDocument, getRootElementName, handleDocument, parse |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PagedItemParser()
| Method Detail |
|---|
protected void parseCommonFields(org.w3c.dom.Document doc)
protected void addItem(T item)
public int getCount()
public int getOffset()
public long getTimestamp()
public int getTotal()
public java.util.Collection<T> getItems()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||