Class URLParameterTag

  • All Implemented Interfaces:
    Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
    Direct Known Subclasses:
    URLParameter286Tag

    public class URLParameterTag
    extends javax.servlet.jsp.tagext.TagSupport
    The additional parameters definitions for the actionURL and renderURL tags for the JSR 168 Portlet specification.
    Version:
    $Revision: 5448 $
    Author:
    Sherman Wood
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class javax.servlet.jsp.tagext.TagSupport

        id, pageContext
      • Fields inherited from interface javax.servlet.jsp.tagext.IterationTag

        EVAL_BODY_AGAIN
      • Fields inherited from interface javax.servlet.jsp.tagext.Tag

        EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
    • Constructor Summary

      Constructors 
      Constructor Description
      URLParameterTag()  
    • Constructor Detail

      • URLParameterTag

        public URLParameterTag()
    • Method Detail

      • getName

        public String getName()
        The name of the parameter to add to the URL. If null or empty, no action is performed.
        Returns:
        Returns the name.
      • setName

        public void setName​(String name)
        Parameters:
        name - The name to set.
      • getValue

        public String getValue()
        The value of the parameter to add to the URL. If null, it is processed as an empty value.
        Returns:
        Returns the value.
      • setValue

        public void setValue​(String value)
        Parameters:
        value - The value to set.
      • doStartTag

        public int doStartTag()
                       throws javax.servlet.jsp.JspException
        No body to process
        Specified by:
        doStartTag in interface javax.servlet.jsp.tagext.Tag
        Overrides:
        doStartTag in class javax.servlet.jsp.tagext.TagSupport
        Throws:
        javax.servlet.jsp.JspException
        See Also:
        Tag.doStartTag()
      • doEndTag

        public int doEndTag()
                     throws javax.servlet.jsp.JspException
        Include the parameter in the surround tag parameters
        Specified by:
        doEndTag in interface javax.servlet.jsp.tagext.Tag
        Overrides:
        doEndTag in class javax.servlet.jsp.tagext.TagSupport
        Throws:
        javax.servlet.jsp.JspException
        See Also:
        Tag.doEndTag()