|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jeters.util.AssistedComponent
net.sf.jeters.components.MediaWikiIO
public class MediaWikiIO
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 | |
---|---|
MediaWikiIO()
|
Method Summary | |
---|---|
net.sf.jeters.componentInterface.editables.MediaWikiText |
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(net.sf.jeters.componentInterface.editables.MediaWikiText text,
UIComponent uiForRequests)
receive a text that can be edited by the program |
void |
setConfiguration(Configuration configuration)
sets the configuration for this object. |
Methods inherited from class net.sf.jeters.util.AssistedComponent |
---|
getConfiguration, setLanguageResourceBundle, str, str |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MediaWikiIO()
Method Detail |
---|
public net.sf.jeters.componentInterface.editables.MediaWikiText getInput(UIComponent uiForRequests)
InputComponent_Series
getInput
in interface InputComponent<net.sf.jeters.componentInterface.editables.MediaWikiText>
getInput
in interface InputComponent_Series<net.sf.jeters.componentInterface.editables.MediaWikiText>
uiForRequests
- UI-component for communication with the user (if necessary)
public void output(net.sf.jeters.componentInterface.editables.MediaWikiText text, UIComponent uiForRequests)
OutputComponent
output
in interface OutputComponent<net.sf.jeters.componentInterface.editables.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 boolean hasNext()
InputComponent_Series
hasNext
in interface InputComponent_Series<net.sf.jeters.componentInterface.editables.MediaWikiText>
public void setConfiguration(Configuration configuration)
Configurable
setConfiguration
in interface Configurable
setConfiguration
in class AssistedComponent
configuration
- configuration to be used by the component; not null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |