public static class PropertyNamingStrategies.UpperSnakeCaseStrategy extends PropertyNamingStrategies.SnakeCaseStrategy
PropertyNamingStrategy
that translates an input to the equivalent upper case snake
case. The class extends PropertyNamingStrategies.SnakeCaseStrategy
to retain the
snake case conversion functionality offered by the strategy.PropertyNamingStrategy.KebabCaseStrategy, PropertyNamingStrategy.LowerCaseStrategy, PropertyNamingStrategy.LowerCaseWithUnderscoresStrategy, PropertyNamingStrategy.LowerDotCaseStrategy, PropertyNamingStrategy.PascalCaseStrategy, PropertyNamingStrategy.PropertyNamingStrategyBase, PropertyNamingStrategy.SnakeCaseStrategy, PropertyNamingStrategy.UpperCamelCaseStrategy
Modifier and Type | Field and Description |
---|---|
static PropertyNamingStrategies.UpperSnakeCaseStrategy |
INSTANCE |
CAMEL_CASE_TO_LOWER_CASE_WITH_UNDERSCORES, KEBAB_CASE, LOWER_CAMEL_CASE, LOWER_CASE, LOWER_DOT_CASE, PASCAL_CASE_TO_CAMEL_CASE, SNAKE_CASE, UPPER_CAMEL_CASE
Constructor and Description |
---|
UpperSnakeCaseStrategy() |
Modifier and Type | Method and Description |
---|---|
String |
translate(String input) |
nameForConstructorParameter, nameForField, nameForGetterMethod, nameForSetterMethod, translateLowerCaseWithSeparator
public static final PropertyNamingStrategies.UpperSnakeCaseStrategy INSTANCE
public String translate(String input)
translate
in class PropertyNamingStrategies.SnakeCaseStrategy
Copyright © 2008–2022 FasterXML. All rights reserved.