Enum Class DisplayContext.Type
- All Implemented Interfaces:
Serializable, Comparable<DisplayContext.Type>, Constable
- Enclosing class:
DisplayContext
Type values for DisplayContext
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCAPITALIZATION can be set to one of CAPITALIZATION_NONE through CAPITALIZATION_FOR_STANDALONE.DIALECT_HANDLING can be set to STANDARD_NAMES or DIALECT_NAMES.DISPLAY_LENGTH can be set to LENGTH_FULL or LENGTH_SHORT.SUBSTITUTE_HANDLING can be set to SUBSTITUTE or NO_SUBSTITUTE. -
Method Summary
Modifier and TypeMethodDescriptionstatic DisplayContext.TypeReturns the enum constant of this class with the specified name.static DisplayContext.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DIALECT_HANDLING
DIALECT_HANDLING can be set to STANDARD_NAMES or DIALECT_NAMES. -
CAPITALIZATION
CAPITALIZATION can be set to one of CAPITALIZATION_NONE through CAPITALIZATION_FOR_STANDALONE. -
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 Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-