com.iplanet.jato.taglib.html
Class HrefTag

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--com.iplanet.jato.taglib.TagBase
              |
              +--com.iplanet.jato.taglib.DisplayFieldTagBase
                    |
                    +--com.iplanet.jato.taglib.html.HrefTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class HrefTag
extends DisplayFieldTagBase
implements javax.servlet.jsp.tagext.BodyTag

Version:
JATO/1.2.2 $Id: HrefTag.java,v 1.14 2002/03/16 03:26:36 todd Exp $
See Also:
Serialized Form

Fields inherited from class com.iplanet.jato.taglib.DisplayFieldTagBase
FORMATTING_ENABLED
 
Fields inherited from class com.iplanet.jato.taglib.TagBase
USE_TEI, VAR_CURRENT_CONTAINER_VIEW, VAR_CURRENT_TILED_VIEW
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_TAG
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
HrefTag()
           
 
Method Summary
protected  void appendExtraValues(CommandField field, NonSyncStringBuffer buffer)
           
protected  void appendQueryParams(NonSyncStringBuffer buffer)
          Appends the Query String name/value pairs (NVP) that have been supplied via the JSP tag attribute "queryParams".
 int doAfterBody()
           
 int doEndTag()
           
 void doInitBody()
           
 int doStartTag()
           
 java.lang.String getAnchor()
           
 javax.servlet.jsp.tagext.BodyContent getBodyContent()
           
 java.lang.String getQueryParams()
          Arbitrary Name Value pairs.
 java.lang.String getTarget()
           
 java.lang.String getTitle()
           
 java.lang.String getTrim()
           
 void reset()
          Reset any cached state to allow for a new rendering of this tag instance
 void setAnchor(java.lang.String value)
           
 void setBodyContent(javax.servlet.jsp.tagext.BodyContent value)
           
 void setQueryParams(java.lang.String value)
           
 void setTarget(java.lang.String value)
           
 void setTitle(java.lang.String value)
           
 void setTrim(java.lang.String value)
           
 
Methods inherited from class com.iplanet.jato.taglib.DisplayFieldTagBase
appendCommonHtmlAttributes, appendExtraHtml, appendJavaScriptAttributes, formatValue, getAccessKey, getAlt, getDefaultValue, getDisabled, getExtraHtml, getFormatMask, getFormatType, getOnBlur, getOnChange, getOnClick, getOnDblClick, getOnFocus, getOnKeyDown, getOnKeyPress, getOnKeyUp, getOnMouseDown, getOnMouseMove, getOnMouseOut, getOnMouseOver, getOnMouseUp, getOnSelect, getTabIndex, setAccessKey, setAlt, setDefaultValue, setDisabled, setExtraHtml, setFormatMask, setFormatType, setOnBlur, setOnChange, setOnClick, setOnDblClick, setOnFocus, setOnKeyDown, setOnKeyPress, setOnKeyUp, setOnMouseDown, setOnMouseMove, setOnMouseOut, setOnMouseOver, setOnMouseUp, setOnSelect, setTabIndex
 
Methods inherited from class com.iplanet.jato.taglib.TagBase
appendStyleAttributes, checkChildType, fireBeginDisplayEvent, fireEndDisplayEvent, getElementId, getFireDisplayEvents, getName, getParentContainerView, getParentContainerViewTag, getParentViewBean, getRequestContext, getStyle, getStyleClass, getValue, getValueMap, getValues, isTrue, peekContextValue, popContainerView, popContextValue, popPageletContainerViewTag, pushContainerView, pushContextValue, pushPageletContainerViewTag, release, removeValue, setElementId, setFireDisplayEvents, setName, setStyle, setStyleClass, setValue, shouldFireDisplayEvents, writeOutput, writeOutput, writeOutput
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, setId, setPageContext, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, release, setPageContext, setParent
 

Constructor Detail

HrefTag

public HrefTag()
Method Detail

reset

public void reset()
Description copied from class: TagBase
Reset any cached state to allow for a new rendering of this tag instance
Overrides:
reset in class TagBase

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport

doInitBody

public void doInitBody()
                throws javax.servlet.jsp.JspException
Specified by:
doInitBody in interface javax.servlet.jsp.tagext.BodyTag

doAfterBody

public int doAfterBody()
                throws javax.servlet.jsp.JspException
Specified by:
doAfterBody in interface javax.servlet.jsp.tagext.BodyTag

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class javax.servlet.jsp.tagext.TagSupport

getBodyContent

public javax.servlet.jsp.tagext.BodyContent getBodyContent()

setBodyContent

public void setBodyContent(javax.servlet.jsp.tagext.BodyContent value)
Specified by:
setBodyContent in interface javax.servlet.jsp.tagext.BodyTag

appendQueryParams

protected void appendQueryParams(NonSyncStringBuffer buffer)
                          throws javax.servlet.jsp.JspException
Appends the Query String name/value pairs (NVP) that have been supplied via the JSP tag attribute "queryParams". NOTE - this tag assumes that the JSP author has URL encoded the value portions of the name value pairs where needed. This tag also prepends an ampersand '&' before the first NVP, and assumes that the JSP author has provided the '&' delimiters between the remaining NVPs.

appendExtraValues

protected void appendExtraValues(CommandField field,
                                 NonSyncStringBuffer buffer)
                          throws javax.servlet.jsp.JspException

getTarget

public java.lang.String getTarget()

setTarget

public void setTarget(java.lang.String value)

getTitle

public java.lang.String getTitle()

setTitle

public void setTitle(java.lang.String value)

getAnchor

public java.lang.String getAnchor()

setAnchor

public void setAnchor(java.lang.String value)

getQueryParams

public java.lang.String getQueryParams()
Arbitrary Name Value pairs. Pair's 2-n assumed to be delimited by & character

setQueryParams

public void setQueryParams(java.lang.String value)

getTrim

public java.lang.String getTrim()

setTrim

public void setTrim(java.lang.String value)