Hi, these examples really helped me. But I could n't figure out how to get a callback on each object being populated. Surely i can get a callback by impl 'onPush'. But the object i get there is a newly created one. I 'd appreciate if you can let me know of a way to get each object being populated as against a new obj. thanks in advance.
Simon Kitching-4 wrote: > > 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] > > > -- View this message in context: http://www.nabble.com/digester-issue-tf4792894.html#a13748734 Sent from the Commons - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
