public class IfTag extends TagSupport
id, pageContextEVAL_BODY_AGAINEVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE| Constructor and Description |
|---|
IfTag() |
| Modifier and Type | Method and Description |
|---|---|
int |
doStartTag()
Process the tag.
|
void |
setScope(java.lang.String scope)
Sets the scope for the variable.
|
void |
setTest(boolean test)
Sets the test value.
|
void |
setVar(java.lang.String var)
Sets the variable which should contain the result of the test.
|
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValuepublic void setTest(boolean test)
public void setVar(java.lang.String var)
public void setScope(java.lang.String scope)
public int doStartTag()
throws JspException
doStartTag in interface TagdoStartTag in class TagSupportJspException