Hi Eric,
Eric Lentz wrote:
> So Bill pretty much solved my problems.
>
> For the original issue, the Map, I made that transient and problem was
> solved for that object.
>
> For the object that is contained within a framework class which I could
> not change the class, I extended that class and declared a private
> transient for the same name as the field in the base class. That
> effectively changed the serialability of that field and solves the problem
> entirely.
You are been able to set it without this additional declaration:
xstream.omitField(Y.class, "z");
What's the purpose of the generated XML? Do you want to deserialize it later
on?
Cheers,
Jörg
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email