This example demonstrates how to use the Camunda BPMN model API to parse a BPMN process. It shows how simple you can access attributes, child elements and extension elements. Also it illustrates how to use references between model elements to traverse the model.
Please have a look at the source code and comments of the unit test case to get an impression about this feature of the Camunda BPMN model API.
Also be aware that you can use:
- Camunda XML model API to process XML in a generic way
- Camunda CMMN model API to handle CMMN models
- Camunda DMN model API to handle DMN models
- Checkout the project with Git
- Read and run the unit test case