DisplayOptions.SubstituteHandling
public
static
final
enum
DisplayOptions.SubstituteHandling
extends Enum<DisplayOptions.SubstituteHandling>
java.lang.Object | ||
↳ | java.lang.Enum<android.icu.text.DisplayOptions.SubstituteHandling> | |
↳ | android.icu.text.DisplayOptions.SubstituteHandling |
Represents all the substitute handlings.
Summary
Enum values | |
---|---|
DisplayOptions.SubstituteHandling |
NO_SUBSTITUTE
Returns a null value when no data is available. |
DisplayOptions.SubstituteHandling |
SUBSTITUTE
Returns a fallback value (e.g., the input code) when no data is available. |
DisplayOptions.SubstituteHandling |
UNDEFINED
A possible setting for SubstituteHandling. |
Fields | |
---|---|
public
static
final
List<DisplayOptions.SubstituteHandling> |
VALUES
Unmodifiable List of all substitute handlings constants. |
Public methods | |
---|---|
static
DisplayOptions.SubstituteHandling
|
valueOf(String name)
|
static
final
SubstituteHandling[]
|
values()
|
Inherited methods | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||
| |||||||||||||||||||||||
|
Enum values
NO_SUBSTITUTE
public static final DisplayOptions.SubstituteHandling NO_SUBSTITUTE
Returns a null value when no data is available.
SUBSTITUTE
public static final DisplayOptions.SubstituteHandling SUBSTITUTE
Returns a fallback value (e.g., the input code) when no data is available. This is the default behaviour.
UNDEFINED
public static final DisplayOptions.SubstituteHandling UNDEFINED
A possible setting for SubstituteHandling. The SubstituteHandling context to be used is unknown (this is the default value).
Fields
VALUES
public static final List<DisplayOptions.SubstituteHandling> VALUES
Unmodifiable List of all substitute handlings constants. List version of values()
.
Public methods
valueOf
public static DisplayOptions.SubstituteHandling valueOf (String name)
Parameters | |
---|---|
name |
String |