Class BpmnModelParser
java.lang.Object
org.tweetyproject.logics.bpm.parser.xml_to_bpmn.BpmnModelParser
Parse a BPMN Model from the 'definitions' node of a XML representation
- Author:
- Benedikt Knopp
-
Constructor Summary
ConstructorDescriptionBpmnModelParser
(RootParser rootParser) Creates a new parser for the given BPMN model -
Method Summary
-
Constructor Details
-
BpmnModelParser
Creates a new parser for the given BPMN model- Parameters:
rootParser
- the root parser of the BPMN model
-
-
Method Details
-
parse
- Parameters:
rootNode
- the root of the XML tree representing the BPMN model- Throws:
IllegalArgumentException
- if the name of the root node is not 'definitions'
-
get
retrieve the parsed instance of the BpmnModel class- Returns:
- the parsed BPMN Model
-