com.raritantechnologies.concept.classifier.userInterface
Class LoadClassifierServletHandler

java.lang.Object
  extended bycom.raritantechnologies.concept.classifier.userInterface.LoadClassifierServletHandler
All Implemented Interfaces:
IConfigurable, IServletHandler

public class LoadClassifierServletHandler
extends java.lang.Object
implements IServletHandler

Loads ITrainableDocumentClassifiers into the session data cache given a selected taxonomy node from the database tables maintained by the com.raritantechnologies.concept.classifier.SelectedResultClassifierServletHandler.


Constructor Summary
LoadClassifierServletHandler()
           
 
Method Summary
static ITrainableDocumentMatcher[] getTrainableClassifiers()
           
static ITrainableDocumentMatcher[] getTrainableClassifiers(java.lang.String sessionID)
          returns array of IClassifiers that have been loaded in this session.
 void init(SearchServlet searchServlet)
           
 void initialize(org.w3c.dom.Element elem)
          Initializes the object from an XML tag or element.
 void service(DynamicHttpServletRequest pReq, HttpServletResponse pRes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoadClassifierServletHandler

public LoadClassifierServletHandler()
Method Detail

init

public void init(SearchServlet searchServlet)
Specified by:
init in interface IServletHandler

service

public void service(DynamicHttpServletRequest pReq,
                    HttpServletResponse pRes)
             throws ServletException,
                    java.io.IOException
Specified by:
service in interface IServletHandler
Throws:
ServletException
java.io.IOException

getTrainableClassifiers

public static ITrainableDocumentMatcher[] getTrainableClassifiers(java.lang.String sessionID)
returns array of IClassifiers that have been loaded in this session.


getTrainableClassifiers

public static ITrainableDocumentMatcher[] getTrainableClassifiers()

initialize

public void initialize(org.w3c.dom.Element elem)
Description copied from interface: IConfigurable
Initializes the object from an XML tag or element. This method is called by the Framework as part of the application initializtion. see ConfigurationManager, XMLConfigurationManager, XMLSearchFieldMapFactory, XMLSearchSourceFactory. Configurable objects that are owned or contained by other configurable objects will be initialized in by the parent object.

Specified by:
initialize in interface IConfigurable