Class UpperCamelCaseStrategyWithSpaces

java.lang.Object
io.micronaut.serde.config.naming.UpperCamelCaseStrategyWithSpaces
All Implemented Interfaces:
PropertyNamingStrategy

public class UpperCamelCaseStrategyWithSpaces extends Object implements PropertyNamingStrategy
Upper camel case separated by spaces.
  • Constructor Details

    • UpperCamelCaseStrategyWithSpaces

      public UpperCamelCaseStrategyWithSpaces()
  • Method Details

    • translate

      public String translate(io.micronaut.core.annotation.AnnotatedElement element)
      Description copied from interface: PropertyNamingStrategy
      Translate the given name into the desired format.
      Specified by:
      translate in interface PropertyNamingStrategy
      Parameters:
      element - The annotated element to translate
      Returns:
      The translated name