Class BpmnModelLoader

java.lang.Object
jadex.model.impl.AbstractModelLoader
jadex.bpmn.model.io.BpmnModelLoader

public class BpmnModelLoader extends jadex.model.impl.AbstractModelLoader
Loader for eclipse STP BPMN models (.bpmn files).
  • Nested Class Summary

    Nested classes/interfaces inherited from class jadex.model.impl.AbstractModelLoader

    jadex.model.impl.AbstractModelLoader.BrokenModel
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The BPMN file extension.
    static final String
    The BPMN 2 file extension.

    Fields inherited from class jadex.model.impl.AbstractModelLoader

    extensions, loaders, modelcache, registered
  • Constructor Summary

    Constructors
    Constructor
    Description
    Create a new BPMN model loader.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected jadex.model.ICacheableModel
    doLoadModel(String name, Object pojo, String[] imports, ClassLoader classloader, jadex.common.ResourceInfo info)
    Load a model.
    loadBpmnModel(String name, String[] imports, ClassLoader classloader, Object context)
    Load a BPMN model.

    Methods inherited from class jadex.model.impl.AbstractModelLoader

    addLoader, clearModelCache, deregisterModel, getCachedModel, getLoader, getResourceInfo, getResourceInfo, getResourceInfo0, loadModel, loadModel, registerModel, updateCachedModel

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • BpmnModelLoader

      public BpmnModelLoader()
      Create a new BPMN model loader.
  • Method Details

    • loadBpmnModel

      public MBpmnModel loadBpmnModel(String name, String[] imports, ClassLoader classloader, Object context) throws Exception
      Load a BPMN model.
      Parameters:
      name - The filename or logical name (resolved via imports and extensions).
      imports - The imports, if any.
      Throws:
      Exception
    • doLoadModel

      protected jadex.model.ICacheableModel doLoadModel(String name, Object pojo, String[] imports, ClassLoader classloader, jadex.common.ResourceInfo info) throws Exception
      Load a model.
      Specified by:
      doLoadModel in class jadex.model.impl.AbstractModelLoader
      Parameters:
      name - The original name (i.e. not filename).
      info - The resource info.
      Throws:
      Exception