Class BpmnParser
java.lang.Object
org.operaton.bpm.engine.impl.util.xml.Parser
org.operaton.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 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 StringDeprecated, for removal: This API element is subject to removal in a future version.protected ExpressionManagerstatic final StringThe namespace of the generic OMG DI elements (don't ask me why they didnt use the BPMN_DI_NS ...)static final StringThe namespace of the operaton custom BPMN extensions.protected List<BpmnParseListener> static final StringThe Schema-Instance namespace.Fields inherited from class org.operaton.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.operaton.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:
-
OPERATON_BPMN_EXTENSIONS_NS
The namespace of the operaton custom BPMN extensions.- See Also:
-
CAMUNDA_BPMN_EXTENSIONS_NS
Deprecated, for removal: This API element is subject to removal in a future version.UseOPERATON_BPMN_EXTENSIONS_NSinstead.The namespace of the Camunda 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
-
OPERATON_BPMN_EXTENSIONS_NSinstead.