public class XmlIfTag extends TagSupport
id, pageContext
EVAL_BODY_AGAIN
EVAL_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, setValue
public 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 Tag
doStartTag
in class TagSupport
JspException
public static boolean evalBoolean(PageContextImpl pageContext, Expr select) throws XPathException, JspException
XPathException
JspException