webwork.view.taglib
Class IfTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
webwork.view.taglib.WebWorkTagSupport
webwork.view.taglib.IfTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
- public class IfTag
- extends WebWorkTagSupport
- Version:
- $Revision: 1.9 $
- Author:
- Maurice C. Parker (maurice@vineyardenterprise.com)
- See Also:
- Serialized Form
Field Summary |
protected boolean |
answer
|
static java.lang.String |
ANSWER
|
protected java.lang.String |
test
|
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()
|
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ANSWER
public static final java.lang.String ANSWER
- See Also:
- Constant Field Values
test
protected java.lang.String test
answer
protected boolean answer
IfTag
public IfTag()
setTest
public void setTest(java.lang.String str)
- Set the test condition.
- Parameters:
str
-
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspException
- Throws:
javax.servlet.jsp.JspException
doEndTag
public int doEndTag()
throws javax.servlet.jsp.JspException
- Throws:
javax.servlet.jsp.JspException
setParent
public void setParent(javax.servlet.jsp.tagext.Tag t)
- Specified by:
setParent
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
setParent
in class WebWorkTagSupport
release
public void release()
- Specified by:
release
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
release
in class WebWorkTagSupport
Copyright © 2001-2003 WebWork All Rights Reserved.