Thorsten Mauch wrote:
> 
> Hi All
> Some time ago I trried to modifiy the Unmarshaller to unmarshall
> to a existing Objecttree. There  current CVS Version and
> a special version from Al Buyer allow to set the root object, but
> all not top level Object are new created.
> While studing the unmarshallHander i found that is a very comnplex
> class with very big methods, specially startElement.


By changing a couple lines of code in UnmarshalHandler I got it
working...at least for simple cases, it may fail on complex models as I
haven't done any extensive testing...but it's
certainly a first step...

Since a few people have asked for this behavior, I went ahead and
checked in my changes...

You need to specify the behavior by calling
Unmarshaller#setReuseObject(true);

--Keith

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

Reply via email to