Class BpmnParser
- java.lang.Object
-
- org.camunda.bpm.engine.impl.util.xml.Parser
-
- org.camunda.bpm.engine.impl.bpmn.parser.BpmnParser
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ACTIVITI_BPMN_EXTENSIONS_NS
Deprecated.static java.lang.String
BPMN_20_SCHEMA_LOCATION
The location of the BPMN 2.0 XML schema.static java.lang.String
BPMN_DC_NS
The namespace of the BPMN 2.0 diagram common elements.static java.lang.String
BPMN_DI_NS
The namepace of the BPMN 2.0 diagram interchange elements.static java.lang.String
BPMN20_NS
The BPMN 2.0 namespaceprotected BpmnParseFactory
bpmnParseFactory
static java.lang.String
CAMUNDA_BPMN_EXTENSIONS_NS
The namespace of the camunda custom BPMN extensions.protected ExpressionManager
expressionManager
static 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 ...)protected java.util.List<BpmnParseListener>
parseListeners
static java.lang.String
XSI_NS
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
Constructors Constructor Description BpmnParser(ExpressionManager expressionManager, BpmnParseFactory bpmnParseFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BpmnParse
createParse()
Creates a newBpmnParse
instance that can be used to parse only one BPMN 2.0 process definition.ExpressionManager
getExpressionManager()
java.util.List<BpmnParseListener>
getParseListeners()
void
setExpressionManager(ExpressionManager expressionManager)
void
setParseListeners(java.util.List<BpmnParseListener> parseListeners)
-
Methods inherited from class org.camunda.bpm.engine.impl.util.xml.Parser
enableSchemaValidation, getSaxParser, getSaxParserFactoryLazily, isEnableXxeProcessing, setXxeProcessing
-
-
-
-
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
Deprecated.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
-
expressionManager
protected ExpressionManager expressionManager
-
parseListeners
protected java.util.List<BpmnParseListener> parseListeners
-
bpmnParseFactory
protected BpmnParseFactory bpmnParseFactory
-
-
Constructor Detail
-
BpmnParser
public BpmnParser(ExpressionManager expressionManager, BpmnParseFactory bpmnParseFactory)
-
-
Method Detail
-
createParse
public BpmnParse createParse()
Creates a newBpmnParse
instance that can be used to parse only one BPMN 2.0 process definition.- Specified by:
createParse
in classParser
-
getExpressionManager
public ExpressionManager getExpressionManager()
-
setExpressionManager
public void setExpressionManager(ExpressionManager expressionManager)
-
getParseListeners
public java.util.List<BpmnParseListener> getParseListeners()
-
setParseListeners
public void setParseListeners(java.util.List<BpmnParseListener> parseListeners)
-
-