Class ForEachTag
- java.lang.Object
-
- jakarta.servlet.jsp.tagext.TagSupport
-
- jakarta.servlet.jsp.jstl.core.LoopTagSupport
-
- org.apache.taglibs.standard.tag.common.xml.ForEachTag
-
- All Implemented Interfaces:
jakarta.servlet.jsp.jstl.core.LoopTag,jakarta.servlet.jsp.tagext.IterationTag,jakarta.servlet.jsp.tagext.JspTag,jakarta.servlet.jsp.tagext.Tag,jakarta.servlet.jsp.tagext.TryCatchFinally,Serializable
public class ForEachTag extends jakarta.servlet.jsp.jstl.core.LoopTagSupportSupport for the XML library's <forEach> tag.
- Author:
- Shawn Bayern
- See Also:
LoopTagSupport, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ForEachTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodegetContext()protected booleanhasNext()protected Objectnext()protected voidprepare()voidrelease()voidsetBegin(int begin)voidsetEnd(int end)voidsetSelect(String select)voidsetStep(int step)-
Methods inherited from class jakarta.servlet.jsp.jstl.core.LoopTagSupport
doAfterBody, doCatch, doFinally, doStartTag, getCurrent, getDelims, getLoopStatus, setVar, setVarStatus, validateBegin, validateEnd, validateStep
-
Methods inherited from class jakarta.servlet.jsp.tagext.TagSupport
doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
-
-
-
-
Method Detail
-
prepare
protected void prepare() throws jakarta.servlet.jsp.JspTagException- Specified by:
preparein classjakarta.servlet.jsp.jstl.core.LoopTagSupport- Throws:
jakarta.servlet.jsp.JspTagException
-
hasNext
protected boolean hasNext() throws jakarta.servlet.jsp.JspTagException- Specified by:
hasNextin classjakarta.servlet.jsp.jstl.core.LoopTagSupport- Throws:
jakarta.servlet.jsp.JspTagException
-
next
protected Object next() throws jakarta.servlet.jsp.JspTagException
- Specified by:
nextin classjakarta.servlet.jsp.jstl.core.LoopTagSupport- Throws:
jakarta.servlet.jsp.JspTagException
-
release
public void release()
- Specified by:
releasein interfacejakarta.servlet.jsp.tagext.Tag- Overrides:
releasein classjakarta.servlet.jsp.jstl.core.LoopTagSupport
-
setSelect
public void setSelect(String select)
-
setBegin
public void setBegin(int begin) throws jakarta.servlet.jsp.JspTagException- Throws:
jakarta.servlet.jsp.JspTagException
-
setEnd
public void setEnd(int end) throws jakarta.servlet.jsp.JspTagException- Throws:
jakarta.servlet.jsp.JspTagException
-
setStep
public void setStep(int step) throws jakarta.servlet.jsp.JspTagException- Throws:
jakarta.servlet.jsp.JspTagException
-
getContext
public Node getContext() throws jakarta.servlet.jsp.JspTagException
- Throws:
jakarta.servlet.jsp.JspTagException
-
-