public interface ArticleQuery extends CollectionReader
An interface for online document retrieval
Copyright: Copyright (c) 2003
Company: IST, Drexel University
| Modifier and Type | Method and Description |
|---|---|
Article |
getArticle()
read out the article the current pointer points to.
|
String |
getArticleKey()
In some cases, retrieval of an article is very expensive.
|
int |
getCurPageNo() |
int |
getCurPageWidth() |
int |
getPageNum() |
int |
getPageWidth() |
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(String terms)
Set the searching terms.
|
close, getArticleByKey, getArticleParser, getNextArticle, restart, setArticleParser, size, supportArticleKeyRetrievalboolean initQuery()
void setSearchTerm(String terms)
terms: - the searching terms.boolean moveToNextPage()
boolean moveToPage(int pageNo)
pageNo - the page #int getPageNum()
int getPageWidth()
int getCurPageWidth()
int getCurPageNo()
boolean moveToNextArticle()
boolean moveToArticle(int indexInPage)
indexInPage - the position of the article in the current page.String getArticleKey()
Article getArticle()
Copyright © 2018 JULIE Lab, Germany. All rights reserved.