public class IntegerLoopSupportTag extends TagSupport implements LoopTag, LoopTagStatus
id, pageContext
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
EVAL_BODY_AGAIN
Constructor and Description |
---|
IntegerLoopSupportTag() |
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(int current)
Sets the current value.
|
void |
setParent(JspTag parent)
Sets the parent as a JspTag
|
void |
setParent(Tag parent)
Sets the parent as a JspTag
|
java.lang.String |
toString() |
doAfterBody, doEndTag, doStartTag, findAncestorWithClass, getId, getValue, getValues, release, removeValue, setId, setPageContext, setValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
doEndTag, doStartTag, release, setPageContext
public void setParent(JspTag parent)
public void setParent(Tag parent)
setParent
in interface Tag
setParent
in class TagSupport
parent
- the tag to be used as a parent.public Tag getParent()
getParent
in interface Tag
getParent
in class TagSupport
public void init(int begin, int end, int step, boolean beginSpecified, boolean endSpecified, boolean stepSpecified)
public void setCurrent(int current)
public java.lang.Object getCurrent()
getCurrent
in interface LoopTag
getCurrent
in interface LoopTagStatus
public LoopTagStatus getLoopStatus()
getLoopStatus
in interface LoopTag
public int getIndex()
getIndex
in interface LoopTagStatus
public int getCount()
getCount
in interface LoopTagStatus
public boolean isFirst()
isFirst
in interface LoopTagStatus
public boolean isLast()
isLast
in interface LoopTagStatus
public java.lang.Integer getBegin()
getBegin
in interface LoopTagStatus
public java.lang.Integer getEnd()
getEnd
in interface LoopTagStatus
public java.lang.Integer getStep()
getStep
in interface LoopTagStatus
public java.lang.String toString()
toString
in class java.lang.Object