commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrian Mitev" <adrian.mi...@googlemail.com>
Subject Re: digester issue
Date Tue, 13 Nov 2007 05:19:51 GMT
Take a look at the user guide
http://commons.apache.org/digester/commons-digester-1.8/docs/api/org/apache/commons/digester/package-summary.html

2007/11/12, kirran <srik.bussa@gmail.com>:
>
>
> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message