A very easy way to do this is to pipe an unmarshaller to a marshaller,
and then marshaller your instance directly into the unmarshaller for the
second instance. Then you'll get a deep copy. Of course there are
performance issues with this approach, but it is an easy way to get the
job done.

--Keith



[EMAIL PROTECTED] wrote:
> 
> I know that this question has been asked before but I didn't see an answer.  I need 
> to make a deep copy of a Castor object graph/tree.  What's the easiest way to do 
> this???
> 
> Thanks,
> Robert
> 
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
>         unsubscribe castor-dev

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to