public static class PropertyNamingStrategy.KebabCaseStrategy extends PropertyNamingStrategy.PropertyNamingStrategyBase
PropertyNamingStrategy.SnakeCaseStrategy
, but instead of underscores
as separators, uses hyphens. Naming convention traditionally used for languages
like Lisp.PropertyNamingStrategy.KebabCaseStrategy, PropertyNamingStrategy.LowerCaseStrategy, PropertyNamingStrategy.LowerCaseWithUnderscoresStrategy, PropertyNamingStrategy.LowerDotCaseStrategy, PropertyNamingStrategy.PascalCaseStrategy, PropertyNamingStrategy.PropertyNamingStrategyBase, PropertyNamingStrategy.SnakeCaseStrategy, PropertyNamingStrategy.UpperCamelCaseStrategy
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 |
---|
KebabCaseStrategy() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
translate(java.lang.String input) |
nameForConstructorParameter, nameForField, nameForGetterMethod, nameForSetterMethod
public java.lang.String translate(java.lang.String input)
translate
in class PropertyNamingStrategy.PropertyNamingStrategyBase
Copyright © 2010 - 2020 Adobe. All Rights Reserved