|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.m2m.atl.core.emf.EMFInjector
public class EMFInjector
The EMF implementation of the IInjector
interface.
Field Summary | |
---|---|
static java.lang.String |
OPTION_LOAD_ON_DEMAND
EMF loadOnDemand option. |
Constructor Summary | |
---|---|
EMFInjector()
|
Method Summary | |
---|---|
void |
inject(IModel targetModel,
java.io.InputStream source,
java.util.Map<java.lang.String,java.lang.Object> options)
Injects data into an IModel using the given options. |
void |
inject(IModel targetModel,
org.eclipse.emf.ecore.resource.Resource mainResource)
Injects data into an IModel from a Resource . |
void |
inject(IModel targetModel,
java.lang.String source)
Injects data into an IModel using default options. |
void |
inject(IModel targetModel,
java.lang.String source,
java.util.Map<java.lang.String,java.lang.Object> options)
Injects data into an IModel using the given options. Below the source parameter semantic. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String OPTION_LOAD_ON_DEMAND
Constructor Detail |
---|
public EMFInjector()
Method Detail |
---|
public void inject(IModel targetModel, java.lang.String source, java.util.Map<java.lang.String,java.lang.Object> options) throws ATLCoreException
file:/path
URI
: uri
pathmap:path
platform:/resource/path
platform:/plugin/path
inject
in interface IInjector
targetModel
- the IModel where to injectsource
- the source indication to load the sourceModel: an URL, or a specific thingoptions
- the injection parameters
ATLCoreException
IInjector.inject(org.eclipse.m2m.atl.core.IModel, java.lang.String,
java.util.Map)
public void inject(IModel targetModel, java.lang.String source) throws ATLCoreException
inject
in interface IInjector
targetModel
- the IModel where to injectsource
- the source indication to load the sourceModel
ATLCoreException
IInjector.inject(org.eclipse.m2m.atl.core.IModel, java.lang.String)
public void inject(IModel targetModel, java.io.InputStream source, java.util.Map<java.lang.String,java.lang.Object> options) throws ATLCoreException
inject
in interface IInjector
targetModel
- the IModel where to injectsource
- the InputStream
containing the modeloptions
- the injection parameters
ATLCoreException
IInjector.inject(org.eclipse.m2m.atl.core.IModel, java.io.InputStream,
java.util.Map)
public void inject(IModel targetModel, org.eclipse.emf.ecore.resource.Resource mainResource)
Resource
.
targetModel
- the IModel where to injectmainResource
- the main Resource
|
Copyright 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |