Class ForTokensSupport
- java.lang.Object
-
- jakarta.servlet.jsp.tagext.TagSupport
-
- jakarta.servlet.jsp.jstl.core.LoopTagSupport
-
- org.apache.taglibs.standard.tag.common.core.ForTokensSupport
-
- 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
- Direct Known Subclasses:
ForTokensTag,ForTokensTag
public abstract class ForTokensSupport extends jakarta.servlet.jsp.jstl.core.LoopTagSupportSupport for tag handlers for <forTokens>, the tokenizing iteration tag in JSTL 1.0. This class extends LoopTagSupport and provides ForTokens-specific functionality. The rtexprvalue and expression-evaluating libraries each have handlers that extend this class.
- Author:
- Shawn Bayern
- See Also:
LoopTagSupport, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringdelimsprotected Objectitemsprotected StringTokenizerst
-
Constructor Summary
Constructors Constructor Description ForTokensSupport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetDelims()protected booleanhasNext()protected Objectnext()protected voidprepare()voidrelease()-
Methods inherited from class jakarta.servlet.jsp.jstl.core.LoopTagSupport
doAfterBody, doCatch, doFinally, doStartTag, 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
-
-
-
-
Field Detail
-
items
protected Object items
-
delims
protected String delims
-
st
protected StringTokenizer st
-
-
Method Detail
-
prepare
protected void prepare() throws jakarta.servlet.jsp.JspTagException- Specified by:
preparein classjakarta.servlet.jsp.jstl.core.LoopTagSupport- Throws:
jakarta.servlet.jsp.JspTagException
-
hasNext
protected boolean hasNext() throws jakarta.servlet.jsp.JspTagException- Specified by:
hasNextin classjakarta.servlet.jsp.jstl.core.LoopTagSupport- Throws:
jakarta.servlet.jsp.JspTagException
-
next
protected Object next() throws jakarta.servlet.jsp.JspTagException
- Specified by:
nextin classjakarta.servlet.jsp.jstl.core.LoopTagSupport- Throws:
jakarta.servlet.jsp.JspTagException
-
getDelims
protected String getDelims()
- Overrides:
getDelimsin classjakarta.servlet.jsp.jstl.core.LoopTagSupport
-
release
public void release()
- Specified by:
releasein interfacejakarta.servlet.jsp.tagext.Tag- Overrides:
releasein classjakarta.servlet.jsp.jstl.core.LoopTagSupport
-
-