org.dozer
Interface CustomConverter
- All Known Subinterfaces:
- ConfigurableCustomConverter
- All Known Implementing Classes:
- DozerConverter
public interface CustomConverter
Public custom converter interface.
In the Dozer mapping file(s), you can add some XML to tell Dozer to use a custom converter for certain class A and
class B types. When a custom converter is specified for a class A and class B combination, Dozer will invoke the
custom converter to perform the data mapping instead of the standard mapping logic.
http://dozer.sourceforge.net/documentation/customconverter.html
- Author:
- sullins.ben, garsombke.franz, tierney.matt
convert
Object convert(Object existingDestinationFieldValue,
Object sourceFieldValue,
Class<?> destinationClass,
Class<?> sourceClass)
Copyright © 2005-2011 dozer. All Rights Reserved.