org.apache.taglibs.standard.tag.el.core
Class IfTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.jstl.core.ConditionalTagSupport
          extended by org.apache.taglibs.standard.tag.el.core.IfTag
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class IfTag
extends javax.servlet.jsp.jstl.core.ConditionalTagSupport

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.

Author:
Shawn Bayern
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
protected  boolean condition()
           
 void release()
           
 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

IfTag

public IfTag()
Method Detail

release

public void release()
Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class javax.servlet.jsp.jstl.core.ConditionalTagSupport

condition

protected boolean condition()
                     throws javax.servlet.jsp.JspTagException
Specified by:
condition in class javax.servlet.jsp.jstl.core.ConditionalTagSupport
Throws:
javax.servlet.jsp.JspTagException

setTest

public void setTest(String test)


Copyright © 2001-2015 The Apache Software Foundation. All Rights Reserved.