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_SUBSTITUTEReturns a null value when no data is available. | 
| DisplayOptions.SubstituteHandling | SUBSTITUTEReturns a fallback value (e.g., the input code) when no data is available. | 
| DisplayOptions.SubstituteHandling | UNDEFINEDA possible setting for SubstituteHandling. | 
| Fields | |
|---|---|
| 
    public
    static
    final
    List<DisplayOptions.SubstituteHandling> | VALUESUnmodifiable 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 | 
| Returns | |
|---|---|
| DisplayOptions.SubstituteHandling | |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
