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 and Description |
|---|
SelectItemsIterator(FacesContext ctx,
UIComponent parent)
Construct an iterator instance for the specified parent component.
|
| Modifier and Type | Method and Description |
|---|---|
UIComponent |
currentSelectComponent() |
boolean |
hasNext()
Return
true if the iteration has more elements. |
SelectItem |
next()
Return the next element in the iteration.
|
void |
remove()
Throw UnsupportedOperationException.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic SelectItemsIterator(FacesContext ctx, UIComponent parent)
Construct an iterator instance for the specified parent component.
ctx - the FacesContext for the current requestparent - The parent UIComponent whose children will be
processedpublic boolean hasNext()
Return true if the iteration has more elements.
hasNext in interface Iterator<SelectItem>public SelectItem next()
Return the next element in the iteration.
next in interface Iterator<SelectItem>NoSuchElementException - if there are no more elementspublic UIComponent currentSelectComponent()
public void remove()
Throw UnsupportedOperationException.
remove in interface Iterator<SelectItem>Copyright © 1997–2019 Eclipse Foundation. All rights reserved.