commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christine Keim" <impul...@ycn.com>
Subject Re: possibility to pass the root-Object to digester
Date Sat, 15 Jun 2002 18:22:33 GMT
Thanks!!!!

This worked at the first try! :D

Christine

----- Original Message -----
From: "Craig R. McClanahan" <craigmcc@apache.org>
To: "Jakarta Commons Developers List" <commons-dev@jakarta.apache.org>
Sent: Saturday, June 15, 2002 7:30 PM
Subject: Re: possibility to pass the root-Object to digester


>
>
> On Sat, 15 Jun 2002, Christine Keim wrote:
>
> > Date: Sat, 15 Jun 2002 18:39:10 +0200
> > From: Christine Keim <impulse2@ycn.com>
> > Reply-To: Jakarta Commons Developers List
<commons-dev@jakarta.apache.org>
> > To: commons-dev@jakarta.apache.org
> > Subject: possibility to pass the root-Object to digester
> >
> > Hi,
> >
> > i wanted to know if there is a possibility to pass to the digester the
> > root-object which he has to fill from xml. See, i use 2 DBs, and some
> > informations come from a relational db, while some come from Xindice.
> > now, i first query the data from the relational db, already generating
> > the object which afterwards should hold all the data, and afterwards i
> > retrieve the XML from Xindice, which i want to transform with Digester.
> > Now, i already have my root-object, and i only need some attributes to
> > be filled (those which i add a MethodRule to). Is there a possibility to
> > pass the root-object to the digester or not (or is it maybe planned) ?
> >
>
> This is actually really easy to do -- simply call the push() method,
> passing in your root object, before you call parse().
>
> > tia, Christine Keim
> >
>
> Craig
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:commons-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:commons-dev-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message