com.raritantechnologies.searchApp.sourceMap.taglibrary
Class SourceMapLinkResultRenderer
java.lang.Object
com.raritantechnologies.searchApp.taglibrary.BasicResultRenderer
com.raritantechnologies.searchApp.sourceMap.taglibrary.SourceMapLinkResultRenderer
- All Implemented Interfaces:
- IConfigurable, IPreferencesBeanInfo, IResultRenderer
- public class SourceMapLinkResultRenderer
- extends BasicResultRenderer
- implements IResultRenderer
Renders a hyperlink to a federated search JSP page based on the values in a
search result.
XML Configuration Template:
<ResultRenderer
rendererClass="com.raritantechnologies.searchApp.sourceMap.taglibrary.SourceMapLinkResultRenderer"
searchURL="JSP page to execute federated search"
sourceMap=" [theSourceMap to use for the &sourceMap= parameter ]"
linkField="[ the result field to use as the hyperlink label ]" >
<!-- Field/value pairs to transfer from the IResult to the Search hyperlink.
<Fields>
<!-- one or more <Field> tags -->
<Field ID="[ result field ID ]" paramField="[ http parameter Field ]" />
<!-- etc. . . -->
</Fields>
</ResultRenderer>
Developed by
Raritan Technologies .
- Author:
- Ted Sullivan
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SourceMapLinkResultRenderer
public SourceMapLinkResultRenderer()
initialize
public void initialize(org.w3c.dom.Element elem)
- Description copied from interface:
IResultRenderer
- IResultRenderers are XML configurable.
- 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