Interface IExporterRegistry


  • public interface IExporterRegistry
    Interface of exporter extension registry.
    • Method Detail

      • getExporter

        IExporter getExporter​(Version version,
                              org.eclipse.emf.ecore.EObject eObject)
                       throws ExportException
        Get IExporter implementation registered for version and object context
        Parameters:
        version - the version 1C:Enterprise Runtime to get exporter for, cannot be null
        eObject - the object for export, cannot be null
        Returns:
        instance of IExporter, never null
        Throws:
        ExportException - if exporter for this version is unregistered
      • exporterExists

        boolean exporterExists​(Version version,
                               org.eclipse.emf.ecore.EObject eObject)
        Returns whether exists IExporter for the given object and version of 1C:Enterprise Runtime.
        Parameters:
        version - the version 1C:Enterprise Runtime to check exporter existence for, cannot be null
        eObject - the object to check exporter existence for, cannot be null
        Returns:
        whether exists IExporter for the given object and version of 1C:Enterprise Runtime