public abstract class ForTokensSupport
extends jakarta.servlet.jsp.jstl.core.LoopTagSupport
Support 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.
LoopTagSupport
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected String |
delims |
protected Object |
items |
protected StringTokenizer |
st |
Constructor and Description |
---|
ForTokensSupport() |
Modifier and Type | Method and Description |
---|---|
protected String |
getDelims() |
protected boolean |
hasNext() |
protected Object |
next() |
protected void |
prepare() |
void |
release() |
doAfterBody, doCatch, doFinally, doStartTag, getCurrent, getLoopStatus, setVar, setVarStatus, validateBegin, validateEnd, validateStep
doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
protected Object items
protected String delims
protected StringTokenizer st
protected void prepare() throws jakarta.servlet.jsp.JspTagException
prepare
in class jakarta.servlet.jsp.jstl.core.LoopTagSupport
jakarta.servlet.jsp.JspTagException
protected boolean hasNext() throws jakarta.servlet.jsp.JspTagException
hasNext
in class jakarta.servlet.jsp.jstl.core.LoopTagSupport
jakarta.servlet.jsp.JspTagException
protected Object next() throws jakarta.servlet.jsp.JspTagException
next
in class jakarta.servlet.jsp.jstl.core.LoopTagSupport
jakarta.servlet.jsp.JspTagException
protected String getDelims()
getDelims
in class jakarta.servlet.jsp.jstl.core.LoopTagSupport
public void release()
release
in interface jakarta.servlet.jsp.tagext.Tag
release
in class jakarta.servlet.jsp.jstl.core.LoopTagSupport
Copyright © 2019,2020 Eclipse Foundation. All rights reserved.