com.raritantechnologies.searchApp.resultComparators
Class ResultMatcherFilter
java.lang.Object
com.raritantechnologies.searchApp.dataCollection.GatewayProcessorFilter
com.raritantechnologies.searchApp.resultComparators.ResultMatcherFilter
- All Implemented Interfaces:
- ICollectionIndexer, IConfigurable, IGatewayOutputProcessor, IResultSetFilter, IResultSetProcessor
- public class ResultMatcherFilter
- extends GatewayProcessorFilter
- implements IResultSetFilter
GatewayProcessorFilter that uses an IResultMatcher to filter a result set.
XML Configuration Template: (GatewayOutputProcessor)
<GatewayOutputProcessor class"com.raritantechnologies.searchApp.resultComparators.ResultMatcherFilter" >
<ResultMatcher class="[implementation of IResultMatcher]" >
<!-- parameters required by first matcher -->
</ResultMatcher>
<OutputProcessor class="[ class of com.raritantechnologies.dataCollection.IGatewayOutputProcessor ]" >
<OutputProcessor>
</GatewayOutputProcessor>
XML Configuration Template: (IResultSetFilter)
<ResultSetFilter class"com.raritantechnologies.searchApp.resultComparators.ResultMatcherFilter" >
<ResultMatcher class="[implementation of IResultMatcher]" >
<!-- parameters required by first matcher -->
</ResultMatcher>
</ResultSetFilter>
Developed by
Raritan Technologies .
- Author:
- Ted Sullivan
| Methods inherited from class com.raritantechnologies.searchApp.dataCollection.GatewayProcessorFilter |
addOutputProcessor, addPostProcessor, dataComplete, filterResultSet, getConfigurationXML, initialize, processData, processResultSet, sendToOutput, setIndexMode, setUserMatcher |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResultMatcherFilter
public ResultMatcherFilter()
ResultMatcherFilter
public ResultMatcherFilter(IResultMatcher matcher)
ResultMatcherFilter
public ResultMatcherFilter(IResultMatcher matcher,
ILoginInfo user)
filterData
protected IResultSet filterData(IResultSet data)
- Overrides:
filterData in class GatewayProcessorFilter
filterResultSet
public IResultSet filterResultSet(java.lang.String sessionID,
IResultSet data)
- Description copied from interface:
IResultSetFilter
- Filter the IResultSet (somehow)
- Specified by:
filterResultSet in interface IResultSetFilter
setUser
public void setUser(ILoginInfo user)
setResultMatcher
public void setResultMatcher(IResultMatcher matcher)
- Overrides:
setResultMatcher in class GatewayProcessorFilter
initialize
public void initialize(org.w3c.dom.Element outputProcElem,
ISearchFieldMap sfMap)
- Description copied from interface:
IGatewayOutputProcessor
- Initialize the GatewayOutputProcessor from XML Configuration Element.
- Specified by:
initialize in interface IGatewayOutputProcessor- Overrides:
initialize in class GatewayProcessorFilter
initialize
public void initialize(org.w3c.dom.Element elem)
- Description copied from interface:
IResultSetFilter
- Initialize the from XML Element.
- Specified by:
initialize in interface IResultSetFilter- Overrides:
initialize in class GatewayProcessorFilter