public static enum RichInputSearch.Criteria extends Enum<RichInputSearch.Criteria>
| Enum Constant and Description |
|---|
ATTRIBUTE_STARTS_WITH
Suggestion filtering is based on simple startsWith matching per each attribute value.
|
AUTO
Currently, this defaults to contains
|
CONTAINS
Suggestion filtering is based on contains matching.
|
STARTS_WITH
Suggestion filtering is based on per-word startsWith matching
i.e.
|
| Modifier and Type | Method and Description |
|---|---|
String |
displayName()
Retrieves the display name for the Criteria constant
|
static RichInputSearch.Criteria |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RichInputSearch.Criteria |
valueOfDisplayName(String displayName)
Returns the Criteria constant associated with the specified displayName.
|
static RichInputSearch.Criteria[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RichInputSearch.Criteria STARTS_WITH
public static final RichInputSearch.Criteria CONTAINS
public static final RichInputSearch.Criteria ATTRIBUTE_STARTS_WITH
public static final RichInputSearch.Criteria AUTO
public static RichInputSearch.Criteria[] values()
for (RichInputSearch.Criteria c : RichInputSearch.Criteria.values()) System.out.println(c);
public static RichInputSearch.Criteria valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String displayName()
public static RichInputSearch.Criteria valueOfDisplayName(String displayName)
displayName - the displayName to look upIllegalArgumentException - if the displayName does not correspond to a
Criteria constant.