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
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.static final StringThe location of the BPMN 2.0 XML schema.static final StringThe namespace of the BPMN 2.0 diagram common elements.static final StringThe namepace of the BPMN 2.0 diagram interchange elements.static final StringThe BPMN 2.0 namespaceprotected BpmnParseFactorystatic final StringThe namespace of the camunda custom BPMN extensions.protected ExpressionManagerstatic final StringThe namespace of the generic OMG DI elements (don't ask me why they didnt use the BPMN_DI_NS ...)protected List<BpmnParseListener>static final StringThe 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
ConstructorsConstructorDescriptionBpmnParser(ExpressionManager expressionManager, BpmnParseFactory bpmnParseFactory) -
Method Summary
Modifier and TypeMethodDescriptionCreates a newBpmnParseinstance that can be used to parse only one BPMN 2.0 process definition.voidsetExpressionManager(ExpressionManager expressionManager) voidsetParseListeners(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 newBpmnParseinstance that can be used to parse only one BPMN 2.0 process definition.- Specified by:
createParsein classParser
-
getExpressionManager
-
setExpressionManager
-
getParseListeners
-
setParseListeners
-
CAMUNDA_BPMN_EXTENSIONS_NS