commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "German Balbastro" <>
Subject Digester and Inheritance
Date Wed, 09 Aug 2006 17:18:37 GMT
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:

    ... fields of class1 ...
       ... fields of class2 ...

    </ Class2> 
</ Class1> 
    ... fields of class1 ...
       ... fields of class3 ...

    </ Class3> 
</ Class1> 
For this example, digester should create one instance of Class2 and one
instance of Class3, and in both cases setter the attributes for the
class and for inheritance for the parent class.

I need to know how to create the digester's rules.



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message