com.raritantechnologies.searchApp.filters
Class FormattingResultSetFilter

java.lang.Object
  extended bycom.raritantechnologies.searchApp.filters.FormattingResultSetFilter
All Implemented Interfaces:
IConfigurable, IResultSetFilter

public class FormattingResultSetFilter
extends java.lang.Object
implements IResultSetFilter

Uses a IFieldFormatter to format a Result Set.

XML Configuration Template:
   <ResultSetFilter class="com.raritantechnologies.searchApp.filters.FormattingResultSetFilter" >

     <FieldFormatters>
       <FieldFormatter class="[ class of com.raritantechnologies.searchApp.IFieldFormatter ]" >

       </FieldFormatter>
     </FieldFormatters>
   </ResultSetFilter>
 


Field Summary
 
Fields inherited from interface com.raritantechnologies.searchApp.IResultSetFilter
TEMPLATE
 
Constructor Summary
FormattingResultSetFilter()
           
 
Method Summary
 IResultSet filterResultSet(java.lang.String sessionID, IResultSet resultSet)
          Filter the IResultSet (somehow)
 java.util.List getAttributes()
           
 java.lang.String getConfigurationXML()
           
 java.lang.String getConfigurationXML(java.lang.String configurationTemplate)
           
 void initialize(org.w3c.dom.Element elem)
          Initialize the from XML Element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormattingResultSetFilter

public FormattingResultSetFilter()
Method Detail

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)

getAttributes

public java.util.List getAttributes()