de.dfki.lt.sdl.sprout
Class SproutModules

java.lang.Object
  extended by de.dfki.lt.sdl.Modules
      extended by de.dfki.lt.sdl.sprout.SproutModules
All Implemented Interfaces:
IModule
Direct Known Subclasses:
SproutModulesDomDomEncapsulated, SproutModulesText, SproutModulesTextDomEncapsulated, SproutModulesTextFile, SproutModulesTextXml, SproutModulesTextXmlEncapsulated, SproutModulesXml, SproutModulesXmlFile, SproutModulesXmlXml

public abstract class SproutModules
extends Modules

this abstract class extends Modules for the purpose of interfacing SProUT with SDL; SproutModules wraps an InterpreterTest object (= empty SProUT) and initializes this interpreter with a SProUT config file, using the init() method

Since:
JDK 1.3

Field Summary
protected  java.lang.String annotationName
           
protected  SproutInterpreter sprout
          holds a reference to the SProUT interpreter
 
Constructor Summary
SproutModules()
          creates an empty interpreter
 
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
 
Methods inherited from class de.dfki.lt.sdl.Modules
clear, getInput, getOutput, run, setInput, setOutput
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sprout

protected SproutInterpreter sprout
holds a reference to the SProUT interpreter


annotationName

protected java.lang.String annotationName
Constructor Detail

SproutModules

public SproutModules()
creates an empty interpreter

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 Modules