Class ConverterRegistry<T>


  • public class ConverterRegistry<T>
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addConverter​(Converter<T> converter)  
      Converter<T> resolveConverter​(java.lang.Object object)
      Returns a converter for the given object/class or null if no such converter could be resolved.
      • Methods inherited from class java.lang.Object

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

      • ConverterRegistry

        public ConverterRegistry()
    • Method Detail

      • addConverter

        public void addConverter​(Converter<T> converter)
      • resolveConverter

        public Converter<T> resolveConverter​(java.lang.Object object)
        Returns a converter for the given object/class or null if no such converter could be resolved.
        Parameters:
        object - the object for which a converter should be resolved.
        Returns:
        a converter for the given object.