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:
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:
  • Constructor Details

    • ForEachSupport

      public ForEachSupport()
  • Method Details