de.dfki.lt.hog.modules
Class PetModule

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

public class PetModule
extends Module

Module definition for PET (cheap commandline). Created 2003-11-25


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
PetModule(java.util.Properties petModuleProps)
           
 
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
 

Constructor Detail

PetModule

public PetModule(java.util.Properties petModuleProps)
Method Detail

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

processDOMTree

public org.w3c.dom.Node processDOMTree(org.w3c.dom.Node domTree)
Specified by:
processDOMTree 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)