com.raritantechnologies.searchApp.taglibrary
Class CurrentResultsDisplayRenderer

java.lang.Object
  extended bycom.raritantechnologies.searchApp.taglibrary.CurrentResultsDisplayRenderer
All Implemented Interfaces:
IConfigurable, IPageContextRenderer

public class CurrentResultsDisplayRenderer
extends java.lang.Object
implements IPageContextRenderer

Displays the Current result set.

XML Configuration Template:
   <SystemObject type="PageContextRenderer" 
                    configurableClass="com.raritantechnologies.searchApp.taglibrary.CurrentResultsDisplayRenderer"
                    cacheResultsName="[ name of cached result set ]"
                    displayFormName="[ optional display form name ]" >

     <PageContextUpdater precidence="[ BEFORE | AFTER ( default ) ]"
               class="[ class of IUpdatePageContext ]" >

     <PageContextUpdater>

     <FieldFormatter class='[ class of com.raritantechnologies.searchApp.IFieldFormatter ]"
                        formatOriginal="true|false(default) ]" >

     </FieldFormatter>

     <DisplayFormRenderer class="[ class of {@link com.raritantechnologies.searchApp.taglibrary.IDisplayFormRenderer} ]" >

     </DisplayFormRenderer>

   </SystemObject>
 


Constructor Summary
CurrentResultsDisplayRenderer()
           
 
Method Summary
 void initialize(org.w3c.dom.Element elem)
          Initializes the object from an XML tag or element.
 java.lang.String render(RaritanPageContext pContext)
          Returns the tag body.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurrentResultsDisplayRenderer

public CurrentResultsDisplayRenderer()
Method Detail

render

public java.lang.String render(RaritanPageContext pContext)
Description copied from interface: IPageContextRenderer
Returns the tag body.

Specified by:
render in interface IPageContextRenderer
Parameters:
pContext - Platform-neutral page context ( can be used in non J2EE environments such as ASP).
Returns:
The tag body text string.

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