Class BasicExporter

    • Constructor Detail

      • BasicExporter

        public BasicExporter()
    • Method Detail

      • isAppropriate

        public boolean isAppropriate​(Version version,
                                     org.eclipse.emf.ecore.EObject eObject)
        Default implementation checks whether registered extporter qualifier qualifies the provided arguments.
        Specified by:
        isAppropriate in interface IExporter
        Parameters:
        version - the version of 1C:Enterprise not null
        eObject - the object for export not null
        Returns:
        true if exporter can do work to this file and version, false if not
      • getOutputPath

        public Path getOutputPath​(org.eclipse.emf.ecore.EObject eObject,
                                  org.eclipse.emf.ecore.EStructuralFeature feature,
                                  Version version)
        Description copied from interface: IExporter
        Get path to export object.
        Specified by:
        getOutputPath in interface IExporter
        Parameters:
        eObject - the export object, not null
        feature - the reference to child object, can be null
        version - the 1C:Runtime version, cannot be null
        Returns:
        the export path for this object or null if exporter not support this object
      • getOutputPath

        public Path getOutputPath​(org.eclipse.emf.ecore.EObject eObject,
                                  org.eclipse.emf.ecore.EStructuralFeature feature,
                                  String fileExtension,
                                  Version version)
        Description copied from interface: IExporter
        Get path to export object.
        Specified by:
        getOutputPath in interface IExporter
        Parameters:
        eObject - the export object, not null
        feature - the reference to child object, can be null
        fileExtension - the output file extension, can be null
        version - the 1C:Runtime version, cannot be null
        Returns:
        the export path for this object or null if exporter not support this object
      • getOutputPath

        public Path getOutputPath​(org.eclipse.emf.ecore.EObject eObject,
                                  Version version)
        Get path to export object
        Parameters:
        eObject - the export object, not null
        version - the 1C:Runtime version, cannot be null
        Returns:
        the export path for this object or null if exporter not support this object
      • getOutputPath

        public Path getOutputPath​(org.eclipse.emf.ecore.EObject eObject,
                                  String fileExtension,
                                  Version version)
        Get path to export object
        Parameters:
        eObject - the export object, not null
        fileExtension - the ouput file extension, can be null
        version - the 1C:Runtime version, cannot be null
        Returns:
        the export path for this object or null if exporter not support this object