public class IfTag extends ConditionalTagSupport
id, pageContextEVAL_BODY_AGAINEVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE| 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(String test) |
doStartTag, setScope, setVardoAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValuepublic void release()
ConditionalTagSupportrelease in interface Tagrelease in class ConditionalTagSupportTag.release()protected boolean condition()
throws 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 ConditionalTagSupportJspTagExceptionpublic void setTest(String test)
Copyright © 2018 JBoss by Red Hat. All rights reserved.