Class Converters.PassThruConverterCreator

java.lang.Object
org.apache.ofbiz.base.conversion.Converters.PassThruConverterCreator
All Implemented Interfaces:
ConverterCreator
Enclosing class:
Converters

protected static class Converters.PassThruConverterCreator extends Object implements ConverterCreator
  • Method Details

    • createConverter

      public <S, T> Converter<S,T> createConverter(Class<S> sourceClass, 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