com.raritantechnologies.federated.html
Class RaritanHTMLWorker

java.lang.Object
  extended byWorker
      extended bycom.raritantechnologies.federated.RaritanWorker
          extended bycom.raritantechnologies.federated.html.RaritanHTMLWorker

public class RaritanHTMLWorker
extends RaritanWorker

Handles all HTMLWorker work. This is the only class that is dependent on the Verity RaritanWorker. Ensures that an HTMLQueryProcessor is correctly coupled with an HTMLSearchSource.


Developed by Raritan Technologies Inc..

Author:
Ted Sullivan
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.raritantechnologies.federated.RaritanWorker
theQueryProcessor, theSearchSource
 
Constructor Summary
RaritanHTMLWorker()
           
 
Method Summary
protected  SearchSource getSearchSource(ISearchFieldMap sfMap, java.lang.String sourceName)
          returns an HTMLSearchSource.
protected  IXMLSearchSourceFactory getSearchSourceFactory()
           
 
Methods inherited from class com.raritantechnologies.federated.RaritanWorker
doSetCookie, handleRequest, handleTargetedRequest, init, setCookie
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RaritanHTMLWorker

public RaritanHTMLWorker()
Method Detail

getSearchSource

protected SearchSource getSearchSource(ISearchFieldMap sfMap,
                                       java.lang.String sourceName)
returns an HTMLSearchSource. This protected method is needed because the superclass (RaritanWorker) knows the name of the source from the configuration XML but it doesn't know what TYPE of source to create.

Specified by:
getSearchSource in class RaritanWorker

getSearchSourceFactory

protected IXMLSearchSourceFactory getSearchSourceFactory()
Specified by:
getSearchSourceFactory in class RaritanWorker