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 String
ACTIVITI_BPMN_EXTENSIONS_NS
Deprecated.static String
BPMN_20_SCHEMA_LOCATION
The location of the BPMN 2.0 XML schema.static String
BPMN_DC_NS
The namespace of the BPMN 2.0 diagram common elements.static String
BPMN_DI_NS
The namepace of the BPMN 2.0 diagram interchange elements.static String
BPMN20_NS
The BPMN 2.0 namespaceprotected BpmnParseFactory
bpmnParseFactory
static String
CAMUNDA_BPMN_EXTENSIONS_NS
The namespace of the camunda custom BPMN extensions.protected ExpressionManager
expressionManager
static 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 List<BpmnParseListener>
parseListeners
static String
XSI_NS
The Schema-Instance namespace.-
Fields inherited from class org.camunda.bpm.engine.impl.util.xml.Parser
defaultSaxParserFactory, 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()
List<BpmnParseListener>
getParseListeners()
void
setExpressionManager(ExpressionManager expressionManager)
void
setParseListeners(List<BpmnParseListener> parseListeners)
-
Methods inherited from class org.camunda.bpm.engine.impl.util.xml.Parser
getSaxParser, getSaxParserFactory
-
-
-
-
Field Detail
-
BPMN20_NS
public static final String BPMN20_NS
The BPMN 2.0 namespace- See Also:
- Constant Field Values
-
BPMN_20_SCHEMA_LOCATION
public static final 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 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 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 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 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 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 String XSI_NS
The Schema-Instance namespace.- See Also:
- Constant Field Values
-
expressionManager
protected ExpressionManager expressionManager
-
parseListeners
protected 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.- Overrides:
createParse
in classParser
-
getExpressionManager
public ExpressionManager getExpressionManager()
-
setExpressionManager
public void setExpressionManager(ExpressionManager expressionManager)
-
getParseListeners
public List<BpmnParseListener> getParseListeners()
-
setParseListeners
public void setParseListeners(List<BpmnParseListener> parseListeners)
-
-