Package com.fasterxml.jackson.databind
Class PropertyNamingStrategy.UpperCamelCaseStrategy
- java.lang.Object
-
- com.fasterxml.jackson.databind.PropertyNamingStrategy
-
- com.fasterxml.jackson.databind.PropertyNamingStrategy.PropertyNamingStrategyBase
-
- com.fasterxml.jackson.databind.PropertyNamingStrategy.UpperCamelCaseStrategy
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PropertyNamingStrategy.PascalCaseStrategy
- Enclosing class:
- PropertyNamingStrategy
@Deprecated public static class PropertyNamingStrategy.UpperCamelCaseStrategy extends PropertyNamingStrategy.PropertyNamingStrategyBase
Deprecated.Since 2.12 usePropertyNamingStrategies.UpperCamelCaseStrategy
instead (see databind#2715 for reason for deprecation)- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.PropertyNamingStrategy
PropertyNamingStrategy.KebabCaseStrategy, PropertyNamingStrategy.LowerCaseStrategy, PropertyNamingStrategy.LowerCaseWithUnderscoresStrategy, PropertyNamingStrategy.LowerDotCaseStrategy, PropertyNamingStrategy.PascalCaseStrategy, PropertyNamingStrategy.PropertyNamingStrategyBase, PropertyNamingStrategy.SnakeCaseStrategy, PropertyNamingStrategy.UpperCamelCaseStrategy
-
-
Field Summary
-
Fields inherited from class com.fasterxml.jackson.databind.PropertyNamingStrategy
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 Summary
Constructors Constructor Description UpperCamelCaseStrategy()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
translate(String input)
Deprecated.Converts camelCase to PascalCase For example, "userName" would be converted to "UserName".-
Methods inherited from class com.fasterxml.jackson.databind.PropertyNamingStrategy.PropertyNamingStrategyBase
nameForConstructorParameter, nameForField, nameForGetterMethod, nameForSetterMethod
-
-
-
-
Method Detail
-
translate
public String translate(String input)
Deprecated.Converts camelCase to PascalCase For example, "userName" would be converted to "UserName".- Specified by:
translate
in classPropertyNamingStrategy.PropertyNamingStrategyBase
- Parameters:
input
- formatted as camelCase string- Returns:
- input converted to PascalCase format
-
-