|
Re: retrieve the content of a [message #1728072 is a reply to message #1728060] |
Wed, 30 March 2016 18:16 |
|
Hi, Jessica,
If you want to save the contents of a UML resource to a String, then
presumably you want it in XMI or XML format. For that, you can use the
XMIResource method save(Writer, Map) to save a resource to a string
using a StringWriter. (the XMIResource and UMLResource types inherit
this method from XMLResource)
HTH,
Christian
On 2016-03-30 16:34:25 +0000, jessica packer said:
> Dear members,
>
> I followed this tuto to save my model in an UML file:
> https://wiki.eclipse.org/MDT/UML2/Getting_Started_with_UML2 .I'm trying
> to save the model as a string before generating this UML file but in
> vain. :? Can you please give me a hint on how I should proceed?
>
> Regards,
> Jessica.
|
|
|
Powered by
FUDForum. Page generated in 0.02699 seconds