org.dozer
Interface CustomFieldMapper


public interface CustomFieldMapper

Public custom field mapper interface. A custom field mapper should only be used in very rare and unusual cases because it is invoked for ALL field mappings. For custom mappings of particular fields, using a CustomConverter is a much better choice.

If a custom field mapper is specified, Dozer will invoke this class when performing all field mappings. If false is returned from the call to mapField(), then the field will be subsequently mapped by Dozer as normal.

Author:
Gerard Toonstra

Method Summary
 boolean mapField(Object source, Object destination, Object sourceFieldValue, ClassMap classMap, FieldMap fieldMapping)
           
 

Method Detail

mapField

boolean mapField(Object source,
                 Object destination,
                 Object sourceFieldValue,
                 ClassMap classMap,
                 FieldMap fieldMapping)


Copyright © 2005-2011 dozer. All Rights Reserved.