org.apache.commons.jelly.tags.core
public static final class ForEachTag.LoopStatus extends java.lang.Object implements javax.servlet.jsp.jstl.core.LoopTagStatus
Constructor and Description |
---|
ForEachTag.LoopStatus(java.lang.Integer begin,
java.lang.Integer end,
java.lang.Integer step) |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getBegin() |
int |
getCount() |
java.lang.Object |
getCurrent() |
java.lang.Integer |
getEnd() |
int |
getIndex() |
java.lang.Integer |
getStep() |
boolean |
isFirst() |
boolean |
isLast() |
void |
setCount(int count) |
void |
setCurrent(java.lang.Object current) |
void |
setFirst(boolean first) |
void |
setIndex(int index) |
void |
setLast(boolean last) |
public ForEachTag.LoopStatus(java.lang.Integer begin, java.lang.Integer end, java.lang.Integer step)
public java.lang.Integer getBegin()
getBegin
in interface javax.servlet.jsp.jstl.core.LoopTagStatus
public int getCount()
getCount
in interface javax.servlet.jsp.jstl.core.LoopTagStatus
public java.lang.Object getCurrent()
getCurrent
in interface javax.servlet.jsp.jstl.core.LoopTagStatus
public java.lang.Integer getEnd()
getEnd
in interface javax.servlet.jsp.jstl.core.LoopTagStatus
public boolean isFirst()
isFirst
in interface javax.servlet.jsp.jstl.core.LoopTagStatus
public int getIndex()
getIndex
in interface javax.servlet.jsp.jstl.core.LoopTagStatus
public boolean isLast()
isLast
in interface javax.servlet.jsp.jstl.core.LoopTagStatus
public java.lang.Integer getStep()
getStep
in interface javax.servlet.jsp.jstl.core.LoopTagStatus
public void setCount(int count)
count
- The count to set.public void setCurrent(java.lang.Object current)
current
- The current to set.public void setFirst(boolean first)
first
- The first to set.public void setLast(boolean last)
last
- The last to set.public void setIndex(int index)
index
- The index to set.Copyright © 2014. All Rights Reserved.