java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.jstl.core.ConditionalTagSupport
org.apache.taglibs.standard.tag.common.core.WhenTagSupport
org.apache.taglibs.standard.tag.el.core.WhenTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
- public class WhenTag
- extends org.apache.taglibs.standard.tag.common.core.WhenTagSupport
Tag handler for <when> in JSTL's expression-evaluating
library.
|
Method Summary |
protected boolean |
condition()
Subclasses implement this method to compute the boolean result
of the conditional action. |
private void |
init()
|
void |
release()
Releases any resources this ConditionalTagSupport may have (or inherit). |
void |
setTest(java.lang.String test)
|
| 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 |
test
private java.lang.String test
WhenTag
public WhenTag()
release
public void release()
- Description copied from class:
javax.servlet.jsp.jstl.core.ConditionalTagSupport
- Releases any resources this ConditionalTagSupport may have (or inherit).
condition
protected boolean condition()
throws javax.servlet.jsp.JspTagException
- Description copied from class:
javax.servlet.jsp.jstl.core.ConditionalTagSupport
Subclasses implement this method to compute the boolean result
of the conditional action. This method is invoked once per tag invocation
by doStartTag().
setTest
public void setTest(java.lang.String test)
init
private void init()