public final class SelectItemsIterator<T extends jakarta.faces.model.SelectItem> extends Object implements Iterator<jakarta.faces.model.SelectItem>
Package private class for iterating over the set of SelectItems for a parent UISelectMany or
UISelectOne.
| Constructor and Description |
|---|
SelectItemsIterator(jakarta.faces.context.FacesContext ctx,
jakarta.faces.component.UIComponent parent)
Construct an iterator instance for the specified parent component.
|
| Modifier and Type | Method and Description |
|---|---|
jakarta.faces.component.UIComponent |
currentSelectComponent() |
boolean |
hasNext()
Return
true if the iteration has more elements. |
jakarta.faces.model.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(jakarta.faces.context.FacesContext ctx,
jakarta.faces.component.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.
public jakarta.faces.model.SelectItem next()
Return the next element in the iteration.
next in interface Iterator<jakarta.faces.model.SelectItem>NoSuchElementException - if there are no more elementspublic jakarta.faces.component.UIComponent currentSelectComponent()
Copyright © 2010–2022 JBoss by Red Hat. All rights reserved.