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