public class XcoreExporter extends ModelExporter
ModelExporter.EPackageExportInfo, ModelExporter.ExportData, ModelExporter.GenPackagesTreeIterator, ModelExporter.ReferencedGenPackageExportInfoModelConverter.EPackageConvertInfo, ModelConverter.ReferencedEPackageFilter, ModelConverter.ReferencedGenPackageConvertInfo| Modifier and Type | Field and Description |
|---|---|
protected IBasicFormatter |
formatter |
directoryURI, ePackageToGenPackageMap, GENANNOTATION_KEY_DIRECTORY_URI, GENANNOTATION_SOURCE_PREFIX, GENANNOTATION_SOURCE_SELECTED_EPACKAGES, GENANNOTATION_SOURCE_SELECTED_REFERENCES, genBaseToDetailsMap, saveEPackageArtifactURI, saveExporterePackages, ePackageToInfoMap, externalGenModelList, externalGenModelResourceSet, genModel, referencedEPackageFilter, referencedEPackageFilterToConvert, referencedGenPackages, referencedGenPackageToInfoMap| Constructor and Description |
|---|
XcoreExporter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
adjustGenModel() |
void |
dispose() |
protected java.lang.String |
doCheckEPackageArtifactLocation(java.lang.String location,
java.lang.String packageName) |
protected Diagnostic |
doExport(Monitor monitor,
ModelExporter.ExportData exportData)
Subclasses should overwrite this method, adding the code that performs the
actions required to export the model.
|
protected java.lang.String |
getDefaultArtifactLocation(EPackage ePackage) |
java.lang.String |
getID() |
protected URI |
getReferencedGenPackageArtifactURI(ModelExporter.ExportData exportData,
GenPackage genPackage) |
canConvert, checkEPackageArtifactLocation, computeArtifactURI, createEncodedURI, createEPackageInfo, createEPackagesList, createGenPackageConvertInfo, createReferencedEPackageFilterToConvert, createReferencedGenPackagesList, export, getArtifactURIs, getConverterGenAnnotationSource, getDefaultArtifactFileName, getDirectoryURI, getEPackageExportInfo, getEPackageToGenPackageMap, getExporterGenAnnotationDetails, getExporterNestedGenAnnotationDetails, getExporterNestedGenAnnotations, getGenBaseToGenAnnotationDetailsMap, getReferencedGenPackageExportInfo, isSaveEPackageArtifactURI, isSaveExporter, isValidEPackage, isValidReferencedGenPackage, loadGenModel, printExportData, save, saveEPackageArtifactURI, saveExporter, setDirectoryURI, setDirectoryURI, setGenModel, setSaveEPackageArtifactURI, setSaveExporter, validateDirectoryURIclearEPackageConvertInfoCache, clearEPackagesCollections, clearReferenceGenPackageConvertInfoCache, computeEPackagesToConvert, computeValidReferencedGenPackages, createExternalGenModelResourceSet, createReferencedEPackageFilter, createResourceSet, filterReferencedEPackages, filterReferencedEPackagesToConvert, getEPackageConvertInfo, getEPackages, getEPackageToInfoMap, getExternalGenModels, getGenModel, getGenmodelSaveOptions, getGenModelSaveOptions, getReferencedGenPackages, getReferencedGenPackageToInfoMap, getReferenceGenPackageConvertInfo, getReferredEPackage, makeEPackageConvertDataUniquepublic java.lang.String getID()
getID in class ModelConverterpublic void dispose()
dispose in class ModelExporterprotected java.lang.String getDefaultArtifactLocation(EPackage ePackage)
getDefaultArtifactLocation in class ModelExporterprotected java.lang.String doCheckEPackageArtifactLocation(java.lang.String location,
java.lang.String packageName)
doCheckEPackageArtifactLocation in class ModelExporterprotected Diagnostic doExport(Monitor monitor, ModelExporter.ExportData exportData) throws java.lang.Exception
ModelExporterSubclasses should overwrite this method, adding the code that performs the actions required to export the model.
The Diagnostic returned by this method should be used to provide
the user some information regarding a successfull export. If the
export fails, an exception should be thrown.
doExport in class ModelExporterDiagnosticjava.lang.Exceptionprotected URI getReferencedGenPackageArtifactURI(ModelExporter.ExportData exportData, GenPackage genPackage)
protected void adjustGenModel()
adjustGenModel in class ModelExporter