public class TemplateUserTitles extends TitleQuery<String>
TitleQuery.InnerActionnextPageInfo, titleIterator| Constructor and Description |
|---|
TemplateUserTitles(MediaWikiBot bot,
String templateName,
int... namespaces)
The public constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected Object |
clone() |
protected Collection<String> |
parseArticleTitles(String s)
picks the article name from a MediaWiki api response.
|
protected String |
parseHasMore(String s)
gets the information about a follow-up page from a provided api response.
|
protected HttpAction |
prepareCollection() |
String |
processAllReturningText(String s)
deals with the MediaWiki api's response by parsing the provided text.
|
getInnerAction, getNextMessage, getNextPageInfo, hasNext, iterator, next, removecreateNsString, evaluateXpath, getErrorElement, getRootElement, getRootElementWithError, hasMoreMessages, isSelfExecuter, processReturningText, setExceptionHandler, setHasMoreMessagespublic TemplateUserTitles(MediaWikiBot bot, String templateName, int... namespaces)
generateRequest(String, String, String)public String processAllReturningText(String s)
processAllReturningText in class MWActions - the answer to the most recently generated MediaWiki-requestprotected String parseHasMore(String s)
parseHasMore in class TitleQuery<String>s - text for parsingprotected Collection<String> parseArticleTitles(String s)
parseArticleTitles in class TitleQuery<String>s - text for parsingprotected HttpAction prepareCollection()
prepareCollection in class TitleQuery<String>protected Object clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionCopyright © 2013. All Rights Reserved.