Class ASMInjector
java.lang.Object
org.eclipse.m2m.atl.core.ui.vm.asm.ASMInjector
- All Implemented Interfaces:
IInjector
The RegularVM adaptation of the
IInjector
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Injects data into an IModel using the given options.void
Injects data into an IModel using the given options.void
Injects data into an IModel using default options.void
Injects data into an IModel using the given options.
-
Constructor Details
-
ASMInjector
public ASMInjector()
-
-
Method Details
-
inject
public void inject(IModel targetModel, String source, Map<String, Object> options) throws ATLCoreExceptionInjects data into an IModel using the given options.- Specified by:
inject
in interfaceIInjector
- Parameters:
targetModel
- the IModel where to injectsource
- the source indication to load the sourceModel: an URL, or a specific thingoptions
- the injection parameters- Throws:
ATLCoreException
- See Also:
-
inject
Injects data into an IModel using default options.- Specified by:
inject
in interfaceIInjector
- Parameters:
targetModel
- the IModel where to injectsource
- the source indication to load the sourceModel- Throws:
ATLCoreException
- See Also:
-
inject
public void inject(IModel targetModel, InputStream source, Map<String, Object> options) throws ATLCoreExceptionInjects data into an IModel using the given options.- Specified by:
inject
in interfaceIInjector
- Parameters:
targetModel
- the IModel where to injectsource
- theInputStream
containing the modeloptions
- the injection parameters- Throws:
ATLCoreException
- See Also:
-
inject
public void inject(IModel targetModel, Reader source, Map<String, Object> options) throws ATLCoreExceptionInjects data into an IModel using the given options.- Specified by:
inject
in interfaceIInjector
- Parameters:
targetModel
- the IModel where to injectsource
- theReader
containing the modeloptions
- the injection parameters- Throws:
ATLCoreException
- See Also:
-