Class IfTag
- java.lang.Object
-
- jakarta.servlet.jsp.tagext.TagSupport
-
- jakarta.servlet.jsp.jstl.core.ConditionalTagSupport
-
- org.apache.taglibs.standard.tag.el.core.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.ConditionalTagSupportTag handler for <if> in JSTL's expression-evaluating library. Because of the support provided by the ConditionalTagSupport class, thistag is trivial enough not to require a separate base supporting class common to both libraries.
- Author:
- Shawn Bayern
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IfTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancondition()voidrelease()voidsetTest(String test)-
Methods inherited from class jakarta.servlet.jsp.jstl.core.ConditionalTagSupport
doStartTag, setScope, setVar
-
-
-
-
Method Detail
-
release
public void release()
- Specified by:
releasein interfacejakarta.servlet.jsp.tagext.Tag- Overrides:
releasein classjakarta.servlet.jsp.jstl.core.ConditionalTagSupport
-
condition
protected boolean condition() throws jakarta.servlet.jsp.JspTagException- Specified by:
conditionin classjakarta.servlet.jsp.jstl.core.ConditionalTagSupport- Throws:
jakarta.servlet.jsp.JspTagException
-
setTest
public void setTest(String test)
-
-