Class LowerCaseWithUnderscoresStrategy

  • All Implemented Interfaces:
    javax.json.bind.config.PropertyNamingStrategy

    public class LowerCaseWithUnderscoresStrategy
    extends LowerCaseStrategy
    Lower case with underscores
         myPropertyName -> my_property_name
     
    Author:
    Roman Grigoriadi
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.Character UNDERSCORE  
      • Fields inherited from interface javax.json.bind.config.PropertyNamingStrategy

        CASE_INSENSITIVE, IDENTITY, LOWER_CASE_WITH_DASHES, LOWER_CASE_WITH_UNDERSCORES, UPPER_CAMEL_CASE, UPPER_CAMEL_CASE_WITH_SPACES
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected char getSeparator()
      Separator for replacing camel case.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • UNDERSCORE

        public static final java.lang.Character UNDERSCORE
    • Constructor Detail

      • LowerCaseWithUnderscoresStrategy

        public LowerCaseWithUnderscoresStrategy()