de.dfki.lt.hog.modules
Class LoParModule

java.lang.Object
  extended by de.dfki.lt.hog.Module
      extended by de.dfki.lt.hog.modules.LoParModule

public class LoParModule
extends Module

Module definition for LoPar (http://www.ims.uni-stuttgart.de/projekte/gramotron/SOFTWARE/LoPar.html)


Field Summary
 
Fields inherited from class de.dfki.lt.hog.Module
CONFIG_SEARCH_PATH_PROP, LINE_SEPARATOR, MODULE_DEPTH_PROP, MODULE_LANGUAGE_PROP, MODULE_NAME_PROP, MODULE_ROOTELEMENT_PROP, moduleLog, NO, NONE, ROOT, YES
 
Constructor Summary
LoParModule(java.util.Properties loparProps)
           
 
Method Summary
 java.lang.String process(java.lang.String processString)
           
 org.w3c.dom.Node processDOMTree(org.w3c.dom.Node domTree)
           
 void shutdown()
          This is the default shutdown method.
 void start()
          Starts the lopar binary and takes care of creating input and output, compiles the transformers
 
Methods inherited from class de.dfki.lt.hog.Module
getAbsolutOrRelativePath, getConfig, getFileProperty, getMoCoMan, getModuleDepth, getModuleLanguage, getModuleName, getModuleRootElement, getProperty, getProperty, init, searchConfigFile, searchConfigFile, setConfig, setMoCoMan, setModuleDepth, setModuleLanguage, setModuleName, setModuleRootElement, setProperty, suitable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoParModule

public LoParModule(java.util.Properties loparProps)
Method Detail

start

public void start()
Starts the lopar binary and takes care of creating input and output, compiles the transformers


process

public java.lang.String process(java.lang.String processString)
Specified by:
process in class Module

processDOMTree

public org.w3c.dom.Node processDOMTree(org.w3c.dom.Node domTree)
Specified by:
processDOMTree in class Module

shutdown

public void shutdown()
Description copied from class: Module
This is the default shutdown method. If any special action is needed for shutdown, overide this method in subclass.

Overrides:
shutdown in class Module