com.raritantechnologies.federated.verity.webServices
Class VWebServicesSearchSourceFactory
java.lang.Object
com.raritantechnologies.searchApp.XMLSearchSourceFactory
com.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>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VWebServicesSearchSourceFactory
public VWebServicesSearchSourceFactory()
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:
- SecurityModel
- Source-specific formatting
- Specified by:
initializeSource in interface IXMLSearchSourceFactory- Overrides:
initializeSource in class XMLSearchSourceFactory