Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 23626 invoked from network); 14 Nov 2007 15:23:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Nov 2007 15:23:31 -0000 Received: (qmail 56466 invoked by uid 500); 14 Nov 2007 15:23:14 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 56405 invoked by uid 500); 14 Nov 2007 15:23:14 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 56396 invoked by uid 99); 14 Nov 2007 15:23:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Nov 2007 07:23:14 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Nov 2007 15:24:08 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IsK4t-0000wi-NF for user@commons.apache.org; Wed, 14 Nov 2007 07:22:55 -0800 Message-ID: <13748734.post@talk.nabble.com> Date: Wed, 14 Nov 2007 07:22:55 -0800 (PST) From: kirran To: user@commons.apache.org Subject: Re: digester issue In-Reply-To: <1194934099.6027.1.camel@simon-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: srik.bussa@gmail.com References: <13711096.post@talk.nabble.com> <3ee326610711122119q4c719ff2wbc80e50d47941c90@mail.gmail.com> <1194934099.6027.1.camel@simon-laptop> X-Virus-Checked: Checked by ClamAV on apache.org 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 : >> > >> > >> > 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., >> > >> > >> > class Person{ >> > >> > //property name different! >> > private String fullName; >> > //setters/getters >> > >> > //property with different datatype! >> > private BigDecimal bill; >> > >> > >> > } > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@commons.apache.org > For additional commands, e-mail: user-help@commons.apache.org > > > -- 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: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org