| [ATL] The purpose of Injector and Extractor? [message #766100]
||Thu, 15 December 2011 08:28
Registered: December 2011
Hi all ATL pioneers,|
I'm a newbie to the EMF and I have some questions about the purpose of injector and extractor...
As to my knowledge to the injector and extractor, they are classes that transform xmi files to a model (injector) and a model to xmi (extractor)? Are they correct? Or they are designed to convert a meta-model to another meta-model? Or they are not designed to do such things?
Also, I am confused about the injector method:
public void inject(IModel targetModel, String strSource)
I traced the code that when I run an ATL transform, the transform actually run inject 3 times -- At the first time, strSource is my IN ecore path, and second time, strSource is my IN xmi file, and third time, strSource is my OUT ecore path... (The code that I traced is EMFInjector)
So that I'm confused about the purpose of this inject method... could anyone please help explaining me about this? Or pointing out a clear document location to read?
Thank you in advance.
Powered by FUDForum
. Page generated in 0.03486 seconds