Class TCSInjector
java.lang.Object
org.eclipse.m2m.atl.drivers.emf4atl.tcs.injector.TCSInjector
- All Implemented Interfaces:
Injector
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreturns the list of parameters supported by this injector in the form of a Map with parameter names as keys and type name as value.inject(ASMModel target, InputStream source, Map params) Performs the injection.Performs the injection.voidperformImportation(ASMModel format, ASMModel extent, InputStream in, String other)
-
Field Details
-
problemsModelAdapter
-
targetModelAdapter
-
-
Constructor Details
-
TCSInjector
public TCSInjector()
-
-
Method Details
-
getParameterTypes
Description copied from interface:Injectorreturns the list of parameters supported by this injector in the form of a Map with parameter names as keys and type name as value. Known type names are: "String" "Model"- Specified by:
getParameterTypesin interfaceInjector- Returns:
- the Map of parameter types
-
inject
Performs the injection.- Specified by:
injectin interfaceInjector- Parameters:
target- The target model to populate.source- The source InputStream. Alternative source kinds can be passed in params.params- A Map of additional parameters. The key is the name.- Returns:
- The root element of the populated model if it exists, any element else.
- Throws:
IOException- See Also:
-
inject
Performs the injection.- Specified by:
injectin interfaceInjector- Parameters:
target- The target model to populate.source- The source Reader. Alternative source kinds can be passed in params.params- A Map of additional parameters. The key is the name.- Returns:
- The root element of the populated model if it exists, any element else.
- Throws:
IOException- See Also:
-
getPrefix
-
performImportation
public void performImportation(ASMModel format, ASMModel extent, InputStream in, String other) throws IOException - Specified by:
performImportationin interfaceInjector- Parameters:
format-extent-in-other-- Throws:
IOException
-