Class ForEachSupport

  • All Implemented Interfaces:, LoopTag, IterationTag, JspTag, Tag, TryCatchFinally
    Direct Known Subclasses:

    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
    • Constructor Detail

      • ForEachSupport

        public ForEachSupport()