Class DefaultConverterLookup

    • Field Detail

      • typeToConverterMap

        private transient java.util.Map typeToConverterMap
      • serializationMap

        private java.util.Map serializationMap
    • Constructor Detail

      • DefaultConverterLookup

        public DefaultConverterLookup()
      • DefaultConverterLookup

        public DefaultConverterLookup​(java.util.Map map)
        Constructs a DefaultConverterLookup with a provided map.
        Parameters:
        map - the map to use
        Throws:
        java.lang.NullPointerException - if map is null
        Since:
        1.4.11
    • Method Detail

      • lookupConverterForType

        public Converter lookupConverterForType​(java.lang.Class type)
        Description copied from interface: ConverterLookup
        Lookup a converter for a specific type.

        This type may be any Class, including primitive and array types. It may also be null, signifying the value to be converted is a null type.

        Specified by:
        lookupConverterForType in interface ConverterLookup
      • flushCache

        public void flushCache()
        Specified by:
        flushCache in interface Caching
      • writeReplace

        private java.lang.Object writeReplace()
      • readResolve

        private java.lang.Object readResolve()