public class ForTokensTag extends ForTokensSupport implements LoopTag, IterationTag
A handler for <forTokens> that accepts attributes as Strings and evaluates them as expressions at runtime.
delims, items, st
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 |
---|
ForTokensTag() |
Modifier and Type | Method and Description |
---|---|
int |
doStartTag()
Begins iterating by processing the first item.
|
void |
release()
Releases any resources this LoopTagSupport may have (or inherit).
|
void |
setBegin(String begin_) |
void |
setDelims(String delims_) |
void |
setEnd(String end_) |
void |
setItems(String items_) |
void |
setStep(String step_) |
getDelims, hasNext, next, prepare
doAfterBody, doCatch, doFinally, getCurrent, getLoopStatus, setVar, setVarStatus, validateBegin, validateEnd, validateStep
doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCurrent, getLoopStatus
doAfterBody
doEndTag, getParent, setPageContext, setParent
public int doStartTag() throws JspException
LoopTagSupport
doStartTag
in interface Tag
doStartTag
in class LoopTagSupport
JspException
- if an error occurs while processing this tagTag.doStartTag()
public void release()
LoopTagSupport
release
in interface Tag
release
in class ForTokensSupport
Tag.release()
public void setBegin(String begin_)
public void setEnd(String end_)
public void setStep(String step_)
public void setItems(String items_)
public void setDelims(String delims_)
Copyright © 2018 JBoss by Red Hat. All rights reserved.