Enum DisplayOptions.SubstituteHandling

java.lang.Object
java.lang.Enum<DisplayOptions.SubstituteHandling>
com.ibm.icu.text.DisplayOptions.SubstituteHandling
All Implemented Interfaces:
Serializable, Comparable<DisplayOptions.SubstituteHandling>, java.lang.constant.Constable
Enclosing class:
DisplayOptions

public static enum DisplayOptions.SubstituteHandling extends Enum<DisplayOptions.SubstituteHandling>
Represents all the substitute handlings.
  • Enum Constant Details

    • 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).
    • 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.
    • NO_SUBSTITUTE

      public static final DisplayOptions.SubstituteHandling NO_SUBSTITUTE
      Returns a null value when no data is available.
  • Field Details

  • Method Details

    • values

      public static DisplayOptions.SubstituteHandling[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static DisplayOptions.SubstituteHandling valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null