de.dfki.lt.sdl.sprout
Class SproutModulesXmlXml

java.lang.Object
  extended by de.dfki.lt.sdl.Modules
      extended by de.dfki.lt.sdl.sprout.SproutModules
          extended by de.dfki.lt.sdl.sprout.SproutModulesXmlXml
All Implemented Interfaces:
IModule

public class SproutModulesXmlXml
extends SproutModules

this abstract class extends SproutModules by defining the run() method and assuming that the input value is an XML string that has to be analyzed

Since:
JDK 1.3

Field Summary
 
Fields inherited from class de.dfki.lt.sdl.sprout.SproutModules
annotationName, sprout
 
Constructor Summary
SproutModulesXmlXml()
          nothing to do here
 
Method Summary
 void init(java.lang.String[] initArgs)
          the init argument given to modules which inherit from SproutModules is interpreted to be the SProUT config filename
 java.lang.Object run(java.lang.Object input)
          calls SProUT on the input XML string; output is the printed representation (a string) of an instance of class MatchWriterImpl
 
Methods inherited from class de.dfki.lt.sdl.Modules
clear, getInput, getOutput, setInput, setOutput
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SproutModulesXmlXml

public SproutModulesXmlXml()
nothing to do here

Method Detail

init

public void init(java.lang.String[] initArgs)
the init argument given to modules which inherit from SproutModules is interpreted to be the SProUT config filename

Specified by:
init in interface IModule
Overrides:
init in class SproutModules

run

public java.lang.Object run(java.lang.Object input)
calls SProUT on the input XML string; output is the printed representation (a string) of an instance of class MatchWriterImpl

Specified by:
run in interface IModule
Overrides:
run in class Modules