com.raritantechnologies.searchApp.taglibrary
Class CustomIFrameTag

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

public class CustomIFrameTag
extends BodyTagSupport
implements ICustomTag, IConfigurable

Generates an IFrame tag: enables relative - absolute URL mapping.

See Also:
Serialized Form

Constructor Summary
CustomIFrameTag()
           
 
Method Summary
 int doStartTag()
           
 java.lang.String getBody(RaritanPageContext rpc)
          Returns the tag body.
 java.lang.String getURL(RaritanPageContext rpc)
           
 void initialize(org.w3c.dom.Element elem)
          Initializes the object from an XML tag or element.
 void initialize(java.util.Map initParams)
           
 void setAction(java.lang.String action)
           
 void setHrefParam(java.lang.String hrefParam)
           
 void setName(java.lang.String name)
           
 void setUrlFilterName(java.lang.String urlFilterName)
          Sets the name of an StringFilter SystemObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomIFrameTag

public CustomIFrameTag()
Method Detail

setAction

public void setAction(java.lang.String action)

setHrefParam

public void setHrefParam(java.lang.String hrefParam)

setName

public void setName(java.lang.String name)

setUrlFilterName

public void setUrlFilterName(java.lang.String urlFilterName)
Sets the name of an StringFilter SystemObject


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.

getURL

public java.lang.String getURL(RaritanPageContext rpc)

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