Class BpmnParser
java.lang.Object
org.camunda.bpm.engine.impl.util.xml.Parser
org.camunda.bpm.engine.impl.bpmn.parser.BpmnParser
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 Summary
Modifier and TypeFieldDescriptionstatic final String
Deprecated.static final String
The location of the BPMN 2.0 XML schema.static final String
The namespace of the BPMN 2.0 diagram common elements.static final String
The namepace of the BPMN 2.0 diagram interchange elements.static final String
The BPMN 2.0 namespaceprotected BpmnParseFactory
static final String
The namespace of the camunda custom BPMN extensions.protected ExpressionManager
static final String
The namespace of the generic OMG DI elements (don't ask me why they didnt use the BPMN_DI_NS ...)protected List<BpmnParseListener>
static final String
The Schema-Instance namespace.Fields inherited from class org.camunda.bpm.engine.impl.util.xml.Parser
DISALLOW_DOCTYPE_DECL, EXTERNAL_GENERAL_ENTITIES, EXTERNAL_PARAMETER_ENTITIES, LOAD_EXTERNAL_DTD, LOG, NAMESPACE_PREFIXES, SAX_PARSER_FACTORY_INSTANCE
-
Constructor Summary
ConstructorDescriptionBpmnParser
(ExpressionManager expressionManager, BpmnParseFactory bpmnParseFactory) -
Method Summary
Modifier and TypeMethodDescriptionCreates a newBpmnParse
instance that can be used to parse only one BPMN 2.0 process definition.void
setExpressionManager
(ExpressionManager expressionManager) void
setParseListeners
(List<BpmnParseListener> parseListeners) Methods inherited from class org.camunda.bpm.engine.impl.util.xml.Parser
enableSchemaValidation, getSaxParser, getSaxParserFactoryLazily, isEnableXxeProcessing, setXxeProcessing
-
Field Details
-
BPMN20_NS
The BPMN 2.0 namespace- See Also:
-
BPMN_20_SCHEMA_LOCATION
The location of the BPMN 2.0 XML schema.- See Also:
-
CAMUNDA_BPMN_EXTENSIONS_NS
The namespace of the camunda custom BPMN extensions.- See Also:
-
ACTIVITI_BPMN_EXTENSIONS_NS
Deprecated.The namespace of the Activiti custom BPMN extensions.- See Also:
-
BPMN_DI_NS
The namepace of the BPMN 2.0 diagram interchange elements.- See Also:
-
BPMN_DC_NS
The namespace of the BPMN 2.0 diagram common elements.- See Also:
-
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:
-
XSI_NS
The Schema-Instance namespace.- See Also:
-
expressionManager
-
parseListeners
-
bpmnParseFactory
-
-
Constructor Details
-
BpmnParser
-
-
Method Details
-
createParse
Creates a newBpmnParse
instance that can be used to parse only one BPMN 2.0 process definition.- Specified by:
createParse
in classParser
-
getExpressionManager
-
setExpressionManager
-
getParseListeners
-
setParseListeners
-
CAMUNDA_BPMN_EXTENSIONS_NS