Christian,

You should be able to implement an org.exolab.castor.xml.IDResolver and
pass it off to the Unmarshaller. When the Unmarshaller encounters and ID
that it doesn't know how to resolve, it will ask the registered
IDResolver to handle the resolution.

--Keith

Christian Schuhegger wrote:
> 
> hello,
> 
> i would like to read via castor an xml document which is not "complete",
> that is, most objects are in a database and only some objects are in the
> xml document and reference the objects in the database via their object ids.
> 
> i do not expect that this kind of functionality is working out of the
> box, but perhaps there is a system hook where i can register a handler
> that finds objects of a given type with a given id if it is not found in
> the xml document?
> 
> thanks a lot for any hints,
> --
> Christian Schuhegger
> http://www.el-chef.de/
> 
> -----------------------------------------------------------
> 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