|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LoopTag
Allows developers to write custom iteration tags by implementing the LoopTag interface. (This is not to be confused with org.apache.cocoon.taglib.IterationTag) LoopTag establishes a mechanism for iteration tags to be recognized and for type-safe communication 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.
Migration from JSTL1.0
LoopTag| Field Summary |
|---|
| Fields inherited from interface org.apache.cocoon.taglib.Tag |
|---|
EVAL_BODY, EVAL_PAGE, ROLE, SKIP_BODY |
| Method Summary | |
|---|---|
Object |
getCurrent()
Retrieves the current item in the iteration. |
LoopTagStatus |
getIteratorStatus()
Retrieves a 'status' object to provide information about the current round of the iteration. |
| Methods inherited from interface org.apache.cocoon.taglib.Tag |
|---|
doEndTag, doStartTag, getParent, setParent, setup |
| Method Detail |
|---|
Object getCurrent()
LoopTagStatus getIteratorStatus()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||