|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
com.ivata.mask.web.tag.util.ForEachTag
Loop increasing a counter nCounter until it reaches to (inclusive).
| Field Summary |
| Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
bodyContent |
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
| Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
| Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
EVAL_BODY_AGAIN |
| Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
| Constructor Summary | |
ForEachTag()
|
|
| Method Summary | |
int |
doAfterBody()
Refer to IterationTag#doAfterBody. |
int |
doStartTag()
Refer to Tag#doStartTag. |
java.lang.String |
getVar()
Get the value of the counter. |
void |
setBegin(int value)
Sets the first value of the loop counter. |
void |
setEnd(int value)
Sets the final value of the loop counter, inclusive. |
void |
setStep(int value)
Sets the increment by which the counter is increased after each loop. |
void |
setVar(java.lang.String value)
Set the current value of the counter. |
| Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doEndTag, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.servlet.jsp.tagext.Tag |
getParent, setPageContext, setParent |
| Constructor Detail |
public ForEachTag()
| Method Detail |
public int doAfterBody()
throws javax.servlet.jsp.JspException
IterationTag#doAfterBody.
IterationTag#doAfterBody.
javax.servlet.jsp.JspException - Refer to IterationTag#doAfterBody.
public int doStartTag()
throws javax.servlet.jsp.JspException
Tag#doStartTag.
Tag#doStartTag.
javax.servlet.jsp.JspException - Refer to Tag#doStartTag.public final java.lang.String getVar()
public final void setBegin(int value)
value - the value the counter should start at.public final void setEnd(int value)
value - final value of the loop counter, inclusive.public final void setStep(int value)
value - increment by which the counter is increased after each loop.public final void setVar(java.lang.String value)
value - new value of counter.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||