|Re: [QVT] Call QVT from Java code/command line [message #83694 is a reply to message #83679]
||Wed, 04 June 2008 14:44
| Sergey Boyko
Registered: July 2009
Java API for transformation launching is
org.eclipse.m2m.qvt.oml.runtime.util.QvtoTransformationHelpe r class.
Usage examples can be found in 'org.eclipse.m2m.qvt.oml.tests' plugin.
URI scriptUri = ..
List<EObject> inObjects = ..
TransfExecutionResult execResult = new
Collections.<String, Object>emptyMap(), null);
Where 'scriptUri' can specify file, platform resource or bundled script
(using platform:/plugin/ form).
Transformation output extents are created in memory. Persistence is
responsibility of caller.
> Another question :-) for QVT
> Is there any way that we can call call QVT from java code? Even further,
> if we can, can we get the root (pointer) for the output model instance
> (in memory), not a file?
Powered by FUDForum
. Page generated in 0.01562 seconds