com.raritantechnologies.searchApp.taglibrary
Class DynamicSearchSourceLoader

java.lang.Object
  extended byBodyTagSupport
      extended bycom.raritantechnologies.searchApp.taglibrary.DynamicSearchSourceLoader
All Implemented Interfaces:
IConfigurable, ICustomTag

public class DynamicSearchSourceLoader
extends BodyTagSupport
implements ICustomTag

Loads SearchSource configurations from a dynamic lookup source.

See Also:
Serialized Form

Constructor Summary
DynamicSearchSourceLoader()
           
 
Method Summary
 int doStartTag()
           
 java.lang.String getBody(RaritanPageContext rpc)
          Returns the tag body.
 void initialize(org.w3c.dom.Element elem)
          Initializes the object from an XML tag or element.
 void initialize(java.util.Map initParams)
           
 void setSearchParams(java.lang.String searchParams)
           
 void setSearchSource(java.lang.String searchSource)
           
 void setSourceXMLField(java.lang.String sourceXMLField)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicSearchSourceLoader

public DynamicSearchSourceLoader()
Method Detail

setSearchParams

public void setSearchParams(java.lang.String searchParams)

setSearchSource

public void setSearchSource(java.lang.String searchSource)

setSourceXMLField

public void setSourceXMLField(java.lang.String sourceXMLField)

doStartTag

public int doStartTag()
               throws JspException
Throws:
JspException

getBody

public java.lang.String getBody(RaritanPageContext rpc)
Description copied from interface: ICustomTag
Returns the tag body.

Specified by:
getBody in interface ICustomTag
Parameters:
rpc - 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

initialize

public void initialize(java.util.Map initParams)
Specified by:
initialize in interface ICustomTag