java.lang.Object
org.omnifaces.util.selectitems.SelectItemsBuilder
Helper class to build an array of SelectItems using various means, like via the builder pattern or a given
Map.- Author:
- Arjan Tijms
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()static List<SelectItem>Builds aListofSelectItems from the givenMapargument.
-
Constructor Details
-
SelectItemsBuilder
public SelectItemsBuilder()
-
-
Method Details
-
add
-
build
-
buildList
-
fromMap
Builds aListofSelectItems from the givenMapargument.- Parameters:
map- the Map- Returns:
ListofSelectItems having the map's value as value and the map's key as label.
-