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 SummaryFieldsModifier 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.ParserDISALLOW_DOCTYPE_DECL, EXTERNAL_GENERAL_ENTITIES, EXTERNAL_PARAMETER_ENTITIES, LOAD_EXTERNAL_DTD, LOG, NAMESPACE_PREFIXES, SAX_PARSER_FACTORY_INSTANCE
- 
Constructor SummaryConstructorsConstructorDescriptionBpmnParser(ExpressionManager expressionManager, BpmnParseFactory bpmnParseFactory) 
- 
Method SummaryModifier 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.ParserenableSchemaValidation, getSaxParser, getSaxParserFactoryLazily, isEnableXxeProcessing, setXxeProcessing
- 
Field Details- 
BPMN20_NSThe BPMN 2.0 namespace- See Also:
 
- 
BPMN_20_SCHEMA_LOCATIONThe location of the BPMN 2.0 XML schema.- See Also:
 
- 
CAMUNDA_BPMN_EXTENSIONS_NSThe namespace of the camunda custom BPMN extensions.- See Also:
 
- 
ACTIVITI_BPMN_EXTENSIONS_NSDeprecated.The namespace of the Activiti custom BPMN extensions.- See Also:
 
- 
BPMN_DI_NSThe namepace of the BPMN 2.0 diagram interchange elements.- See Also:
 
- 
BPMN_DC_NSThe namespace of the BPMN 2.0 diagram common elements.- See Also:
 
- 
OMG_DI_NSThe namespace of the generic OMG DI elements (don't ask me why they didnt use the BPMN_DI_NS ...)- See Also:
 
- 
XSI_NSThe Schema-Instance namespace.- See Also:
 
- 
expressionManager
- 
parseListeners
- 
bpmnParseFactory
 
- 
- 
Constructor Details- 
BpmnParser
 
- 
- 
Method Details- 
createParseCreates a newBpmnParseinstance that can be used to parse only one BPMN 2.0 process definition.- Specified by:
- createParsein class- Parser
 
- 
getExpressionManager
- 
setExpressionManager
- 
getParseListeners
- 
setParseListeners
 
- 
CAMUNDA_BPMN_EXTENSIONS_NS