com.raritantechnologies.searchApp.filters
Class MatcherResultSetFilter
java.lang.Object
com.raritantechnologies.searchApp.filters.MatcherResultSetFilter
- All Implemented Interfaces:
- IConfigurable, IResultSetFilter
- public class MatcherResultSetFilter
- extends java.lang.Object
- implements IResultSetFilter
Uses a IResultMatcher to filter ResultSet. Returns matched documents
or either no results or original result set.
XML Configuration Template:
<ResultSetFilter class="com.raritantechnologies.searchApp.filters.MatcherResultSetFilter"
noMatchReturn="[ ALL|NONE - if ALL - return original result set if none match ]" >
<ResultMatcher class="[ class of com.raritantechnologies.searchApp.IResultMatcher ]" >
</ResultMatcher>
</ResultSetFilter>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MatcherResultSetFilter
public MatcherResultSetFilter()
filterResultSet
public IResultSet filterResultSet(java.lang.String sessionID,
IResultSet resultSet)
- Description copied from interface:
IResultSetFilter
- Filter the IResultSet (somehow)
- Specified by:
filterResultSet in interface IResultSetFilter
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
getConfigurationXML
public java.lang.String getConfigurationXML()
getConfigurationXML
public java.lang.String getConfigurationXML(java.lang.String configurationTemplate)