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

Quick Search    Search Deep

org.apache.taglibs.standard.tag.el.core
Class WhenTag  view WhenTag download WhenTag.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
              extended byorg.apache.taglibs.standard.tag.el.core.WhenTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class WhenTag
extends org.apache.taglibs.standard.tag.common.core.WhenTagSupport

Tag handler for <when> in JSTL's expression-evaluating library.


Field Summary
private  java.lang.String test
           
 
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
WhenTag()
           
 
Method Summary
protected  boolean condition()
          Subclasses implement this method to compute the boolean result of the conditional action.
private  void init()
           
 void release()
          Releases any resources this ConditionalTagSupport may have (or inherit).
 void setTest(java.lang.String test)
           
 
Methods inherited from class org.apache.taglibs.standard.tag.common.core.WhenTagSupport
doStartTag
 
Methods inherited from class javax.servlet.jsp.jstl.core.ConditionalTagSupport
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
 

Field Detail

test

private java.lang.String test
Constructor Detail

WhenTag

public WhenTag()
Method Detail

release

public void release()
Description copied from class: javax.servlet.jsp.jstl.core.ConditionalTagSupport
Releases any resources this ConditionalTagSupport may have (or inherit).


condition

protected boolean condition()
                     throws javax.servlet.jsp.JspTagException
Description copied from class: javax.servlet.jsp.jstl.core.ConditionalTagSupport

Subclasses implement this method to compute the boolean result of the conditional action. This method is invoked once per tag invocation by doStartTag().


setTest

public void setTest(java.lang.String test)

init

private void init()