Class CaseInsensitiveStrategy

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

    public class CaseInsensitiveStrategy
    extends java.lang.Object
    implements javax.json.bind.config.PropertyNamingStrategy
    Leaves name unmodified during serialization, but ignores case during deserialization.
    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 Concrete Methods 
      Modifier and Type Method Description
      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

      • CaseInsensitiveStrategy

        public CaseInsensitiveStrategy()
    • Method Detail

      • translateName

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