Hi Ole,

Yes, I think this is the best way to do this. I would probably use Hashtable
on this case.

Regards,
Adriano Crestani

On 7/13/07, Ole Ersoy <[EMAIL PROTECTED]> wrote:

Hey Guys,

I'm working on the approach for restoring the non-containment
references.  I'm thinking I should do it like this:

First restore the entire graph with all containment references.  For each
object restored add it and it's xpath fragment to a map.  Then during a
second pass process each object's non-containment reference by looking up
the object being referenced by fragment path using the map, and setting the
reference that way. (So during the first pass, I just create annotations
containing the xpath to the non-containment reference's object keyed by the
name of the reference.)

Does anyone know of a better way to handle this?

Thanks,
- Ole

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to