public class CiteULikeTagQuery extends AbstractQuery
CiteULike Tag Query
Copyright: Copyright (c) 2003
Company: IST, Drexel University
| Modifier and Type | Field and Description |
|---|---|
protected String[] |
arrPaper |
protected HttpUtil |
http |
protected String |
term |
articleNum, curArticle, curArticleNo, curPageNo, curPageWidth, pageNum, pageWidth| Constructor and Description |
|---|
CiteULikeTagQuery() |
CiteULikeTagQuery(String term) |
| Modifier and Type | Method and Description |
|---|---|
protected Article |
getArticle(int articleNo) |
Article |
getArticleByKey(String id)
Reads out the article according to its key
|
boolean |
initQuery()
One should call this method before retrieval articles.
|
static void |
main(String[] args) |
boolean |
moveToPage(int pageNo)
Move to the given page and the pointer is set on the first article of the page.
|
void |
setSearchTerm(String term)
Set the searching terms.
|
boolean |
supportArticleKeyRetrieval()
if the query supports this retrieval mode, one can get articles by calling getArticleByKey method.
|
close, getArticle, getArticleKey, getArticleParser, getCurPageNo, getCurPageWidth, getNextArticle, getPageNum, getPageWidth, getTotalArticleNum, loadCollection, moveToArticle, moveToNextArticle, moveToNextPage, restart, setArticleParser, sizeprotected HttpUtil http
protected String term
protected String[] arrPaper
public CiteULikeTagQuery()
public CiteULikeTagQuery(String term)
public static void main(String[] args)
public boolean supportArticleKeyRetrieval()
CollectionReaderpublic void setSearchTerm(String term)
ArticleQuerypublic boolean initQuery()
ArticleQuerypublic boolean moveToPage(int pageNo)
ArticleQuerypageNo - the page #public Article getArticleByKey(String id)
CollectionReaderid - the unique entry number of the articleprotected Article getArticle(int articleNo)
getArticle in class AbstractQueryCopyright © 2018 JULIE Lab, Germany. All rights reserved.