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

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.jstl.core.LoopTagSupport
          extended by org.apache.taglibs.standard.tag.common.core.ForEachSupport
              extended by org.apache.taglibs.standard.tag.el.core.ForEachTag
All Implemented Interfaces:
Serializable, javax.servlet.jsp.jstl.core.LoopTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag, javax.servlet.jsp.tagext.TryCatchFinally

public class ForEachTag
extends org.apache.taglibs.standard.tag.common.core.ForEachSupport
implements javax.servlet.jsp.jstl.core.LoopTag, javax.servlet.jsp.tagext.IterationTag

A handler for <forEach> that accepts attributes as Strings and evaluates them as expressions at runtime.

Author:
Shawn Bayern
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.taglibs.standard.tag.common.core.ForEachSupport
items, rawItems
 
Fields inherited from class javax.servlet.jsp.jstl.core.LoopTagSupport
begin, beginSpecified, deferredExpression, end, endSpecified, itemId, statusId, step, stepSpecified
 
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
ForEachTag()
           
 
Method Summary
 int doStartTag()
           
 void release()
           
 void setBegin(String begin_)
           
 void setEnd(String end_)
           
 void setItems(String items_)
           
 void setStep(String step_)
           
 
Methods inherited from class org.apache.taglibs.standard.tag.common.core.ForEachSupport
hasNext, next, prepare
 
Methods inherited from class javax.servlet.jsp.jstl.core.LoopTagSupport
doAfterBody, doCatch, doFinally, getCurrent, getDelims, getLoopStatus, setVar, setVarStatus, validateBegin, validateEnd, validateStep
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
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
 
Methods inherited from interface javax.servlet.jsp.jstl.core.LoopTag
getCurrent, getLoopStatus
 
Methods inherited from interface javax.servlet.jsp.tagext.IterationTag
doAfterBody
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
doEndTag, getParent, setPageContext, setParent
 

Constructor Detail

ForEachTag

public ForEachTag()
Method Detail

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.jstl.core.LoopTagSupport
Throws:
javax.servlet.jsp.JspException

release

public void release()
Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class org.apache.taglibs.standard.tag.common.core.ForEachSupport

setBegin

public void setBegin(String begin_)

setEnd

public void setEnd(String end_)

setStep

public void setStep(String step_)

setItems

public void setItems(String items_)


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