itexpert.chap08.tag
Class IfTag

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--itexpert.chap08.tag.IfTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class IfTag
extends javax.servlet.jsp.tagext.TagSupport

If ű×

See Also:
Serialized Form

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
 int doStartTag()
           
 boolean getCondition()
          Returns the condition.
 void setCondition(boolean condition)
          Sets the condition.
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, 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
 

Constructor Detail

IfTag

public IfTag()
Method Detail

doStartTag

public int doStartTag()
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport
See Also:
Tag.doStartTag()

getCondition

public boolean getCondition()
Returns the condition.

Returns:
boolean

setCondition

public void setCondition(boolean condition)
Sets the condition.

Parameters:
condition - The condition to set