public class WhenTag extends WhenTagSupport
Tag handler for <if> in JSTL's XML library.
id, pageContext
EVAL_BODY_AGAIN
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
Constructor and Description |
---|
WhenTag() |
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, setVar
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
public void release()
ConditionalTagSupport
release
in interface Tag
release
in class ConditionalTagSupport
Tag.release()
protected boolean condition() throws JspTagException
ConditionalTagSupport
Subclasses 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 ConditionalTagSupport
JspTagException
public void setSelect(String select)
Copyright © 2016 JBoss by Red Hat. All rights reserved.