Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » DOM node to an EMF object?
DOM node to an EMF object? [message #1099888] Mon, 02 September 2013 10:51 Go to next message
Kosala Yapa is currently offline Kosala YapaFriend
Messages: 159
Registered: September 2010
Senior Member
Hi there,

Is it possible to get a DOM node to an EMF object?

I have an EMF object persisted in a file, which I read using XPth. Now I need to cast XPth node to EMF object.

Any help is appreciated.

Cheers,
Re: DOM node to an EMF object? [message #1099954 is a reply to message #1099888] Mon, 02 September 2013 12:38 Go to previous message
Christian Damus is currently offline Christian DamusFriend
Messages: 1270
Registered: July 2009
Location: Canada
Senior Member

Hi,

Try XMLResource::load(Node node, Map<?, ?> options).

cW


On 2013-09-02 10:51:31 +0000, Kosala Yapa said:

> Hi there,
>
> Is it possible to get a DOM node to an EMF object?
>
> I have an EMF object persisted in a file, which I read using XPth. Now
> I need to cast XPth node to EMF object.
>
> Any help is appreciated.
>
> Cheers,
Previous Topic:[CDO] OCL query fails because an EClass is not mapped
Next Topic:Genmodel property "Creation sub-menus"
Goto Forum:
  


Current Time: Sat Apr 20 02:38:26 GMT 2024

Powered by FUDForum. Page generated in 0.02371 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top