Package org.apache.camel.component.dozer
Class VariableMapper
- java.lang.Object
-
- org.apache.camel.component.dozer.BaseConverter
-
- org.apache.camel.component.dozer.VariableMapper
-
- All Implemented Interfaces:
com.github.dozermapper.core.ConfigurableCustomConverter,com.github.dozermapper.core.CustomConverter
public class VariableMapper extends BaseConverter
Used to map literal values (e.g. "ACME" or "ABC-123") to a field in the target object.
-
-
Constructor Summary
Constructors Constructor Description VariableMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectconvert(Object existingDestinationFieldValue, Object sourceFieldValue, Class<?> destinationClass, Class<?> sourceClass)StringgetLiteral()We need at least one field in this class so that we can use it as a source for Dozer transformations.-
Methods inherited from class org.apache.camel.component.dozer.BaseConverter
done, getParameter, setParameter
-
-