public class XmlIfTag extends TagSupport
id, pageContextEVAL_BODY_AGAINEVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE| Constructor and Description |
|---|
XmlIfTag() |
| Modifier and Type | Method and Description |
|---|---|
int |
doStartTag()
Process the tag.
|
static boolean |
evalBoolean(PageContextImpl pageContext,
Expr select)
Evaluates as a boolean.
|
void |
setScope(java.lang.String scope)
Sets the scope for the variable.
|
void |
setSelect(Expr select)
Sets the JSP-EL expression 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 setSelect(Expr select)
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 TagSupportJspExceptionpublic static boolean evalBoolean(PageContextImpl pageContext, Expr select) throws XPathException, JspException
XPathExceptionJspException