#78 Add support for Custom Field Mapper

closed
None
5
2007-02-09
2007-02-08
No

Add support for injecting a DozerBeanMapper with a CustomFieldMapperIF. If a custom field mapper is specified, Dozer will invoke this class when performing field mappings.

CustomFieldMapperIF.........

public interface CustomFieldMapperIF {

public boolean mapField(Object sourceObj, Object destObj,
Object sourceFieldValue, ClassMap classMap, FieldMap fieldMapping);

}

If false is returned from the call to mapField(), then the field will be subsequently mapped by Dozer as normal.

Discussion

  • Matt Tierney

    Matt Tierney - 2007-02-08
    • status: open --> pending
     
  • Matt Tierney

    Matt Tierney - 2007-02-08

    Logged In: YES
    user_id=1236069
    Originator: YES

    The patch has been applied

     
  • Matt Tierney

    Matt Tierney - 2007-02-09
    • status: pending --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks