public class WhenTag extends WhenTagSupport
Tag handler for <when> in JSTL's rtexprvalue library.
| Constructor and Description |
|---|
WhenTag() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
condition()
Subclasses implement this method to compute the boolean result
of the conditional action.
|
void |
release()
Releases any resources this ConditionalTagSupport may have (or inherit).
|
void |
setTest(boolean test) |
doStartTagsetScope, setVarpublic void release()
ConditionalTagSupportrelease in interface javax.servlet.jsp.tagext.Tagrelease in class ConditionalTagSupportprotected boolean condition()
ConditionalTagSupportSubclasses implement this method to compute the boolean result of the conditional action. This method is invoked once per tag invocation by doStartTag().
condition in class ConditionalTagSupportpublic void setTest(boolean test)
Copyright © 2017 JBoss, a division of Red Hat, Inc.. All Rights Reserved.