public class IteratorLoopSupportTag extends TagSupport implements LoopTag, LoopTagStatus
id, pageContextEVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGEEVAL_BODY_AGAIN| Constructor and Description |
|---|
IteratorLoopSupportTag() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
getBegin() |
int |
getCount() |
java.lang.Object |
getCurrent()
Returns the current value.
|
java.lang.Integer |
getEnd() |
int |
getIndex() |
LoopTagStatus |
getLoopStatus()
Returns the loop status
|
Tag |
getParent()
Returns the parent.
|
java.lang.Integer |
getStep() |
void |
init(int begin,
int end,
int step,
boolean beginSpecified,
boolean endSpecified,
boolean stepSpecified)
Sets the initial values.
|
boolean |
isFirst() |
boolean |
isLast() |
void |
setCurrent(java.lang.Object current,
boolean hasNext)
Sets the current value.
|
void |
setParent(JspTag parent)
Sets the parent as a JspTag
|
void |
setParent(Tag parent)
Sets the parent as a JspTag
|
doAfterBody, doEndTag, doStartTag, findAncestorWithClass, getId, getValue, getValues, release, removeValue, setId, setPageContext, setValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoEndTag, doStartTag, release, setPageContextpublic void setParent(JspTag parent)
public void setParent(Tag parent)
setParent in interface TagsetParent in class TagSupportparent - the tag to be used as a parent.public Tag getParent()
getParent in interface TaggetParent in class TagSupportpublic void init(int begin,
int end,
int step,
boolean beginSpecified,
boolean endSpecified,
boolean stepSpecified)
public void setCurrent(java.lang.Object current,
boolean hasNext)
public java.lang.Object getCurrent()
getCurrent in interface LoopTaggetCurrent in interface LoopTagStatuspublic LoopTagStatus getLoopStatus()
getLoopStatus in interface LoopTagpublic int getIndex()
getIndex in interface LoopTagStatuspublic int getCount()
getCount in interface LoopTagStatuspublic boolean isFirst()
isFirst in interface LoopTagStatuspublic boolean isLast()
isLast in interface LoopTagStatuspublic java.lang.Integer getBegin()
getBegin in interface LoopTagStatuspublic java.lang.Integer getEnd()
getEnd in interface LoopTagStatuspublic java.lang.Integer getStep()
getStep in interface LoopTagStatus