coreservlets.tags
Class IfTag
java.lang.Object
|
+--javax.servlet.jsp.tagext.TagSupport
|
+--coreservlets.tags.IfTag
- public class IfTag
- extends TagSupport
A tag that acts like an if/then/else.
Taken from Core Servlets and JavaServer Pages
from Prentice Hall and Sun Microsystems Press,
http://www.coreservlets.com/.
© 2000 Marty Hall; may be freely used or adapted.
- See Also:
- Serialized Form
|
Constructor Summary |
IfTag()
|
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doEndTag,
findAncestorWithClass,
getId,
getParent,
getValue,
getValues,
release,
removeValue,
setId,
setPageContext,
setParent,
setValue |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
IfTag
public IfTag()
setCondition
public void setCondition(boolean condition)
getCondition
public boolean getCondition()
setHasCondition
public void setHasCondition(boolean flag)
hasCondition
public boolean hasCondition()
- Has the condition field been explicitly set?
doStartTag
public int doStartTag()
- Overrides:
- doStartTag in class TagSupport
 |
|---|
| CSAJSP @ amazon.com |
|---|