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 SelectItems for a parent UISelectMany or
 UISelectOne.
 
- 
Constructor Summary
ConstructorsConstructorDescriptionSelectItemsIterator(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, waitMethods inherited from interface java.util.Iterator
forEachRemaining 
- 
Constructor Details
- 
SelectItemsIterator
Construct an iterator instance for the specified parent component.
- Parameters:
 ctx- theFacesContextfor the current requestparent- The parentUIComponentwhose children will be processed
 
 - 
 - 
Method Details
- 
hasNext
public boolean hasNext()Return
trueif the iteration has more elements.- Specified by:
 hasNextin interfaceIterator<T extends SelectItem>
 - 
next
Return the next element in the iteration.
- Specified by:
 nextin interfaceIterator<T extends SelectItem>- Throws:
 NoSuchElementException- if there are no more elements
 - 
currentSelectComponent
 - 
remove
public void remove()Throw UnsupportedOperationException.
- Specified by:
 removein interfaceIterator<T extends SelectItem>
 
 -