Top Fields Constructors Methods
com.sun.faces.facelets.tag

public Class IterationStatus

extends Object
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Known Direct Subclasses
com.sun.faces.facelets.tag.jstl.core.JstlIterationStatus
Imports
java.io.Serializable

Author
Jacob Hookom
Version
$Id$

Field Summary

Modifier and TypeField and Description
private final Integer
private final Object
private final Integer
private final boolean
private final boolean
private final int
private final int
private final boolean
private static final long
private final Integer

Constructor Summary

AccessConstructor and Description
public
IterationStatus(boolean first, boolean last, int index, Integer begin, Integer end, Integer step)

Constructor used for ui:repeat.

public
IterationStatus(boolean first, boolean last, int index, Integer begin, Integer end, Integer step, Object current, int iterationCount)

Constructor used for c:forEach varStatus

Method Summary

Modifier and TypeMethod and Description
public Integer
public int
public Object
public Integer
public int
public Integer
public boolean
public boolean
public boolean
public boolean
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

beginback to summary
private final Integer begin
currentback to summary
private final Object current
endback to summary
private final Integer end
evenback to summary
private final boolean even
firstback to summary
private final boolean first
indexback to summary
private final int index
iterationCountback to summary
private final int iterationCount
lastback to summary
private final boolean last
serialVersionUIDback to summary
private static final long serialVersionUID
stepback to summary
private final Integer step

Constructor Detail

IterationStatusback to summary
public IterationStatus(boolean first, boolean last, int index, Integer begin, Integer end, Integer step)

Constructor used for ui:repeat.

IterationStatusback to summary
public IterationStatus(boolean first, boolean last, int index, Integer begin, Integer end, Integer step, Object current, int iterationCount)

Constructor used for c:forEach varStatus

Method Detail

getBeginback to summary
public Integer getBegin()
getCountback to summary
public int getCount()
getCurrentback to summary
public Object getCurrent()
getEndback to summary
public Integer getEnd()
getIndexback to summary
public int getIndex()
getStepback to summary
public Integer getStep()
isEvenback to summary
public boolean isEven()
isFirstback to summary
public boolean isFirst()
isLastback to summary
public boolean isLast()
isOddback to summary
public boolean isOdd()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override