com.raritantechnologies.utils.filter
Class SearchStringFilter
java.lang.Object
com.raritantechnologies.utils.filter.SearchStringFilter
- All Implemented Interfaces:
- IConfigurable, IStringFilter
- public class SearchStringFilter
- extends java.lang.Object
- implements IStringFilter
A StringFilter that performs a search using an RTI SearchSource and then
formats the results using an IDisplayFormRenderer. Similar to
a LookupStringFilter in that it uses a SearchSource, but different in that this filter returns an entire formatted
result set rather than a single field value from the initial search result as LookupStringFilter does.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearchStringFilter
public SearchStringFilter()
filterString
public java.lang.String filterString(java.lang.String sessionID,
java.lang.String inputString)
- Specified by:
filterString in interface IStringFilter
filterString
public java.lang.String filterString(java.lang.String inputString)
- Specified by:
filterString in interface IStringFilter
filterString
public java.lang.String filterString(java.util.Map parameters,
java.lang.String inputString)
- Specified by:
filterString in interface IStringFilter
initialize
public void initialize(org.w3c.dom.Element elem)
- Description copied from interface:
IConfigurable
- Initializes the object from an XML tag or element.
This method is called by the Framework as part of the application initializtion.
see ConfigurationManager, XMLConfigurationManager, XMLSearchFieldMapFactory, XMLSearchSourceFactory.
Configurable objects that are owned or contained by other configurable objects will be initialized
in by the parent object.
- Specified by:
initialize in interface IConfigurable
getConfigurationXML
public void getConfigurationXML(java.io.Writer writer)
throws java.io.IOException
- Throws:
java.io.IOException
getConfigurationXML
public java.lang.String getConfigurationXML()
- Specified by:
getConfigurationXML in interface IStringFilter
getConfigurationXML
public java.lang.String getConfigurationXML(java.lang.String configurationTemplate)
- Specified by:
getConfigurationXML in interface IStringFilter