package javax.faces.component;
Construct an iterator instance for the specified parent component.
Iterator over the SelectItem elements pointed at by a
UISelectItems component, or null.
Iterator over the children of the parent component.
Expose single SelectItems via an Iterator. This iterator will be
reset/reused for each individual SelectItem instance encountered.
Return true if the iteration has more elements.
Return the next element in the iteration.
- Throws:
- NoSuchElementException if there are no more elements
Throw UnsupportedOperationException.
Initializes the items instance variable with an
Iterator appropriate to the UISelectItem(s) value.
} else if (value instanceof Map) { - Returns:
- the next valid child for processing
Update the
singleItemIterator with the provided
item
Iterates over a
Map of values exposing each entry as a SelectItem.
Note that this will do so re-using the same SelectItem but changing
the value and label as appropriate.
Base class to support iterating over Collections or Arrays that may
or may not contain SelectItem instances.
SelectItem that is updated based on the current Object being
iterated over.
The source
UISelectItems.
A
SelectItem implementation to support generating
unique
SelectItem values based on
ValueExpressions
from the owning
UISelectItems instance.
Resolves to the value of the
SelectItem.
Resolves to the label of the
SelectItem.
Resolves to the description of the
SelectItem.
Determines the value for the escaped property of the
SelectItem.
Determines the value for the disabled property of the
SelectItem/
Determines the value for the noSelectionOption property of the
SelectItem/
The request-scoped variable under which the current object
will be exposed.
Updates the
SelectItem properties based on the
current value.
oldVarValue = reqMap.put(var, value);
setValue(((itemValueResult != null) ? itemValueResult : value));
if (oldVarValue != null) { Handles arrays of
SelectItems, generic Objects,
or combintations of both.
A single
GenericObjectSelectItem will be leverage for any
non-
SelectItem objects encountered.
Handles Collections of
SelectItems, generic Objects,
or combintations of both.
A single
GenericObjectSelectItem will be leverage for any
non-
SelectItem objects encountered.