de.dfki.lt.hog.modules
Class SproutModule
java.lang.Object
de.dfki.lt.hog.Module
de.dfki.lt.hog.modules.SproutModule
public class SproutModule
- extends Module
Module definition for SProUT runtime API.
Created 2003-11-17
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 |
SproutModule(java.util.Properties sproutModuleProps)
|
Method Summary |
java.lang.String |
generateErrorResult(java.lang.String sessionID,
java.lang.String acID,
java.lang.String duration,
java.lang.String module,
java.lang.String diagnosis)
|
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. |
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 |
SproutModule
public SproutModule(java.util.Properties sproutModuleProps)
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
process
public java.lang.String process(java.lang.String processString)
- Specified by:
process
in class Module
generateErrorResult
public java.lang.String generateErrorResult(java.lang.String sessionID,
java.lang.String acID,
java.lang.String duration,
java.lang.String module,
java.lang.String diagnosis)
processDOMTree
public org.w3c.dom.Node processDOMTree(org.w3c.dom.Node domTree)
- Specified by:
processDOMTree
in class Module