public class BpmnModelLoader extends AbstractModelLoader
AbstractModelLoader.BrokenModel
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FILE_EXTENSION_BPMN
The BPMN file extension.
|
static java.lang.String |
FILE_EXTENSION_BPMN2
The BPMN 2 file extension.
|
extensions, modelcache, registered
Constructor and Description |
---|
BpmnModelLoader()
Create a new BPMN model loader.
|
Modifier and Type | Method and Description |
---|---|
protected ICacheableModel |
doLoadModel(java.lang.String name,
java.lang.String[] imports,
ResourceInfo info,
java.lang.ClassLoader classloader,
java.lang.Object context)
Load a model.
|
MBpmnModel |
loadBpmnModel(java.lang.String name,
java.lang.String[] imports,
java.lang.ClassLoader classloader,
java.lang.Object context)
Load a BPMN model.
|
clearModelCache, deregisterModel, getCachedModel, getResourceInfo, getResourceInfo, getResourceInfo0, loadModel, loadModel, registerModel
public static final java.lang.String FILE_EXTENSION_BPMN
public static final java.lang.String FILE_EXTENSION_BPMN2
public MBpmnModel loadBpmnModel(java.lang.String name, java.lang.String[] imports, java.lang.ClassLoader classloader, java.lang.Object context) throws java.lang.Exception
name
- The filename or logical name (resolved via imports and extensions).imports
- The imports, if any.java.lang.Exception
protected ICacheableModel doLoadModel(java.lang.String name, java.lang.String[] imports, ResourceInfo info, java.lang.ClassLoader classloader, java.lang.Object context) throws java.lang.Exception
doLoadModel
in class AbstractModelLoader
name
- The original name (i.e. not filename).info
- The resource info.java.lang.Exception