|
JavaServer Pages(TM) Standard Tag Library 1.2 API 1.0.3.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.jsp.tagext.TagSupport javax.servlet.jsp.jstl.core.ConditionalTagSupport org.apache.taglibs.standard.tag.el.core.IfTag
public class IfTag
Tag handler for <if> in JSTL's expression-evaluating library. Because of the support provided by the ConditionalTagSupport class, thistag is trivial enough not to require a separate base supporting class common to both libraries.
Field Summary |
---|
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
---|
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
---|---|
IfTag()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class javax.servlet.jsp.jstl.core.ConditionalTagSupport |
---|
doStartTag, setScope, setVar |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IfTag()
Method Detail |
---|
public void release()
ConditionalTagSupport
release
in interface javax.servlet.jsp.tagext.Tag
release
in class ConditionalTagSupport
protected boolean condition() throws javax.servlet.jsp.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
javax.servlet.jsp.JspTagException
public void setTest(String test)
|
JavaServer Pages(TM) Standard Tag Library 1.2 API 1.0.3.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |