Title: Unmarshalling an xml that contains an array of objects

Hi all,

I am trying to figure out how to handle arrays in Castor.

n       I created an array object of some class (say C). Then I marshaled it and wrote the xml into a file.
n       Now I am trying to use this xml to regenerate an array object. The static unmarshaler method requires that we specify the corresponding "class". I tried the getClass() method on an array object but it says "unable to create XMLClassDescriptor for class".

Can someone tell me how to do this?

Regards,

Kunal

Reply via email to