Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Requirements Modeling Framework  » Serialization of EObject
Serialization of EObject [message #1692259] Tue, 14 April 2015 15:28 Go to next message
Julien Delange is currently offline Julien DelangeFriend
Messages: 82
Registered: October 2011
Member
Hello,

I am building my ReqIF model with RMF using directly EObjects. So, I create all the objects in Java and ultimately, would like to generate the corresponding XML ReqIF file from this EObjects.

Does somebody has any idea/clue how to do that? Note: I do not want the XMI but really the XML that would be then the ReqIF notation.

Thanks.

Julien.
Re: Serialization of EObject [message #1692260 is a reply to message #1692259] Tue, 14 April 2015 15:35 Go to previous messageGo to next message
Michael Jastram is currently offline Michael JastramFriend
Messages: 229
Registered: April 2010
Location: Düsseldorf, Germany
Senior Member
Hello Julien,

We have a few JUnit Tests that do exactly what you describe - that should point you in the right direction, e.g.:

org.eclipse.rmf.tests.reqif10.serialization.uc000.tc1000.TC0001000ContainmentEStructuralFeatureTests

Best,

- Michael


Re: Serialization of EObject [message #1692374 is a reply to message #1692260] Wed, 15 April 2015 11:46 Go to previous message
Julien Delange is currently offline Julien DelangeFriend
Messages: 82
Registered: October 2011
Member
It works perfectly! Thanks a lot!
Previous Topic:Processor XHTML elements
Next Topic:Creating ReqIF model programmatically
Goto Forum:
  


Current Time: Thu Sep 20 19:56:13 GMT 2018

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

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

Back to the top