Class BpmnParser


  • public class BpmnParser
    extends Parser
    Parser for BPMN 2.0 process models. There is only one instance of this parser in the process engine. This Parser creates BpmnParse instances that can be used to actually parse the BPMN 2.0 XML process definitions.
    Author:
    Tom Baeyens, Joram Barrez
    • Field Detail

      • BPMN20_NS

        public static final java.lang.String BPMN20_NS
        The BPMN 2.0 namespace
        See Also:
        Constant Field Values
      • BPMN_20_SCHEMA_LOCATION

        public static final java.lang.String BPMN_20_SCHEMA_LOCATION
        The location of the BPMN 2.0 XML schema.
        See Also:
        Constant Field Values
      • CAMUNDA_BPMN_EXTENSIONS_NS

        public static final java.lang.String CAMUNDA_BPMN_EXTENSIONS_NS
        The namespace of the camunda custom BPMN extensions.
        See Also:
        Constant Field Values
      • ACTIVITI_BPMN_EXTENSIONS_NS

        @Deprecated
        public static final java.lang.String ACTIVITI_BPMN_EXTENSIONS_NS
        The namespace of the Activiti custom BPMN extensions.
        See Also:
        Constant Field Values
      • BPMN_DI_NS

        public static final java.lang.String BPMN_DI_NS
        The namepace of the BPMN 2.0 diagram interchange elements.
        See Also:
        Constant Field Values
      • BPMN_DC_NS

        public static final java.lang.String BPMN_DC_NS
        The namespace of the BPMN 2.0 diagram common elements.
        See Also:
        Constant Field Values
      • OMG_DI_NS

        public static final java.lang.String OMG_DI_NS
        The namespace of the generic OMG DI elements (don't ask me why they didnt use the BPMN_DI_NS ...)
        See Also:
        Constant Field Values
      • XSI_NS

        public static final java.lang.String XSI_NS
        The Schema-Instance namespace.
        See Also:
        Constant Field Values
    • Method Detail

      • createParse

        public BpmnParse createParse()
        Creates a new BpmnParse instance that can be used to parse only one BPMN 2.0 process definition.
        Specified by:
        createParse in class Parser
      • setExpressionManager

        public void setExpressionManager​(ExpressionManager expressionManager)
      • setParseListeners

        public void setParseListeners​(java.util.List<BpmnParseListener> parseListeners)