Class ForEachTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- javax.servlet.jsp.jstl.core.LoopTagSupport
-
- org.apache.taglibs.standard.tag.common.core.ForEachSupport
-
- org.apache.taglibs.standard.tag.compat.core.ForEachTag
-
- All Implemented Interfaces:
Serializable
,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 ForEachSupport
JSTL 1.0 compatible implementation of <foreach> that uses JSP EL support.- 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
-
-
Constructor Summary
Constructors Constructor Description ForEachTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
doStartTag()
Begins iterating by processing the first item.void
release()
Releases any resources this LoopTagSupport may have (or inherit).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
-
-
-
-
Method Detail
-
release
public void release()
Description copied from class:LoopTagSupport
Releases any resources this LoopTagSupport may have (or inherit).- Specified by:
release
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
release
in classForEachSupport
-
doStartTag
public int doStartTag() throws javax.servlet.jsp.JspException
Description copied from class:LoopTagSupport
Begins iterating by processing the first item.- Specified by:
doStartTag
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in classLoopTagSupport
- Throws:
javax.servlet.jsp.JspException
-
setBegin
public void setBegin(String begin)
-
setEnd
public void setEnd(String end)
-
setStep
public void setStep(String step)
-
setItems
public void setItems(String items)
-
-