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 java.lang.Object implements ConverterCreator
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
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 thesourceClass
to thetargetClass
.
-
-
-
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 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
-
-