Class ForEachSupport
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- javax.servlet.jsp.jstl.core.LoopTagSupport
-
- org.apache.taglibs.standard.tag.common.core.ForEachSupport
-
- All Implemented Interfaces:
java.io.Serializable
,LoopTag
,IterationTag
,JspTag
,Tag
,TryCatchFinally
- Direct Known Subclasses:
ForEachTag
public abstract class ForEachSupport extends LoopTagSupport
Support for tag handlers for <forEach>, the core iteration tag in JSTL 1.0. This class extends LoopTagSupport and provides ForEach-specific functionality. The rtexprvalue library and the expression-evaluating library each have handlers that extend this class.
Localized here is the logic for handling the veritable smorgasbord of types supported by <forEach>, including arrays, Collections, and others. To see how the actual iteration is controlled, review the javax.servlet.jsp.jstl.core.LoopTagSupport class instead.
- See Also:
LoopTagSupport
, Serialized Form
-
-
Field Summary
-
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
Constructors Constructor Description ForEachSupport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
release()
Releases any resources this LoopTagSupport may have (or inherit).-
Methods inherited from class javax.servlet.jsp.jstl.core.LoopTagSupport
doAfterBody, doCatch, doFinally, doStartTag, getCurrent, getLoopStatus, setVar, setVarStatus
-
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.servlet.jsp.tagext.Tag
doEndTag, getParent, setPageContext, setParent
-
-
-
-
Method Detail
-
release
public void release()
Description copied from class:LoopTagSupport
Releases any resources this LoopTagSupport may have (or inherit).- Specified by:
release
in interfaceTag
- Overrides:
release
in classLoopTagSupport
- See Also:
Tag.release()
-
-