public class BpmnProcessModelUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_ENGINEPOOL_NAME |
protected XsltTransformer |
transformer |
static String |
UTF_8 |
| Constructor and Description |
|---|
BpmnProcessModelUtil() |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
extractExecutablePool(InputStream sourceModel)
Takes a bpmn process model in XML representation as input.
|
String |
extractExecutablePool(String sourceModel)
Extract executable pool based on string data
|
protected byte[] |
getBytesFromString(String string) |
protected String |
getStringFromBytes(byte[] byteArray) |
String |
importChangesFromExecutableBpmnModel(String sourceModel,
String targetModel)
Import the changes from a source bpmn process model to a target bpmn process model.
|
String |
replaceDeveloperFriendlyIds(String sourceModel)
Replaces the bpmn element IDs in a process model with developer friendly
IDs.
|
String |
replaceDeveloperFriendlyIds(String sourceModel,
String processEnginePoolId)
Replaces the bpmn element IDs in a process model with developer friendly
IDs.
|
public static final String UTF_8
public static final String DEFAULT_ENGINEPOOL_NAME
protected XsltTransformer transformer
public String replaceDeveloperFriendlyIds(String sourceModel, String processEnginePoolId)
sourceModel - a bpmn20 process model in XML representationprocessEnginePoolId - allows to provide a custom ID that is used for the first public String replaceDeveloperFriendlyIds(String sourceModel)
sourceModel - a bpmn20 process model in XML representationpublic String extractExecutablePool(String sourceModel)
sourceModel - extractExecutablePool(java.io.InputStream)public InputStream extractExecutablePool(InputStream sourceModel)
sourceModel - a bpmn20 process model in XML representationpublic String importChangesFromExecutableBpmnModel(String sourceModel, String targetModel)
protected byte[] getBytesFromString(String string)
protected String getStringFromBytes(byte[] byteArray)
Copyright © 2015. All rights reserved.