Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » MoDisco » How to discover XML KDM File Programatically(XML Discoverer)
How to discover XML KDM File Programatically [message #1384902] Mon, 02 June 2014 22:44 Go to next message
Raphael Honda is currently offline Raphael HondaFriend
Messages: 7
Registered: November 2012
Junior Member
Hi,

Modisco has an option to discover XML KDM File from a XMI KDM File, bellow you can see the printscreen:

http://s12.postimg.org/hdlig8x0t/xmi_Toxml.png


But now i need to use this function Programatically. For example, i want to call a method that convert my kdm.XMI to a new kdm.XML.

Is it possible?

Tanks!

Raphael
Re: How to discover XML KDM File Programatically [message #1384932 is a reply to message #1384902] Tue, 03 June 2014 08:12 Go to previous message
Hugo Bruneliere is currently offline Hugo BruneliereFriend
Messages: 667
Registered: July 2009
Senior Member
Hello,

It seems that there is a misunderstanding here.
The MoDisco XML discoverer allows to get an XML model (that conforms to the generic XML metamodel as provided by MoDisco) out of any XML document, independently from its corresponding XSD or DTD.
There is nothing specific to a given serialization (in XMI) of a KDM model.

Anyway, all MoDisco discoverers can also be run programmatically using the dedicated API.
Please, take a look to the MoDisco reference documentation as available from http://help.eclipse.org/ to get more insights on these aspects.

To have a more precise idea of what is MoDisco for, I would advise you to read the full journal paper from http://wiki.eclipse.org/MoDisco#Publications, as well as the MoDisco introduction slides just below.

Best regards,


------------------------------------------
Hugo Bruneliere - R&D Engineer
AtlanMod research team (Inria, EMN & LINA)
Ecole des Mines de Nantes
Nantes - France
------------------------------------------
Previous Topic:Problems with modify plugins
Next Topic:java metamodel in MoDisco
Goto Forum:
  


Current Time: Wed Jan 24 08:03:35 GMT 2018

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

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