Interface ContextualConverter<SOURCE,TARGET,CONTEXT>
- Type Parameters:
SOURCE- type of source objectTARGET- type of target objectCONTEXT- type of context objec
- All Superinterfaces:
Converter<SOURCE,,TARGET> org.springframework.core.convert.converter.Converter<SOURCE,TARGET>
- All Known Implementing Classes:
AbstractContextualPopulatingConverter
Extends the ordinary
Converter interface. Additionally provides convert methods that accept a context for the
convert process.-
Method Summary
Modifier and TypeMethodDescriptionconvertWithContext(SOURCE source, CONTEXT context) Converts the source object, creating a new instance of the destination typeMethods inherited from interface de.hybris.platform.servicelayer.dto.converter.Converter
convert, convert, convertAll, convertAllIgnoreExceptions, getLoggerMethods inherited from interface org.springframework.core.convert.converter.Converter
andThen
-
Method Details
-
convertWithContext
Converts the source object, creating a new instance of the destination type- Parameters:
source- the source objectcontext- converting context- Returns:
- the converted object
-