Class IfTag

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

    public class IfTag
    extends jakarta.servlet.jsp.jstl.core.ConditionalTagSupport

    Tag handler for <if> in JSTL's XML library.

    Author:
    Shawn Bayern
    See Also:
    Serialized Form
    • 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
      IfTag()  
    • Constructor Detail

      • IfTag

        public IfTag()
    • Method Detail

      • release

        public void release()
        Specified by:
        release in interface jakarta.servlet.jsp.tagext.Tag
        Overrides:
        release in class jakarta.servlet.jsp.jstl.core.ConditionalTagSupport
      • condition

        protected boolean condition()
                             throws jakarta.servlet.jsp.JspTagException
        Specified by:
        condition in class jakarta.servlet.jsp.jstl.core.ConditionalTagSupport
        Throws:
        jakarta.servlet.jsp.JspTagException
      • setSelect

        public void setSelect​(String select)