|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjeters.components.WikiIO
public class WikiIO
default implementation of a combined input and output component
reading from and writing to any MediaWiki system.
For output, an user account on the MediaWiki is necessary.
Constructor Summary | |
---|---|
WikiIO()
constructor creating the internal bot object. |
Method Summary | |
---|---|
NamedDataSet |
getConfiguration()
this method is called to retrieve the current configuration for this component. |
PlainText |
getInput(UIComponent uiForRequests)
receive a text that can be edited by the program; the next call to getInput is expected to return another text if seriesComplete() returns false |
boolean |
hasNext()
indicates if there are still texts left for editing |
void |
output(MediaWikiText text,
UIComponent uiForRequests)
receive a text that can be edited by the program |
void |
setConfiguration(NamedDataSet configurationSet)
sets the configuration for this object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WikiIO()
Method Detail |
---|
public PlainText getInput(UIComponent uiForRequests)
InputComponent_Series
getInput
in interface InputComponent<PlainText>
getInput
in interface InputComponent_Series<PlainText>
uiForRequests
- UI-component for communication with the user (if necessary)
public void output(MediaWikiText text, UIComponent uiForRequests)
OutputComponent
output
in interface OutputComponent<MediaWikiText>
text
- the text that has been edited and should now be printed/written/etc. as the resultuiForRequests
- UI-component for communication with the user (if necessary)public void setConfiguration(NamedDataSet configurationSet)
Configurable
setConfiguration
in interface Configurable
configurationSet
- the configuration data to be used by the component
if null, the object has to use default settingspublic NamedDataSet getConfiguration()
Configurable
getConfiguration
in interface Configurable
public boolean hasNext()
InputComponent_Series
hasNext
in interface InputComponent_Series<PlainText>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |