Class DefaultAsContextAwareConverter<S,T,C>
java.lang.Object
de.hybris.platform.adaptivesearch.util.impl.DefaultAsContextAwareConverter<S,T,C>
- All Implemented Interfaces:
ContextAwareConverter<S,T, C>
public class DefaultAsContextAwareConverter<S,T,C>
extends Object
implements ContextAwareConverter<S,T,C>
Default implementation of
ContextAwareConverter.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConverts the source object, creating a new instance of the destination type.protected TvoidsetPopulators(List<ContextAwarePopulator<S, T, C>> populators) voidsetTargetClass(Class<T> targetClass) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.adaptivesearch.util.ContextAwareConverter
convertAll
-
Constructor Details
-
DefaultAsContextAwareConverter
public DefaultAsContextAwareConverter()
-
-
Method Details
-
convert
Description copied from interface:ContextAwareConverterConverts the source object, creating a new instance of the destination type.- Specified by:
convertin interfaceContextAwareConverter<S,T, C> - Parameters:
source- the source object- Returns:
- the converted object
-
createTarget
-
getTargetClass
-
setTargetClass
-
getPopulators
-
setPopulators
-