Class ForEachTag.LoopStatus
java.lang.Object
org.apache.commons.jelly.tags.core.ForEachTag.LoopStatus
- All Implemented Interfaces:
jakarta.servlet.jsp.jstl.core.LoopTagStatus
- Enclosing class:
- ForEachTag
public static final class ForEachTag.LoopStatus
extends Object
implements jakarta.servlet.jsp.jstl.core.LoopTagStatus
Holds the status of the loop.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LoopStatus
-
-
Method Details
-
getBegin
- Specified by:
getBeginin interfacejakarta.servlet.jsp.jstl.core.LoopTagStatus- Returns:
- Returns the begin.
-
getCount
public int getCount()- Specified by:
getCountin interfacejakarta.servlet.jsp.jstl.core.LoopTagStatus- Returns:
- Returns the count.
-
getCurrent
- Specified by:
getCurrentin interfacejakarta.servlet.jsp.jstl.core.LoopTagStatus- Returns:
- Returns the current.
-
getEnd
- Specified by:
getEndin interfacejakarta.servlet.jsp.jstl.core.LoopTagStatus- Returns:
- Returns the end.
-
isFirst
public boolean isFirst()- Specified by:
isFirstin interfacejakarta.servlet.jsp.jstl.core.LoopTagStatus- Returns:
- Returns the first.
-
getIndex
public int getIndex()- Specified by:
getIndexin interfacejakarta.servlet.jsp.jstl.core.LoopTagStatus- Returns:
- Returns the index.
-
isLast
public boolean isLast()- Specified by:
isLastin interfacejakarta.servlet.jsp.jstl.core.LoopTagStatus- Returns:
- Returns the last.
-
getStep
- Specified by:
getStepin interfacejakarta.servlet.jsp.jstl.core.LoopTagStatus- Returns:
- Returns the step.
-
setCount
public void setCount(int count) - Parameters:
count- The count to set.
-
setCurrent
- Parameters:
current- The current to set.
-
setFirst
public void setFirst(boolean first) - Parameters:
first- The first to set.
-
setLast
public void setLast(boolean last) - Parameters:
last- The last to set.
-
setIndex
public void setIndex(int index) - Parameters:
index- The index to set.
-