|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An interface for online document retrieval
Copyright: Copyright (c) 2003
Company: IST, Drexel University
| Method Summary | |
Article |
getArticle()
read out the article the current pointer points to. |
java.lang.String |
getArticleKey()
In some cases, retrieval of an article is very expensive. |
int |
getCurPageNo()
|
int |
getCurPageWidth()
|
int |
getPageNum()
|
int |
getPageWidth()
|
int |
getTotalArticleNum()
|
boolean |
initQuery()
One should call this method before retrieval articles. |
boolean |
moveToArticle(int indexInPage)
Move the pointer to the give position of the current page. |
boolean |
moveToNextArticle()
The pointer will be set on the next article. |
boolean |
moveToNextPage()
Move to the next page and the pointer is set on the first article of the page. |
boolean |
moveToPage(int pageNo)
Move to the given page and the pointer is set on the first article of the page. |
void |
setSearchTerm(java.lang.String terms)
Set the searching terms. |
| Methods inherited from interface dragon.onlinedb.CollectionReader |
close, getArticleByKey, getArticleParser, getNextArticle, restart, setArticleParser, supportArticleKeyRetrieval |
| Method Detail |
public boolean initQuery()
public void setSearchTerm(java.lang.String terms)
public boolean moveToNextPage()
public boolean moveToPage(int pageNo)
pageNo - the page #
public int getTotalArticleNum()
public int getPageNum()
public int getPageWidth()
public int getCurPageWidth()
public int getCurPageNo()
public boolean moveToNextArticle()
public boolean moveToArticle(int indexInPage)
indexInPage - the position of the article in the current page.
public java.lang.String getArticleKey()
public Article getArticle()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||