Interface ConverterFactory

    • Field Detail

      • SAFE_CONVERSION

        static final Hints.Key SAFE_CONVERSION
        Hint which specifies if only safe conversions should be atttemped by converter implementations.
    • Method Detail

      • createConverter

        Converter createConverter​(Class<?> source,
                                  Class<?> target,
                                  Hints hints)
        Creates a Converter instance for converting one type of object to another.
        Parameters:
        source - The type to convert from.
        target - The type to convert to.
        hints - Hints used to be used while creating a converter.
        Returns:
        The converter, or null if one could not be found.