Class 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
    implements LoopTag, javax.servlet.jsp.tagext.IterationTag

    A handler for <forEach> that accepts attributes as Strings and evaluates them as expressions at runtime.

    Author:
    Shawn Bayern
    See Also:
    Serialized Form
    • Constructor Detail

      • ForEachTag

        public ForEachTag()
    • Method Detail

      • 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 interface javax.servlet.jsp.tagext.Tag
        Overrides:
        doStartTag in class LoopTagSupport
        Throws:
        javax.servlet.jsp.JspException
      • release

        public void release()
        Description copied from class: LoopTagSupport
        Releases any resources this LoopTagSupport may have (or inherit).
        Specified by:
        release in interface javax.servlet.jsp.tagext.Tag
        Overrides:
        release in class ForEachSupport
      • setBegin

        public void setBegin​(String begin_)
      • setEnd

        public void setEnd​(String end_)
      • setStep

        public void setStep​(String step_)
      • setItems

        public void setItems​(String items_)