public class EnumNamingStrategies extends Object
EnumNamingStrategy
interface.Modifier and Type | Class and Description |
---|---|
static class |
EnumNamingStrategies.CamelCaseStrategy
Deprecated.
Since 2.19 use
EnumNamingStrategies.LowerCamelCaseStrategy instead. |
static class |
EnumNamingStrategies.DelegatingEnumNamingStrategy |
static class |
EnumNamingStrategies.KebabCaseStrategy
An implementation of
EnumNamingStrategy that converts enum names in the typical upper
snake case format to upper camel case format. |
static class |
EnumNamingStrategies.LowerCamelCaseStrategy
An implementation of
EnumNamingStrategy that converts enum names in the typical upper
snake case format to lower camel case format. |
static class |
EnumNamingStrategies.LowerCaseStrategy
An implementation of
EnumNamingStrategy that converts enum names in the typical upper
snake case format to upper camel case format. |
static class |
EnumNamingStrategies.LowerDotCaseStrategy
An implementation of
EnumNamingStrategy that converts enum names in the typical upper
snake case format to lower dot case format. |
static class |
EnumNamingStrategies.SnakeCaseStrategy
An implementation of
EnumNamingStrategy that converts enum names in the typical upper
snake case format to upper camel case format. |
static class |
EnumNamingStrategies.UpperCamelCaseStrategy
An implementation of
EnumNamingStrategy that converts enum names in the typical upper
snake case format to upper camel case format. |
static class |
EnumNamingStrategies.UpperSnakeCaseStrategy
An implementation of
EnumNamingStrategy that converts enum names in the typical upper
snake case format to upper camel case format. |
Modifier and Type | Field and Description |
---|---|
static EnumNamingStrategy |
KEBAB_CASE
Naming convention used in languages like Lisp, where words are in lower-case letters, separated by hyphens.
|
static EnumNamingStrategy |
LOWER_CAMEL_CASE
Words other than first are capitalized and no separator is used between words.
|
static EnumNamingStrategy |
LOWER_CASE
Naming convention in which all words of the logical name are in lower case, and no separator is used between words.
|
static EnumNamingStrategy |
LOWER_DOT_CASE
Naming convention widely used as configuration properties name, where words are in lower-case letters,
separated by dots.
|
static EnumNamingStrategy |
SNAKE_CASE
Naming convention used in languages like C, where words are in lower-case letters, separated by underscores.
|
static EnumNamingStrategy |
UPPER_CAMEL_CASE
Naming convention used in languages like Pascal, where all words are capitalized and no separator is used between
words.
|
static EnumNamingStrategy |
UPPER_SNAKE_CASE
Naming convention in which the words are in upper-case letters, separated by underscores.
|
public static final EnumNamingStrategy LOWER_CAMEL_CASE
EnumNamingStrategies.LowerCamelCaseStrategy
for details.
Example "ENUM_NAME" would be converted to "enumName".
public static final EnumNamingStrategy UPPER_CAMEL_CASE
EnumNamingStrategies.UpperCamelCaseStrategy
for details.
Example "ENUM_NAME" would be converted to "EnumName".
public static final EnumNamingStrategy SNAKE_CASE
EnumNamingStrategies.SnakeCaseStrategy
for details.
Example "ENUM_NAME" would be converted to "enum_name".
public static final EnumNamingStrategy UPPER_SNAKE_CASE
EnumNamingStrategies.UpperSnakeCaseStrategy
for details.
Example "ENUM_NAME" would be converted to "ENUM_NAME", but "__ENUM_NAME_" would also be converted to "ENUM_NAME".
public static final EnumNamingStrategy LOWER_CASE
EnumNamingStrategies.LowerCaseStrategy
for details.
Example "ENUM_NAME" would be converted to "enumname".
public static final EnumNamingStrategy KEBAB_CASE
EnumNamingStrategies.KebabCaseStrategy
for details.
Example "ENUM_NAME" would be converted to "enum-name".
public static final EnumNamingStrategy LOWER_DOT_CASE
EnumNamingStrategies.LowerDotCaseStrategy
for details.
Example "ENUM_NAME" would be converted to "enum.name".
Copyright © 2008–2025 FasterXML. All rights reserved.