Can custom coverter accept Objects other than String as paramter

25 views
Skip to first unread message

Malathi Damodaran

unread,
Oct 25, 2017, 9:59:47 PM10/25/17
to Dozer Mapper
Hi,
     I want to pass a Map object to a custom converter as custom parameter.

 <class-a>SourceBom</class-a>
  <class-b>TargetBom</class-b>
    <field custom-converter="myCustomConverter"  custom-converter-param="mapObject">
     <a > address.HouseNo</a> 
     <b> user.home.address.houseNo</b> 
  </field>

The CustomConverter needs the map object values (that was created outside this mapping )for the conversion, Does dozer provides a way to  sent non String Objects as customParameter.

Thanks
Malathi
 
Reply all
Reply to author
Forward
0 new messages