public class ForEachTag extends ForEachSupport implements LoopTag, javax.servlet.jsp.tagext.IterationTag
A handler for <forEach> that accepts attributes as Strings and evaluates them as expressions at runtime.
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
begin_ |
private java.lang.String |
end_ |
private java.lang.String |
items_ |
private java.lang.String |
step_ |
items, rawItemsbegin, beginSpecified, deferredExpression, end, endSpecified, itemId, statusId, step, stepSpecified| Constructor and Description |
|---|
ForEachTag() |
| Modifier and Type | Method and Description |
|---|---|
int |
doStartTag()
Begins iterating by processing the first item.
|
private void |
evaluateExpressions() |
private void |
init() |
void |
release()
Releases any resources this LoopTagSupport may have (or inherit).
|
void |
setBegin(java.lang.String begin_) |
void |
setEnd(java.lang.String end_) |
void |
setItems(java.lang.String items_) |
void |
setStep(java.lang.String step_) |
hasNext, next, preparedoAfterBody, doCatch, doFinally, getCurrent, getDelims, getLoopStatus, setVar, setVarStatus, validateBegin, validateEnd, validateStepdoEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCurrent, getLoopStatusprivate java.lang.String begin_
private java.lang.String end_
private java.lang.String step_
private java.lang.String items_
public int doStartTag()
throws javax.servlet.jsp.JspException
LoopTagSupportdoStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class LoopTagSupportjavax.servlet.jsp.JspExceptionpublic void release()
LoopTagSupportrelease in interface javax.servlet.jsp.tagext.Tagrelease in class ForEachSupportpublic void setBegin(java.lang.String begin_)
public void setEnd(java.lang.String end_)
public void setStep(java.lang.String step_)
public void setItems(java.lang.String items_)
private void init()
private void evaluateExpressions()
throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException