Also see the examples, which are in the source download or can be viewed
here:

http://svn.apache.org/repos/asf/commons/proper/digester/trunk/src/examples/


On Tue, 2007-11-13 at 07:19 +0200, Adrian Mitev wrote:
> 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 <[EMAIL PROTECTED]>:
> >
> >
> > 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;
> >
> >
> > }


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to