de.dfki.lt.hog.modules.test
Class SampleRemoteTagger

java.lang.Object
  extended by de.dfki.lt.hog.Module
      extended by de.dfki.lt.hog.XmlRpcModule
          extended by de.dfki.lt.hog.modules.test.SampleRemoteTagger
All Implemented Interfaces:
XmlRpcClientInterface

public class SampleRemoteTagger
extends XmlRpcModule

This module can only communicate with an adaptor, a remote module, via XML-RPC. process(String) calls process(String, Vector) specified by the XmlRpcClientInterface which is implemented by the abstract XmlRpcModule class.

See Also:
XmlRpcClientInterface, XmlRpcModule

Field Summary
 
Fields inherited from class de.dfki.lt.hog.XmlRpcModule
XMLRPC_HANDLER_METHOD, XMLRPC_HANDLER_NAME, XMLRPC_SERVER_URL, xmlRpcModuleLog
 
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
SampleRemoteTagger(java.util.Properties remoteTaggerProps)
          Creates a SampleRemoteTagger configured by given properties.
 
Method Summary
 java.lang.String process(java.lang.String processString)
           
 org.w3c.dom.Node processDOMTree(org.w3c.dom.Node processTree)
           
 
Methods inherited from class de.dfki.lt.hog.XmlRpcModule
getXmlRpcClient, getXmlRpcHandlerMethod, getXmlRpcHandlerName, getXmlRpcServerUrl, init, process, setXmlRpcClient, setXmlRpcHandlerMethod, setXmlRpcHandlerName, setXmlRpcServerUrl, shutdown, start
 
Methods inherited from class de.dfki.lt.hog.Module
getAbsolutOrRelativePath, getConfig, getFileProperty, getMoCoMan, getModuleDepth, getModuleLanguage, getModuleName, getModuleRootElement, getProperty, getProperty, searchConfigFile, searchConfigFile, setConfig, setMoCoMan, setModuleDepth, setModuleLanguage, setModuleName, setModuleRootElement, setProperty, shutdown, suitable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SampleRemoteTagger

public SampleRemoteTagger(java.util.Properties remoteTaggerProps)
Creates a SampleRemoteTagger configured by given properties.

Parameters:
remoteTaggerProps - configures this SampleRemoteTagger
Method Detail

process

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

processDOMTree

public org.w3c.dom.Node processDOMTree(org.w3c.dom.Node processTree)
Specified by:
processDOMTree in class XmlRpcModule