Class XPDLImportExport

java.lang.Object
com.nomagic.magicdraw.cbm.xpdl.XPDLImportExport

@OpenApiAll public class XPDLImportExport extends Object
Contains utility methods for importing/exporting XPDL to/from BPMN models.
  • Constructor Details

    • XPDLImportExport

      public XPDLImportExport()
  • Method Details

    • importXPDL

      public static void importXPDL(Project project, File file)
      Imports XPDL file to a given project.
      Parameters:
      project - project to which to import the XPDL file.
      file - XPDL file to import.
    • exportXPDL

      public static Collection<File> exportXPDL(Project project, File directory)
      Exports from BPMN model to XPDL files in a given directory.
      Parameters:
      project - project from which to export BPMN model.
      directory - directory to which to export.
      Returns:
      collection of result XPDL files.