com.raritantechnologies.searchApp.taglibrary
Class CustomTag

java.lang.Object
  extended byBodyTagSupport
      extended bycom.raritantechnologies.searchApp.taglibrary.CustomTag

public class CustomTag
extends BodyTagSupport

General purpose JSP Tag that wraps a configurable ICustomTag object.

Custom Tag renderers are defined in the Configuration XML as System Objects. They should implement both the ICustomTag and IConfigurable interfaces:

    <SystemObjects>

      <SystemObject name="[ custom tag name ]" type="[ custom tag type ]"
                       configurableClass="[ class that implements IConfigurable interface ]" >

         <!-- configuration parameters -->
      </SystemObject>
   </SystemObjects>

 
Developed by Raritan Technologies .

Author:
Ted Sullivan
See Also:
Serialized Form

Constructor Summary
CustomTag()
           
 
Method Summary
 int doStartTag()
           
 java.lang.String getBody(java.lang.String tagName, HttpServletRequest request)
          Uses the wrapped ICustomTag to render a String - e.g.
 void setCustomTagName(java.lang.String tagName)
           
 void setCustomTagType(java.lang.String tagType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomTag

public CustomTag()
Method Detail

getBody

public java.lang.String getBody(java.lang.String tagName,
                                HttpServletRequest request)
Uses the wrapped ICustomTag to render a String - e.g. an HTML page section.


setCustomTagName

public void setCustomTagName(java.lang.String tagName)

setCustomTagType

public void setCustomTagType(java.lang.String tagType)

doStartTag

public int doStartTag()
               throws JspException
Throws:
JspException