commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <craig...@apache.org>
Subject Re: Digester: Examples
Date Tue, 04 Dec 2001 18:09:33 GMT


On Tue, 4 Dec 2001, Aravinda Addala wrote:

> Date: Tue, 4 Dec 2001 18:10:41 -0000
> From: Aravinda Addala <aravinda_addala@majorband.co.uk>
> Reply-To: Jakarta Commons Developers List <commons-dev@jakarta.apache.org>
> To: Jakarta Commons Developers List <commons-dev@jakarta.apache.org>
> Subject: Re: Digester: Examples
>
> Craig,
>
> Thank you for your reply.
>
> Sorry, I am still confused. How can I just initialize Employee with ID = 1?

Digester doesn't have any support for this -- it is designed to process
*all* the XML elements that match the rules you specify.  If this is
really what you want to do, you're probably better off doing your own XML
parse, using either the DOM or SAX APIs in JAXP.

Craig


--
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