Hi,

I am using xml mapping and have class with a field type of Object[]. The problem is that the setter for this attribute gets called every time an element of this array gets unmarshalled and the setter performs validation which rejects the data since it expects to see certain combination of objects. So I was wondering if there is a way to have all the data unmarshalled into an Object[] and then call the setter on my class. Has anyone had to deal with something similar or have any tip on how to go about this? I was thinking to have a field handler but not sure how to determine when all the data as loaded for the array items. Thanks in advance.

 

Shawn

Reply via email to