com.raritantechnologies.searchApp.sourceMap.taglibrary
Class SourceMapSearchResultRenderer

java.lang.Object
  extended bycom.raritantechnologies.searchApp.taglibrary.BasicResultRenderer
      extended bycom.raritantechnologies.searchApp.sourceMap.taglibrary.SourceMapSearchResultRenderer
All Implemented Interfaces:
IConfigurable, IPreferencesBeanInfo, IResultRenderer

public class SourceMapSearchResultRenderer
extends BasicResultRenderer
implements IResultRenderer

Performs a federated search based on result values of initial search using the SourceMapSearchTag to execute the search based on the result meta-data values.

XML Configuration Template:
  <ResultRenderer
        rendererClass="com.raritantechnologies.searchApp.sourceMap.taglibrary.SourceMapSearchResultRenderer"
        sourceMap="theSourceMap to use"
        sourceMapTreeName="the sourceMap tree to use"
        pageSize="10"
        displayFormName="[ optional DisplayForm name if using system DisplayForm - else use DisplayFormRenderer tag ]" >

    <Fields>
      <Field ID="[ result field ID ]" queryField="[query field name ]" />
    </Fields>

    <DisplayFormRenderer class="[ class of com.raritantechnologies.searchApp.taglibrary.IDisplayFormRenderer ]" >

    </DisplayFormRenderer>

  </ResultRenderer>
 

Developed by Raritan Technologies .

Author:
Ted Sullivan

Field Summary
 
Fields inherited from class com.raritantechnologies.searchApp.taglibrary.BasicResultRenderer
enabled, name, prefBeanName, prefCompareValue, prefEnableIfInChecklist, prefEnableIfInYesno
 
Fields inherited from interface com.raritantechnologies.searchApp.taglibrary.IResultRenderer
TEMPLATE
 
Constructor Summary
SourceMapSearchResultRenderer()
           
 
Method Summary
protected  java.lang.String doRenderResult(IResult result, int firstResult, int lastResult, int resultNum, RaritanPageContext pageContext)
           
 java.lang.String getConfigurationXML()
           
 java.lang.String getConfigurationXML(java.lang.String configurationTemplate)
           
 void initialize(org.w3c.dom.Element elem)
          Initialize the search form renderer from the configuration XML.
 
Methods inherited from class com.raritantechnologies.searchApp.taglibrary.BasicResultRenderer
getPrefBeanName, getPrefCompareValue, getPrefEnableIfInChecklist, getPrefEnableIfInYesno, getRenderer, isEnabled, renderResult, setEnable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.raritantechnologies.searchApp.taglibrary.IResultRenderer
getRenderer, isEnabled, renderResult, setEnable
 

Constructor Detail

SourceMapSearchResultRenderer

public SourceMapSearchResultRenderer()
Method Detail

initialize

public void initialize(org.w3c.dom.Element elem)
Initialize the search form renderer from the configuration XML.

Specified by:
initialize in interface IResultRenderer
Overrides:
initialize in class BasicResultRenderer

doRenderResult

protected java.lang.String doRenderResult(IResult result,
                                          int firstResult,
                                          int lastResult,
                                          int resultNum,
                                          RaritanPageContext pageContext)
Specified by:
doRenderResult in class BasicResultRenderer

getConfigurationXML

public java.lang.String getConfigurationXML()
Specified by:
getConfigurationXML in interface IResultRenderer

getConfigurationXML

public java.lang.String getConfigurationXML(java.lang.String configurationTemplate)
Specified by:
getConfigurationXML in interface IResultRenderer