Class ForTokensTag

  • All Implemented Interfaces:
    jakarta.servlet.jsp.jstl.core.LoopTag, jakarta.servlet.jsp.tagext.IterationTag, jakarta.servlet.jsp.tagext.JspTag, jakarta.servlet.jsp.tagext.Tag, jakarta.servlet.jsp.tagext.TryCatchFinally, Serializable

    public class ForTokensTag
    extends ForTokensSupport
    implements jakarta.servlet.jsp.jstl.core.LoopTag, jakarta.servlet.jsp.tagext.IterationTag

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

    Author:
    Shawn Bayern
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class jakarta.servlet.jsp.jstl.core.LoopTagSupport

        begin, beginSpecified, deferredExpression, end, endSpecified, itemId, statusId, step, stepSpecified
      • Fields inherited from class jakarta.servlet.jsp.tagext.TagSupport

        id, pageContext
      • Fields inherited from interface jakarta.servlet.jsp.tagext.IterationTag

        EVAL_BODY_AGAIN
      • Fields inherited from interface jakarta.servlet.jsp.tagext.Tag

        EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
    • Constructor Summary

      Constructors 
      Constructor Description
      ForTokensTag()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int doStartTag()  
      void release()  
      void setBegin​(String begin_)  
      void setDelims​(String delims_)  
      void setEnd​(String end_)  
      void setItems​(String items_)  
      void setStep​(String step_)  
      • Methods inherited from class jakarta.servlet.jsp.jstl.core.LoopTagSupport

        doAfterBody, doCatch, doFinally, getCurrent, getLoopStatus, setVar, setVarStatus, validateBegin, validateEnd, validateStep
      • Methods inherited from class jakarta.servlet.jsp.tagext.TagSupport

        doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
      • Methods inherited from interface jakarta.servlet.jsp.tagext.IterationTag

        doAfterBody
      • Methods inherited from interface jakarta.servlet.jsp.jstl.core.LoopTag

        getCurrent, getLoopStatus
      • Methods inherited from interface jakarta.servlet.jsp.tagext.Tag

        doEndTag, getParent, setPageContext, setParent
    • Constructor Detail

      • ForTokensTag

        public ForTokensTag()
    • Method Detail

      • doStartTag

        public int doStartTag()
                       throws jakarta.servlet.jsp.JspException
        Specified by:
        doStartTag in interface jakarta.servlet.jsp.tagext.Tag
        Overrides:
        doStartTag in class jakarta.servlet.jsp.jstl.core.LoopTagSupport
        Throws:
        jakarta.servlet.jsp.JspException
      • release

        public void release()
        Specified by:
        release in interface jakarta.servlet.jsp.tagext.Tag
        Overrides:
        release in class ForTokensSupport
      • setBegin

        public void setBegin​(String begin_)
      • setEnd

        public void setEnd​(String end_)
      • setStep

        public void setStep​(String step_)
      • setItems

        public void setItems​(String items_)
      • setDelims

        public void setDelims​(String delims_)