T - ofpublic abstract class TitleQuery<T> extends MWAction implements Iterable<T>, Iterator<T>
| Modifier and Type | Class and Description |
|---|---|
class |
TitleQuery.InnerAction
Inner helper class for this type.
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
nextPageInfo
Information necessary to get the next api page.
|
protected Iterator<T> |
titleIterator |
| Modifier | Constructor and Description |
|---|---|
protected |
TitleQuery(MediaWikiBot bot) |
| Modifier and Type | Method and Description |
|---|---|
protected TitleQuery.InnerAction |
getInnerAction(MediaWiki.Version v) |
HttpAction |
getNextMessage() |
protected String |
getNextPageInfo() |
boolean |
hasNext() |
Iterator<T> |
iterator() |
T |
next() |
protected abstract Collection<T> |
parseArticleTitles(String s) |
protected abstract String |
parseHasMore(String s) |
protected abstract HttpAction |
prepareCollection() |
void |
remove() |
createNsString, evaluateXpath, getErrorElement, getRootElement, getRootElementWithError, hasMoreMessages, isSelfExecuter, processAllReturningText, processReturningText, setExceptionHandler, setHasMoreMessagesprotected String nextPageInfo
protected TitleQuery(MediaWikiBot bot)
protected final String getNextPageInfo()
protected TitleQuery.InnerAction getInnerAction(MediaWiki.Version v)
public HttpAction getNextMessage()
getNextMessage in interface ContentProcessableprotected abstract HttpAction prepareCollection()
protected abstract Collection<T> parseArticleTitles(String s)
Copyright © 2013. All Rights Reserved.