Package org.eclipse.m2m.atl.core
Interface IExtractor
- All Known Implementing Classes:
ASMExtractor
,AtlParser
,EMFExtractor
public interface IExtractor
The IExtractor interface defines a way to serialize a given IModel.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Extracts an IModel using the given options.void
Extracts an IModel using default options.void
Extracts an IModel using the given options.
-
Method Details
-
extract
Extracts an IModel using default options.- Parameters:
sourceModel
- the IModel to extracttarget
- the target indication to extract the targetModel- Throws:
ATLCoreException
-
extract
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, OutputStream target, Map<String, Object> options) throws ATLCoreExceptionExtracts an IModel using the given options.- Parameters:
sourceModel
- the IModel to extracttarget
- theOutputStream
where to extract the targetModeloptions
- the extraction parameters- Throws:
ATLCoreException
-