Hi
All,
Let us say you have
a class:
class
Data
{
int[] items = new int[] {1, 2,
3};
}
If you get an xml
message like:
<Data>
<items>4</items>
<items>4</items>
<items>5</items>
</Data>
After unmarshaling
it creates a Data object with an int[] containing {1, 2, 3, 4, 5}
Instead we would like to see the int[] to contain {4, 5}
We had discussed introducing "replacing" support instead of "appending".
Does the new version of Castor support a way to instruct the Unmarshaler to "replace" instead to "append"?
Instead we would like to see the int[] to contain {4, 5}
We had discussed introducing "replacing" support instead of "appending".
Does the new version of Castor support a way to instruct the Unmarshaler to "replace" instead to "append"?
Thanks,
Bikash.
Bikash.
