Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.taglibs.standard.tag.common.core
Class WhenTagSupport  view WhenTagSupport download WhenTagSupport.java

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byjavax.servlet.jsp.jstl.core.ConditionalTagSupport
          extended byorg.apache.taglibs.standard.tag.common.core.WhenTagSupport
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
OtherwiseTag

public abstract class WhenTagSupport
extends javax.servlet.jsp.jstl.core.ConditionalTagSupport

WhenTagSupport is an abstract class that facilitates implementation of <when>-style tags in both the rtexprvalue and expression-evaluating libraries. It also supports <otherwise>.

In particular, this base class does the following:


Field Summary
 
Fields inherited from class javax.servlet.jsp.jstl.core.ConditionalTagSupport
 
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
WhenTagSupport()
           
 
Method Summary
 int doStartTag()
          Includes its body if condition() evaluates to true.
 
Methods inherited from class javax.servlet.jsp.jstl.core.ConditionalTagSupport
condition, release, 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

WhenTagSupport

public WhenTagSupport()
Method Detail

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Description copied from class: javax.servlet.jsp.jstl.core.ConditionalTagSupport
Includes its body if condition() evaluates to true.