Class Converters.PassThruConverterCreator

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <S,​T>
      Converter<S,​T>
      createConverter​(java.lang.Class<S> sourceClass, java.lang.Class<T> targetClass)
      Creates a Converter that can convert the sourceClass to the targetClass.
      • Methods inherited from class java.lang.Object

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

      • PassThruConverterCreator

        protected PassThruConverterCreator()
    • Method Detail

      • createConverter

        public <S,​T> Converter<S,​T> createConverter​(java.lang.Class<S> sourceClass,
                                                                java.lang.Class<T> targetClass)
        Description copied from interface: ConverterCreator
        Creates a Converter that can convert the sourceClass to the targetClass. Returns null if this creater doesn't support the class pair.
        Specified by:
        createConverter in interface ConverterCreator
        Parameters:
        sourceClass - The source Class to convert
        targetClass - The target Class to convert to
        Returns:
        a converter that can convert Objects