Re: Digester and Inheritance

2006-08-11 Thread Simon Kitching
Hi German, On Wed, 2006-08-09 at 14:18 -0300, German Balbastro wrote: I have an object model whith an abstract parent class Class1 and two implementations Class2 and Clas3. I don't know how i can create the implementations. For example i have this xml file: Class1 ... fields of

RE: Digester and Inheritance

2006-08-11 Thread James Carman
The XSLT solution isn't really that bad. The XSLT would be somewhat trivial (if you're familiar with XSLT). -Original Message- From: Simon Kitching [mailto:[EMAIL PROTECTED] Sent: Friday, August 11, 2006 7:31 AM To: Jakarta Commons Users List Subject: Re: Digester and Inheritance Hi

RE: Digester and Inheritance

2006-08-11 Thread Simon Kitching
how far advanced it is or whether it would apply in this case... Cheers, Simon -Original Message- From: Simon Kitching [mailto:[EMAIL PROTECTED] Sent: Friday, August 11, 2006 7:31 AM To: Jakarta Commons Users List Subject: Re: Digester and Inheritance Hi German, On Wed, 2006

RE: Digester and Inheritance

2006-08-11 Thread James Carman
- From: Simon Kitching [mailto:[EMAIL PROTECTED] Sent: Friday, August 11, 2006 9:01 AM To: Jakarta Commons Users List Subject: RE: Digester and Inheritance Hi James, On Fri, 2006-08-11 at 07:38 -0400, James Carman wrote: The XSLT solution isn't really that bad. The XSLT would be somewhat trivial

RE: Digester and Inheritance

2006-08-10 Thread James Carman
PROTECTED] Sent: Wednesday, August 09, 2006 2:53 PM To: Jakarta Commons Users List Subject: RE: Digester and Inheritance The xml file is like this Class1 code1/code Class2 nametest/name /Class2 /Class1 Class1 code2/code Class3 typeaType/type / Class3

RE: Digester and Inheritance

2006-08-09 Thread James Carman
Can't you add a create rule with a path of Class1/Class2 for Class2 and a create rule for Class1/Class3 for Class3? -Original Message- From: German Balbastro [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 09, 2006 1:19 PM To: commons-user@jakarta.apache.org Subject: Digester and

RE: Digester and Inheritance

2006-08-09 Thread German Balbastro
[mailto:[EMAIL PROTECTED] Enviado el: Wednesday, August 09, 2006 2:29 PM Para: 'Jakarta Commons Users List' Asunto: RE: Digester and Inheritance Can't you add a create rule with a path of Class1/Class2 for Class2 and a create rule for Class1/Class3 for Class3? -Original Message- From

Re: Digester and Inheritance

2006-08-09 Thread Fabian Sergio de Rosa
: 'Jakarta Commons Users List' Asunto: RE: Digester and Inheritance Since Class2 extends Class1, it inherits the properties of Class1. Digester will be able to set the properties for you with no problems. You did actually give those properties setters/getters, didn't you? -Original Message