Enum DisplayContext.Type

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      CAPITALIZATION
      CAPITALIZATION can be set to one of CAPITALIZATION_NONE through CAPITALIZATION_FOR_STANDALONE.
      DIALECT_HANDLING
      DIALECT_HANDLING can be set to STANDARD_NAMES or DIALECT_NAMES.
      DISPLAY_LENGTH
      DISPLAY_LENGTH can be set to LENGTH_FULL or LENGTH_SHORT.
      SUBSTITUTE_HANDLING
      SUBSTITUTE_HANDLING can be set to SUBSTITUTE or NO_SUBSTITUTE.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static DisplayContext.Type valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static DisplayContext.Type[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • DIALECT_HANDLING

        public static final DisplayContext.Type DIALECT_HANDLING
        DIALECT_HANDLING can be set to STANDARD_NAMES or DIALECT_NAMES.
      • CAPITALIZATION

        public static final DisplayContext.Type CAPITALIZATION
        CAPITALIZATION can be set to one of CAPITALIZATION_NONE through CAPITALIZATION_FOR_STANDALONE.
      • DISPLAY_LENGTH

        public static final DisplayContext.Type DISPLAY_LENGTH
        DISPLAY_LENGTH can be set to LENGTH_FULL or LENGTH_SHORT.
      • SUBSTITUTE_HANDLING

        public static final DisplayContext.Type SUBSTITUTE_HANDLING
        SUBSTITUTE_HANDLING can be set to SUBSTITUTE or NO_SUBSTITUTE.
    • Method Detail

      • values

        public static DisplayContext.Type[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (DisplayContext.Type c : DisplayContext.Type.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DisplayContext.Type valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null