Package org.apache.ofbiz.base.conversion
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 Summary
Modifier and TypeMethodDescription<S,
T> Converter<S, T> createConverter
(Class<S> sourceClass, Class<T> targetClass) Creates a Converter that can convert thesourceClass
to thetargetClass
.
-
Method Details
-
createConverter
Description copied from interface:ConverterCreator
Creates a Converter that can convert thesourceClass
to thetargetClass
. Returnsnull
if this creater doesn't support the class pair.- Specified by:
createConverter
in interfaceConverterCreator
- Parameters:
sourceClass
- The sourceClass
to converttargetClass
- The targetClass
to convert to- Returns:
- a converter that can convert
Object
s
-