Class WhenTagSupport
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- javax.servlet.jsp.jstl.core.ConditionalTagSupport
-
- org.apache.taglibs.standard.tag.common.core.WhenTagSupport
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.jsp.tagext.IterationTag
,javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.Tag
- Direct Known Subclasses:
OtherwiseTag
,WhenTag
,WhenTag
,WhenTag
public abstract class WhenTagSupport extends ConditionalTagSupport
WhenTagSupport is an abstract class that facilitates implementation of <when>-style tags in both the rtexprvalue and expression-evaluating libraries. It also supports <otherwise>.
In particular, this base class does the following:
- overrides ConditionalTagSupport.doStartTag() to implement the appropriate semantics of subtags of <choose>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WhenTagSupport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
doStartTag()
Includes its body if condition() evaluates to true.-
Methods inherited from class javax.servlet.jsp.jstl.core.ConditionalTagSupport
condition, release, setScope, setVar
-
-
-
-
Method Detail
-
doStartTag
public int doStartTag() throws javax.servlet.jsp.JspException
Description copied from class:ConditionalTagSupport
Includes its body if condition() evaluates to true.- Specified by:
doStartTag
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in classConditionalTagSupport
- Throws:
javax.servlet.jsp.JspException
-
-