Class ParamTag

  • All Implemented Interfaces:
    Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

    public class ParamTag
    extends javax.servlet.jsp.tagext.TagSupport
    A tag handler for the param tag. Defines a parameter that can be added to a HstURL
    The following attributes are mandatory:
    • name
    • value
    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
      ParamTag()  
    • Constructor Detail

      • ParamTag

        public ParamTag()
    • Method Detail

      • 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
        Throws:
        javax.servlet.jsp.JspException
      • cleanup

        protected void cleanup()
      • getValue

        public Object getValue()
                        throws javax.servlet.jsp.JspException
        Returns the value.
        Returns:
        String
        Throws:
        javax.servlet.jsp.JspException
      • setValue

        public void setValue​(Object value)
        Sets the value.
        Parameters:
        value - The value to set