Name
LoopTagSupport
Synopsis
Class name: |
|
Extends: |
|
Implements: |
|
Fields
protected int begin protected boolean beginSpecified protected int end protected boolean endSpecified protected int itemId protected int statusId protected int step protected boolean stepSpecified
Methods
-
public void doAfterBody( ) throws javax.servlet.jsp.tagext.JspTagException
Prepares for the next iteration until
hasNext( )
returnsfalse
.-
public void doCatch(Throwable t) throws Throwable
Rethrows the exception.
-
public void doFinally( ) throws javax.servlet.jsp.tagext.JspTagException
Removes the nested variables.
-
public void doStartTag( ) throws javax.servlet.jsp.tagext.JspTagException
Prepares for the iteration.
-
protected abstract Object getCurrent( )
Returns the current iteration element.
-
public javax.servlet.jsp.jstl.core.LoopTagStatus getLoopStatus( )
Returns the iteration status.
-
protected abstract boolean hasNext( )
throws javax.servlet.jsp.tagext.JspTagException
Returns true
if there are more iteration elements.
-
protected abstract Object next( )
throws javax.servlet.jsp.tagext.JspTagException
Returns the next iteration element.
-
protected abstract void prepare( )
throws javax.servlet.jsp.tagext.JspTagException
Prepares for the iteration.
-
public void setScope(String scope)
Sets the
scope
attribute value. ...
Get JavaServer Pages, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.