commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "German Balbastro" <germ...@Synthesis-RS.com>
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:

<Class1> 
    ... fields of class1 ...
    <Class2> 
       ... fields of class2 ...

    </ Class2> 
</ Class1> 
<Class1> 
    ... fields of class1 ...
    <Class3> 
       ... 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.

Thanks

 


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