Class AbstractDynamicConverter<SOURCE,TARGET>
java.lang.Object
de.hybris.eventtracking.services.converters.AbstractDynamicConverter<SOURCE,TARGET>
- All Implemented Interfaces:
Populator<SOURCE,,TARGET> Converter<SOURCE,,TARGET> org.springframework.core.convert.converter.Converter<SOURCE,TARGET>
- Direct Known Subclasses:
AbstractPopulatingDynamicConverter
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractDynamicConverter(TypeResolver<SOURCE, TARGET> typeResolver) -
Method Summary
Modifier and TypeMethodDescriptionConverts the source object, creating a new instance of the destination typeConvert the source object by filling the prototypeprotected TARGETcreateTarget(Class<? extends TARGET> targetClass) protected TARGETcreateTargetFromSource(SOURCE source) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.servicelayer.dto.converter.Converter
convertAll, convertAllIgnoreExceptions, getLoggerMethods inherited from interface org.springframework.core.convert.converter.Converter
andThen
-
Constructor Details
-
AbstractDynamicConverter
-
-
Method Details
-
convert
Description copied from interface:ConverterConverts the source object, creating a new instance of the destination type -
convert
Description copied from interface:ConverterConvert the source object by filling the prototype- Specified by:
convertin interfaceConverter<SOURCE,TARGET> - Parameters:
source- the source objectprototype- the prototype to fill- Returns:
- the converted object, identical to the prototype
- Throws:
ConversionException- if an error occurs
-
createTargetFromSource
-
createTarget
-