Class ForTokensTag
java.lang.Object
jakarta.servlet.jsp.tagext.TagSupport
jakarta.servlet.jsp.jstl.core.LoopTagSupport
org.apache.taglibs.standard.tag.common.core.ForTokensSupport
org.apache.taglibs.standard.tag.el.core.ForTokensTag
- All Implemented Interfaces:
LoopTag,IterationTag,JspTag,Tag,TryCatchFinally,Serializable
A handler for <forTokens> that accepts attributes as Strings and evaluates them as expressions at runtime.
- Author:
- Shawn Bayern
- See Also:
-
Field Summary
Fields inherited from class org.apache.taglibs.standard.tag.common.core.ForTokensSupport
delims, items, stFields inherited from class jakarta.servlet.jsp.jstl.core.LoopTagSupport
begin, beginSpecified, deferredExpression, end, endSpecified, itemId, statusId, step, stepSpecifiedFields inherited from class jakarta.servlet.jsp.tagext.TagSupport
id, pageContextFields inherited from interface jakarta.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAINFields inherited from interface jakarta.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintBegins iterating by processing the first item.voidrelease()Releases any resources this LoopTagSupport may have (or inherit).voidvoidvoidvoidvoidMethods inherited from class org.apache.taglibs.standard.tag.common.core.ForTokensSupport
getDelims, hasNext, next, prepareMethods inherited from class jakarta.servlet.jsp.jstl.core.LoopTagSupport
doAfterBody, doCatch, doFinally, getCurrent, getLoopStatus, setVar, setVarStatus, validateBegin, validateEnd, validateStepMethods inherited from class jakarta.servlet.jsp.tagext.TagSupport
doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jakarta.servlet.jsp.tagext.IterationTag
doAfterBodyMethods inherited from interface jakarta.servlet.jsp.jstl.core.LoopTag
getCurrent, getLoopStatusMethods inherited from interface jakarta.servlet.jsp.tagext.Tag
doEndTag, getParent, setPageContext, setParent
-
Constructor Details
-
ForTokensTag
public ForTokensTag()
-
-
Method Details
-
doStartTag
Description copied from class:LoopTagSupportBegins iterating by processing the first item.- Specified by:
doStartTagin interfaceTag- Overrides:
doStartTagin classLoopTagSupport- Returns:
- SKIP_BODY
- Throws:
JspException- if an error occurs while processing this tag- See Also:
-
release
public void release()Description copied from class:LoopTagSupportReleases any resources this LoopTagSupport may have (or inherit).- Specified by:
releasein interfaceTag- Overrides:
releasein classForTokensSupport- See Also:
-
setBegin
-
setEnd
-
setStep
-
setItems
-
setDelims
-