public class IfTag extends ConditionalTagSupport
Tag handler for <if> in JSTL's XML library.
| 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 |
setSelect(String select) |
doStartTag, setScope, setVarpublic void release()
ConditionalTagSupportrelease in interface javax.servlet.jsp.tagext.Tagrelease in class ConditionalTagSupportprotected boolean condition()
throws javax.servlet.jsp.JspTagException
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 ConditionalTagSupportjavax.servlet.jsp.JspTagExceptionpublic void setSelect(String select)
Copyright © 2017 JBoss, a division of Red Hat, Inc.. All Rights Reserved.