commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kirran <srik.bu...@gmail.com>
Subject digester issue
Date Mon, 12 Nov 2007 18:22:36 GMT

Hi All,
Any help is sincerely appreciated.

I have a POJO with different property names from the xml element attribute
names. Also, the xml string type should be mapped to different datatypes
like date or bigdecimal etc., How to instruct digester to achieve this?


Eg.,
<person name="tim" bill="30.89">

class Person{

//property name different!
private String fullName;
//setters/getters

//property with different datatype!
private BigDecimal bill;


}

Thanks in advance,
Kirran

-- 
View this message in context: http://www.nabble.com/digester-issue-tf4792894.html#a13711096
Sent from the Commons - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message