public interface IterationTag extends Tag
The generated code looks something like:
if (tag.doStartTag() == EVAL_BODY_INCLUDE) {
do {
...
} while (tag.doAfterBody() == EVAL_BODY_AGAIN);
}
if (tag.doEndTag() == SKIP_PAGE)
return;
Modifier and Type | Field and Description |
---|---|
static int |
EVAL_BODY_AGAIN
Constant to reiterate the body.
|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
Modifier and Type | Method and Description |
---|---|
int |
doAfterBody()
Tags call doAfterBody after processing the tag body.
|
doEndTag, doStartTag, getParent, release, setPageContext, setParent
static final int EVAL_BODY_AGAIN
int doAfterBody() throws JspException
empty tags and tags returning SKIP_BODY do not call doAfterBody.
JspException