org.apache.taglibs.xtags.xpath
Class ChooseTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byorg.apache.taglibs.xtags.xpath.ChooseTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

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

Behaves like the equivalent XSLT tag.

Version:
$Revision$
Author:
James Strachan
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
ChooseTag()
           
 
Method Summary
 int doStartTag()
           
 boolean isEvaluated()
           
 void setEvaluated(boolean evaluated)
          Called when an when or otherwise block has been evaluted
 
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

ChooseTag

public ChooseTag()
Method Detail

isEvaluated

public boolean isEvaluated()
Returns:
true if a when or otherwise block has been evaluted

setEvaluated

public void setEvaluated(boolean evaluated)
Called when an when or otherwise block has been evaluted


doStartTag

public int doStartTag()


Copyright ? 2000-2004 The Apache Software Foundation. All Rights Reserved.