Package com.fasterxml.jackson.databind
Class EnumNamingStrategies
- java.lang.Object
-
- com.fasterxml.jackson.databind.EnumNamingStrategies
-
public class EnumNamingStrategies extends java.lang.ObjectA container class for implementations of theEnumNamingStrategyinterface.- Since:
- 2.15
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEnumNamingStrategies.CamelCaseStrategyDeprecated.Since 2.19 useEnumNamingStrategies.LowerCamelCaseStrategyinstead.static classEnumNamingStrategies.DelegatingEnumNamingStrategystatic classEnumNamingStrategies.KebabCaseStrategyAn implementation ofEnumNamingStrategythat converts enum names in the typical upper snake case format to upper camel case format.static classEnumNamingStrategies.LowerCamelCaseStrategyAn implementation ofEnumNamingStrategythat converts enum names in the typical upper snake case format to lower camel case format.static classEnumNamingStrategies.LowerCaseStrategyAn implementation ofEnumNamingStrategythat converts enum names in the typical upper snake case format to upper camel case format.static classEnumNamingStrategies.LowerDotCaseStrategyAn implementation ofEnumNamingStrategythat converts enum names in the typical upper snake case format to lower dot case format.static classEnumNamingStrategies.SnakeCaseStrategyAn implementation ofEnumNamingStrategythat converts enum names in the typical upper snake case format to upper camel case format.static classEnumNamingStrategies.UpperCamelCaseStrategyAn implementation ofEnumNamingStrategythat converts enum names in the typical upper snake case format to upper camel case format.static classEnumNamingStrategies.UpperSnakeCaseStrategyAn implementation ofEnumNamingStrategythat converts enum names in the typical upper snake case format to upper camel case format.
-
Field Summary
Fields Modifier and Type Field Description static EnumNamingStrategyKEBAB_CASENaming convention used in languages like Lisp, where words are in lower-case letters, separated by hyphens.static EnumNamingStrategyLOWER_CAMEL_CASEWords other than first are capitalized and no separator is used between words.static EnumNamingStrategyLOWER_CASENaming convention in which all words of the logical name are in lower case, and no separator is used between words.static EnumNamingStrategyLOWER_DOT_CASENaming convention widely used as configuration properties name, where words are in lower-case letters, separated by dots.static EnumNamingStrategySNAKE_CASENaming convention used in languages like C, where words are in lower-case letters, separated by underscores.static EnumNamingStrategyUPPER_CAMEL_CASENaming convention used in languages like Pascal, where all words are capitalized and no separator is used between words.static EnumNamingStrategyUPPER_SNAKE_CASENaming convention in which the words are in upper-case letters, separated by underscores.
-
-
-
Field Detail
-
LOWER_CAMEL_CASE
public static final EnumNamingStrategy LOWER_CAMEL_CASE
Words other than first are capitalized and no separator is used between words. SeeEnumNamingStrategies.LowerCamelCaseStrategyfor details.Example "ENUM_NAME" would be converted to "enumName".
- Since:
- 2.19
-
UPPER_CAMEL_CASE
public static final EnumNamingStrategy UPPER_CAMEL_CASE
Naming convention used in languages like Pascal, where all words are capitalized and no separator is used between words. SeeEnumNamingStrategies.UpperCamelCaseStrategyfor details.Example "ENUM_NAME" would be converted to "EnumName".
- Since:
- 2.19
-
SNAKE_CASE
public static final EnumNamingStrategy SNAKE_CASE
Naming convention used in languages like C, where words are in lower-case letters, separated by underscores. SeeEnumNamingStrategies.SnakeCaseStrategyfor details.Example "ENUM_NAME" would be converted to "enum_name".
- Since:
- 2.19
-
UPPER_SNAKE_CASE
public static final EnumNamingStrategy UPPER_SNAKE_CASE
Naming convention in which the words are in upper-case letters, separated by underscores. SeeEnumNamingStrategies.UpperSnakeCaseStrategyfor details.Example "ENUM_NAME" would be converted to "ENUM_NAME", but "__ENUM_NAME_" would also be converted to "ENUM_NAME".
- Since:
- 2.19
-
LOWER_CASE
public static final EnumNamingStrategy LOWER_CASE
Naming convention in which all words of the logical name are in lower case, and no separator is used between words. SeeEnumNamingStrategies.LowerCaseStrategyfor details.Example "ENUM_NAME" would be converted to "enumname".
- Since:
- 2.19
-
KEBAB_CASE
public static final EnumNamingStrategy KEBAB_CASE
Naming convention used in languages like Lisp, where words are in lower-case letters, separated by hyphens. SeeEnumNamingStrategies.KebabCaseStrategyfor details.Example "ENUM_NAME" would be converted to "enum-name".
- Since:
- 2.19
-
LOWER_DOT_CASE
public static final EnumNamingStrategy LOWER_DOT_CASE
Naming convention widely used as configuration properties name, where words are in lower-case letters, separated by dots. SeeEnumNamingStrategies.LowerDotCaseStrategyfor details.Example "ENUM_NAME" would be converted to "enum.name".
- Since:
- 2.19
-
-