public class GetRevision extends MWAction
| Modifier and Type | Field and Description |
|---|---|
static int |
COMMENT |
static int |
CONTENT |
static int |
FIRST |
static int |
FLAGS |
static int |
IDS |
static int |
LAST |
static int |
TIMESTAMP |
static int |
USER |
| Constructor and Description |
|---|
GetRevision(MediaWiki.Version v,
String articlename,
int properties)
TODO follow redirects.
|
| Modifier and Type | Method and Description |
|---|---|
SimpleArticle |
getArticle() |
HttpAction |
getNextMessage() |
String |
processReturningText(String s,
HttpAction ha)
Deals with the MediaWiki API's response by parsing the provided text.
|
createNsString, evaluateXpath, getErrorElement, getRootElement, getRootElementWithError, hasMoreMessages, isSelfExecuter, processAllReturningText, setExceptionHandler, setHasMoreMessagespublic static final int CONTENT
public static final int TIMESTAMP
public static final int USER
public static final int COMMENT
public static final int IDS
public static final int FLAGS
public static final int FIRST
public static final int LAST
public GetRevision(MediaWiki.Version v, String articlename, int properties)
public String processReturningText(String s, HttpAction ha)
processReturningText in interface ReturningTextprocessReturningText in class MWActions - the answer to the most recently generated MediaWiki API requestha - the requestor messagepublic SimpleArticle getArticle()
public HttpAction getNextMessage()
Copyright © 2013. All Rights Reserved.