Package org.eclipse.m2m.atl.core
Interface IExtractor
-
- All Known Implementing Classes:
ASMExtractor,AtlParser,EMFExtractor
public interface IExtractorThe IExtractor interface defines a way to serialize a given IModel.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidextract(IModel sourceModel, java.io.OutputStream target, java.util.Map<java.lang.String,java.lang.Object> options)Extracts an IModel using the given options.voidextract(IModel sourceModel, java.lang.String target)Extracts an IModel using default options.voidextract(IModel sourceModel, java.lang.String target, java.util.Map<java.lang.String,java.lang.Object> options)Extracts an IModel using the given options.
-
-
-
Method Detail
-
extract
void extract(IModel sourceModel, java.lang.String target) throws ATLCoreException
Extracts an IModel using default options.- Parameters:
sourceModel- the IModel to extracttarget- the target indication to extract the targetModel- Throws:
ATLCoreException
-
extract
void extract(IModel sourceModel, java.lang.String target, java.util.Map<java.lang.String,java.lang.Object> options) throws ATLCoreException
Extracts an IModel using the given options.- Parameters:
sourceModel- the IModel to extracttarget- the target indication to extract the targetModeloptions- the extraction parameters- Throws:
ATLCoreException
-
extract
void extract(IModel sourceModel, java.io.OutputStream target, java.util.Map<java.lang.String,java.lang.Object> options) throws ATLCoreException
Extracts an IModel using the given options.- Parameters:
sourceModel- the IModel to extracttarget- theOutputStreamwhere to extract the targetModeloptions- the extraction parameters- Throws:
ATLCoreException
-
-