public abstract class ForTokensSupport
extends javax.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 int |
currentIndex |
protected java.lang.String |
delims |
protected java.lang.Object |
items |
protected java.util.StringTokenizer |
st |
Constructor and Description |
---|
ForTokensSupport() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getDelims()
Get the delimiter for string tokens.
|
protected boolean |
hasNext() |
protected java.lang.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 java.lang.Object items
protected java.lang.String delims
protected java.util.StringTokenizer st
protected int currentIndex
protected void prepare() throws javax.servlet.jsp.JspTagException
prepare
in class javax.servlet.jsp.jstl.core.LoopTagSupport
javax.servlet.jsp.JspTagException
protected boolean hasNext() throws javax.servlet.jsp.JspTagException
hasNext
in class javax.servlet.jsp.jstl.core.LoopTagSupport
javax.servlet.jsp.JspTagException
protected java.lang.Object next() throws javax.servlet.jsp.JspTagException
next
in class javax.servlet.jsp.jstl.core.LoopTagSupport
javax.servlet.jsp.JspTagException
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.jstl.core.LoopTagSupport
protected java.lang.String getDelims()
getDelims
in class javax.servlet.jsp.jstl.core.LoopTagSupport
Copyright © 2014–2020. All rights reserved.