public class IfTag extends ConditionalTagSupport
Tag handler for <if> in JSTL's rtexprvalue library. Because of the support provided by the ConditionalTagSupport class, this tag is trivial enough not to require a separate base supporting class common to both libraries.
| Constructor and Description |
|---|
IfTag() |
| 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) |
doStartTag, setScope, 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.