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

 

Reply via email to