public class CoreForTokensTag extends LoopTagSupport
Modifier and Type | Class and Description |
---|---|
static class |
CoreForTokensTag.TokenIterator |
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
_delims |
protected java.lang.String |
_items |
protected java.util.Iterator |
_iterator |
begin, beginSpecified, deferredExpression, end, endSpecified, itemId, statusId, step, stepSpecified
id, pageContext
EVAL_BODY_AGAIN
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
Constructor and Description |
---|
CoreForTokensTag() |
Modifier and Type | Method and Description |
---|---|
protected ValueExpression |
createIndexedExpression(int index) |
protected java.lang.String |
getDelims() |
boolean |
hasNext()
Returns true if there are more items.
|
java.lang.Object |
next()
Returns the next item
|
void |
prepare()
Prepares the iterator.
|
void |
setBegin(int begin)
Sets the beginning value
|
void |
setDelims(java.lang.String delims)
Sets the delimiters expression.
|
void |
setEnd(int end)
Sets the ending value
|
void |
setItems(java.lang.String items)
Sets the collection expression.
|
void |
setStep(int step)
Sets the step value
|
doAfterBody, doCatch, doFinally, doStartTag, getCurrent, getLoopStatus, setVar, setVarStatus, validateBegin, validateEnd, validateStep
doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
protected java.lang.String _items
protected java.lang.String _delims
protected java.util.Iterator _iterator
public void setItems(java.lang.String items)
public void setDelims(java.lang.String delims)
protected java.lang.String getDelims()
getDelims
in class LoopTagSupport
protected ValueExpression createIndexedExpression(int index) throws JspTagException
JspTagException
public void setBegin(int begin)
public void setEnd(int end)
public void setStep(int step)
public void prepare() throws JspTagException
prepare
in class LoopTagSupport
JspTagException
public boolean hasNext()
hasNext
in class LoopTagSupport
public java.lang.Object next()
next
in class LoopTagSupport