public final class BpmnParseUtil extends Object
Constructor and Description |
---|
BpmnParseUtil() |
Modifier and Type | Method and Description |
---|---|
static Element |
findCamundaExtensionElement(Element element,
String extensionElementName)
Returns the camunda extension element in the camunda namespace
and the given name.
|
protected static ExpressionManager |
getExpressionManager() |
static void |
parseCamundaInputParameters(Element inputOutputElement,
IoMapping ioMapping)
Parses all input parameters of an input output element and adds them to
the
IoMapping . |
static void |
parseCamundaOutputParameters(Element inputOutputElement,
IoMapping ioMapping)
Parses all output parameters of an input output element and adds them to
the
IoMapping . |
static ExecutableScript |
parseCamundaScript(Element scriptElement)
Parses a camunda script element.
|
static IoMapping |
parseInputOutput(Element element)
Returns the
IoMapping of an element. |
static void |
parseInputParameterElement(Element inputParameterElement,
IoMapping ioMapping)
Parses a input parameter and adds it to the
IoMapping . |
protected static ParameterValueProvider |
parseNestedParamValueProvider(Element element) |
static void |
parseOutputParameterElement(Element outputParameterElement,
IoMapping ioMapping)
Parses a output parameter and adds it to the
IoMapping . |
protected static ParameterValueProvider |
parseParamValueProvider(Element parameterElement) |
public static Element findCamundaExtensionElement(Element element, String extensionElementName)
element
- the parent element of the extension elementextensionElementName
- the name of the extension element to findpublic static IoMapping parseInputOutput(Element element)
IoMapping
of an element.element
- the element to parseBpmnParseException
- if a input/output parameter element is malformedpublic static void parseCamundaInputParameters(Element inputOutputElement, IoMapping ioMapping)
IoMapping
.inputOutputElement
- the input output element to processioMapping
- the input output mapping to add input parameters toBpmnParseException
- if a input parameter element is malformedpublic static void parseCamundaOutputParameters(Element inputOutputElement, IoMapping ioMapping)
IoMapping
.inputOutputElement
- the input output element to processioMapping
- the input output mapping to add input parameters toBpmnParseException
- if a output parameter element is malformedpublic static void parseInputParameterElement(Element inputParameterElement, IoMapping ioMapping)
IoMapping
.inputParameterElement
- the input parameter elementioMapping
- the mapping to add the elementBpmnParseException
- if the input parameter element is malformedpublic static void parseOutputParameterElement(Element outputParameterElement, IoMapping ioMapping)
IoMapping
.outputParameterElement
- the output parameter elementioMapping
- the mapping to add the elementBpmnParseException
- if the output parameter element is malformedprotected static ParameterValueProvider parseNestedParamValueProvider(Element element)
BpmnParseException
- if the parameter is invalidprotected static ParameterValueProvider parseParamValueProvider(Element parameterElement)
BpmnParseException
- if the parameter is invalidpublic static ExecutableScript parseCamundaScript(Element scriptElement)
scriptElement
- the script element ot parseBpmnParseException
- if the a attribute is missing or the script cannot be processedprotected static ExpressionManager getExpressionManager()
Copyright © 2017. All rights reserved.