com.raritantechnologies.federated.verity.webServices
Class VWebServicesSearchSourceFactory

java.lang.Object
  extended bycom.raritantechnologies.searchApp.XMLSearchSourceFactory
      extended bycom.raritantechnologies.federated.verity.webServices.VWebServicesSearchSourceFactory
All Implemented Interfaces:
IXMLSearchSourceFactory

public class VWebServicesSearchSourceFactory
extends XMLSearchSourceFactory

SearchSource that uses Verity WebServices Federated API.

XML Configuration Template:
  <SourceType name="[ source name ]" type="VWebServicesSearchSource" displayName="[ source display name ]"
                 sourceFactoryClass="com.raritantechnologies.federated.verity.VWebServicesSearchSourceFactory" 
                 queryProcessor="com.raritantechnologies.federated.verity.VWebServicesQueryProcessor"
                 queryField="[ field in input query that has query text ]"
                 hostPort="[ host:port to Web Services ]" >

      <QueryParser class="[ class of com.raritantechnologies.searchApp.IQueryParser ]" >

      </QueryParser>

  </SourceType>
 


Constructor Summary
VWebServicesSearchSourceFactory()
           
 
Method Summary
 SearchSource[] createSearchSources(org.w3c.dom.Element sourceElem, ISearchFieldMapFactory factory)
           
 void initializeSource(org.w3c.dom.Element sourceElem, SearchSource sSource)
          Implements initializeSource.
 
Methods inherited from class com.raritantechnologies.searchApp.XMLSearchSourceFactory
changeBasePath, initializeFieldFormatters, initializeStaticFields
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VWebServicesSearchSourceFactory

public VWebServicesSearchSourceFactory()
Method Detail

createSearchSources

public SearchSource[] createSearchSources(org.w3c.dom.Element sourceElem,
                                          ISearchFieldMapFactory factory)
Specified by:
createSearchSources in interface IXMLSearchSourceFactory
Specified by:
createSearchSources in class XMLSearchSourceFactory

initializeSource

public void initializeSource(org.w3c.dom.Element sourceElem,
                             SearchSource sSource)
Description copied from class: XMLSearchSourceFactory

Implements initializeSource. Subclasses that need more granularity or have a more sophisticated SecurityModel can override this method.

Note: these initializations occur AFTER the SearchSource subclass has been initialized.
Adds global SearchSource characteristics:

Specified by:
initializeSource in interface IXMLSearchSourceFactory
Overrides:
initializeSource in class XMLSearchSourceFactory