Class LowerCaseStrategy

  • All Implemented Interfaces:
    javax.json.bind.config.PropertyNamingStrategy
    Direct Known Subclasses:
    LowerCaseWithDashesStrategy, LowerCaseWithUnderscoresStrategy

    public abstract class LowerCaseStrategy
    extends java.lang.Object
    implements javax.json.bind.config.PropertyNamingStrategy
    Common parent for lowercase strategies.
    Author:
    Roman Grigoriadi
    • Field Summary

      • 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 Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected abstract char getSeparator()
      Separator for replacing camel case.
      java.lang.String translateName​(java.lang.String propertyName)  
      • Methods inherited from class java.lang.Object

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

      • LowerCaseStrategy

        public LowerCaseStrategy()
    • Method Detail

      • translateName

        public java.lang.String translateName​(java.lang.String propertyName)
        Specified by:
        translateName in interface javax.json.bind.config.PropertyNamingStrategy
      • getSeparator

        protected abstract char getSeparator()
        Separator for replacing camel case.
        Returns:
        separator