Class ForEachSupport

All Implemented Interfaces:
LoopTag, IterationTag, JspTag, Tag, TryCatchFinally, Serializable
Direct Known Subclasses:
ForEachTag, 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 jakarta.servlet.jsp.jstl.core.LoopTagSupport class instead.

Author:
Shawn Bayern
See Also: