public interface LoopTag
extends javax.servlet.jsp.tagext.Tag
JSTL allows developers to write custom iteration tags by implementing the LoopTag interface. This is not to be confused with javax.servlet.jsp.tagext.IterationTag as defined in JSP 1.2. LoopTag establishes a mechanism for iteration tags to be recognized and for type-safe implicit collaboration with custom subtags.
In most cases, it will not be necessary to implement this interface manually, for a base support class (LoopTagSupport) is provided to facilitate implementation.
Modifier and Type | Method and Description |
---|---|
Object |
getCurrent()
Retrieves the current item in the iteration.
|
LoopTagStatus |
getLoopStatus()
Retrieves a 'status' object to provide information about the
current round of the iteration.
|
Object getCurrent()
LoopTagStatus getLoopStatus()
Copyright © 2001-2014 The Apache Software Foundation. All Rights Reserved.