Package org.eclipse.m2m.atl.dsls.core
Class EMFTCSInjector
- java.lang.Object
-
- org.eclipse.m2m.atl.dsls.core.EMFTCSInjector
-
public class EMFTCSInjector extends java.lang.Object
A wrapper which allow to createIModel
from text with TCS.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
EMFTCSInjector.EMFInjectorAdapter
Adapts anEMFModel
.
-
Field Summary
Fields Modifier and Type Field Description protected ModelAdapter
problemsModelAdapter
protected ModelAdapter
targetModelAdapter
-
Constructor Summary
Constructors Constructor Description EMFTCSInjector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map
getParameterTypes()
java.lang.String
getPrefix()
java.lang.Object
inject(EMFModel target, java.io.InputStream source, java.util.Map params)
java.lang.Object
inject(EMFModel target, java.io.Reader source, java.util.Map params)
-
-
-
Field Detail
-
problemsModelAdapter
protected ModelAdapter problemsModelAdapter
-
targetModelAdapter
protected ModelAdapter targetModelAdapter
-
-
Method Detail
-
getParameterTypes
public java.util.Map getParameterTypes()
-
getPrefix
public java.lang.String getPrefix()
-
inject
public java.lang.Object inject(EMFModel target, java.io.InputStream source, java.util.Map params) throws java.io.IOException
- Throws:
java.io.IOException
-
inject
public java.lang.Object inject(EMFModel target, java.io.Reader source, java.util.Map params) throws java.io.IOException
- Throws:
java.io.IOException
-
-