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.LowerDotCaseStrategy, PropertyNamingStrategy.PropertyNamingStrategyBase, PropertyNamingStrategy.SnakeCaseStrategy, PropertyNamingStrategy.UpperCamelCaseStrategy
Modifier and Type | Field and Description |
---|---|
static PropertyNamingStrategies.UpperSnakeCaseStrategy |
INSTANCE |
KEBAB_CASE, LOWER_CAMEL_CASE, LOWER_CASE, LOWER_DOT_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–2023 FasterXML. All rights reserved.