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:
- javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
- Direct Known Subclasses:
- OtherwiseTag
- public abstract class WhenTagSupport
- extends javax.servlet.jsp.jstl.core.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>
|
Method Summary |
int |
doStartTag()
Includes its body if condition() evaluates to true. |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WhenTagSupport
public WhenTagSupport()
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspException
- Description copied from class:
javax.servlet.jsp.jstl.core.ConditionalTagSupport
- Includes its body if condition() evaluates to true.