Module jakarta.faces
Package com.sun.faces.renderkit
Class SelectItemsIterator<T extends SelectItem>
java.lang.Object
com.sun.faces.renderkit.SelectItemsIterator<T>
- All Implemented Interfaces:
Iterator<SelectItem>
public final class SelectItemsIterator<T extends SelectItem>
extends Object
implements Iterator<SelectItem>
Package private class for iterating over the set of SelectItem
s for a parent UISelectMany
or
UISelectOne
.
-
Constructor Summary
ConstructorDescriptionSelectItemsIterator
(FacesContext ctx, UIComponent parent) Construct an iterator instance for the specified parent component. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
SelectItemsIterator
Construct an iterator instance for the specified parent component.
- Parameters:
ctx
- theFacesContext
for the current requestparent
- The parentUIComponent
whose children will be processed
-
-
Method Details
-
hasNext
public boolean hasNext()Return
true
if the iteration has more elements.- Specified by:
hasNext
in interfaceIterator<T extends SelectItem>
-
next
Return the next element in the iteration.
- Specified by:
next
in interfaceIterator<T extends SelectItem>
- Throws:
NoSuchElementException
- if there are no more elements
-
currentSelectComponent
-
remove
public void remove()Throw UnsupportedOperationException.
- Specified by:
remove
in interfaceIterator<T extends SelectItem>
-