Re: [Digester] How make digester call setStringArray(String[]) from single element node content?

2006-01-04 Thread Alessio Pace
Thanks for the answer, I'll dig into the details myself now. bye Alessio Pace. On 1/3/06, Simon Kitching [EMAIL PROTECTED] wrote: On Mon, 2006-01-02 at 18:27 +0100, Alessio Pace wrote: Hi, imagine I have a class with some simple set methods (setField(String) , setOtherField(int) )

Re: [Digester] How make digester call setStringArray(String[]) from single element node content?

2006-01-04 Thread Alessio Pace
I tried using the Converter way, but with no success. Here is what I did in practise: My bean has some setters, one of them is a setStringArray(String[] values). To associate a converter to be used when having to call a setter whose actual parameter type is a String[] I do: Class

Re: [Digester] How make digester call setStringArray(String[]) from single element node content?

2006-01-03 Thread Simon Kitching
On Mon, 2006-01-02 at 18:27 +0100, Alessio Pace wrote: Hi, imagine I have a class with some simple set methods (setField(String) , setOtherField(int) ) and then a more complicated setter method like this: public void setStringArray(String[] stringArray){ this.stringArray =

[Digester] How make digester call setStringArray(String[]) from single element node content?

2006-01-02 Thread Alessio Pace
Hi, imagine I have a class with some simple set methods (setField(String) , setOtherField(int) ) and then a more complicated setter method like this: public void setStringArray(String[] stringArray){ this.stringArray = stringArray; } Now imagine I would like to read my class from XML