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 of the unit test case and the comments to get an impression about this useful feature of the camunda BPMN model API.
Also be aware that you can use:
- Camunda XML model API to general 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