public class ImageUsageTitles extends TitleQuery<String>
TitleQuery.InnerActionnextPageInfo, titleIterator| Constructor and Description |
|---|
ImageUsageTitles(MediaWikiBot bot,
String nextPageInfo) |
ImageUsageTitles(MediaWikiBot bot,
String imageName,
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() |
getInnerAction, getNextMessage, getNextPageInfo, hasNext, iterator, next, removecreateNsString, evaluateXpath, getErrorElement, getRootElement, getRootElementWithError, hasMoreMessages, isSelfExecuter, processAllReturningText, processReturningText, setExceptionHandler, setHasMoreMessagespublic ImageUsageTitles(MediaWikiBot bot, String imageName, int... namespaces)
generateRequest(String, String, String)public ImageUsageTitles(MediaWikiBot bot, String nextPageInfo)
protected 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.