Class URLParameterTag

java.lang.Object
jakarta.servlet.jsp.tagext.TagSupport
org.gatein.pc.portlet.impl.jsr168.taglib.URLParameterTag
All Implemented Interfaces:
jakarta.servlet.jsp.tagext.IterationTag, jakarta.servlet.jsp.tagext.JspTag, jakarta.servlet.jsp.tagext.Tag, Serializable
Direct Known Subclasses:
URLParameter286Tag

public class URLParameterTag extends jakarta.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:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    class 
     
  • Field Summary

    Fields inherited from class jakarta.servlet.jsp.tagext.TagSupport

    id, pageContext

    Fields inherited from interface jakarta.servlet.jsp.tagext.IterationTag

    EVAL_BODY_AGAIN

    Fields inherited from interface jakarta.servlet.jsp.tagext.Tag

    EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Include the parameter in the surround tag parameters
    int
    No body to process
    The name of the parameter to add to the URL.
    The value of the parameter to add to the URL.
    void
     
    void
     

    Methods inherited from class jakarta.servlet.jsp.tagext.TagSupport

    doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • URLParameterTag

      public URLParameterTag()
  • Method Details

    • 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 jakarta.servlet.jsp.JspException
      No body to process
      Specified by:
      doStartTag in interface jakarta.servlet.jsp.tagext.Tag
      Overrides:
      doStartTag in class jakarta.servlet.jsp.tagext.TagSupport
      Throws:
      jakarta.servlet.jsp.JspException
      See Also:
      • Tag.doStartTag()
    • doEndTag

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