I have a XML mapping that I would like to make sure is only used for
marshaling (and specifically not unmarshaling). I had thought that I
could use "get-method" for a specific field, then Castor ignores that
field during the unmarshaling process. For the most part, it looks
like this is true (the setter is never called), but the object in
question is still constructed (which I would like to avoid for
efficiency).

If I mark the field as "transient", then it is ignored completely, but
it is never marshaled!

Is there a way to avoid this (I am happy to tweak code an submit a
fix, but I can't find where to make the change), or am I stuck with
the behavior?

Thanks,

- Paul

---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to