Class ForTag
java.lang.Object
jakarta.servlet.jsp.tagext.TagSupport
jakarta.servlet.jsp.tagext.BodyTagSupport
com.invirgance.convirgance.web.tag.ForTag
- All Implemented Interfaces:
jakarta.servlet.jsp.tagext.BodyTag,jakarta.servlet.jsp.tagext.IterationTag,jakarta.servlet.jsp.tagext.JspTag,jakarta.servlet.jsp.tagext.Tag,Serializable
public class ForTag
extends jakarta.servlet.jsp.tagext.BodyTagSupport
- Author:
- jbanes
- See Also:
-
Field Summary
Fields inherited from class jakarta.servlet.jsp.tagext.BodyTagSupport
bodyContentFields inherited from class jakarta.servlet.jsp.tagext.TagSupport
id, pageContextFields inherited from interface jakarta.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAGFields 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 TypeMethodDescriptionintintdoEndTag()intintgetBegin()intgetEnd()getScope()Gets the current access scope.intgetStep()getVar()Gets the variable where this will be stored.voidsetBegin(int begin) voidsetEnd(int end) voidSets the scope where this will be accessible.voidsetStep(int step) voidSets the variable that will store this.Methods inherited from class jakarta.servlet.jsp.tagext.BodyTagSupport
doInitBody, getBodyContent, getPreviousOut, release, setBodyContentMethods inherited from class jakarta.servlet.jsp.tagext.TagSupport
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.Tag
getParent, setPageContext, setParent
-
Constructor Details
-
ForTag
public ForTag()
-
-
Method Details
-
getVar
Gets the variable where this will be stored.- Returns:
- The variable
-
setVar
Sets the variable that will store this.- Parameters:
variable- The variable name.
-
getScope
Gets the current access scope.- Returns:
- Returns the scope this is accessible in.
-
setScope
Sets the scope where this will be accessible.Valid options are: - page - request - session - application
- Parameters:
scope-
-
getBegin
public int getBegin() -
setBegin
public void setBegin(int begin) -
getEnd
public int getEnd() -
setEnd
public void setEnd(int end) -
getStep
public int getStep() -
setStep
public void setStep(int step) throws jakarta.servlet.jsp.JspException - Throws:
jakarta.servlet.jsp.JspException
-
doStartTag
public int doStartTag() throws jakarta.servlet.jsp.JspException- Specified by:
doStartTagin interfacejakarta.servlet.jsp.tagext.Tag- Overrides:
doStartTagin classjakarta.servlet.jsp.tagext.BodyTagSupport- Throws:
jakarta.servlet.jsp.JspException
-
doAfterBody
public int doAfterBody() throws jakarta.servlet.jsp.JspException- Specified by:
doAfterBodyin interfacejakarta.servlet.jsp.tagext.IterationTag- Overrides:
doAfterBodyin classjakarta.servlet.jsp.tagext.BodyTagSupport- Throws:
jakarta.servlet.jsp.JspException
-
doEndTag
public int doEndTag() throws jakarta.servlet.jsp.JspException- Specified by:
doEndTagin interfacejakarta.servlet.jsp.tagext.Tag- Overrides:
doEndTagin classjakarta.servlet.jsp.tagext.BodyTagSupport- Throws:
jakarta.servlet.jsp.JspException
-