com.caucho.jstl.el
Class XmlForEachTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by com.caucho.jstl.el.XmlForEachTag
All Implemented Interfaces:
java.io.Serializable, IterationTag, JspTag, Tag

public class XmlForEachTag
extends TagSupport
implements IterationTag

Tag representing a "for each" condition.

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
XmlForEachTag()
           
 
Method Summary
 int doAfterBody()
          Process the loop.
 int doStartTag()
          Process the tag.
 void setBegin(int begin)
          Sets the begin value.
 void setEnd(int end)
          Sets the end value.
 void setSelect(Expr select)
          Sets the XPath select value.
 void setStep(int step)
          Sets the step value.
 void setVar(java.lang.String var)
          Sets the variable which should contain the result of the test.
 void setVarStatus(java.lang.String varStatus)
          Sets the variable which should contain the result of the test.
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
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
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
doEndTag, getParent, release, setPageContext, setParent
 

Constructor Detail

XmlForEachTag

public XmlForEachTag()
Method Detail

setSelect

public void setSelect(Expr select)
Sets the XPath select value.


setVar

public void setVar(java.lang.String var)
Sets the variable which should contain the result of the test.


setVarStatus

public void setVarStatus(java.lang.String varStatus)
Sets the variable which should contain the result of the test.


setBegin

public void setBegin(int begin)
Sets the begin value.


setEnd

public void setEnd(int end)
Sets the end value.


setStep

public void setStep(int step)
Sets the step value.


doStartTag

public int doStartTag()
               throws JspException
Process the tag.

Specified by:
doStartTag in interface Tag
Overrides:
doStartTag in class TagSupport
Returns:
SKIP_BODY to ignore the body and EVAL_BODY_INCLUDE to evaluate the body.
Throws:
JspException

doAfterBody

public int doAfterBody()
                throws JspException
Process the loop.

Specified by:
doAfterBody in interface IterationTag
Overrides:
doAfterBody in class TagSupport
Returns:
EVAL_BODY_AGAIN to repeat the body or SKIP_BODY to stop.
Throws:
JspException