How to access the next element?

I am using the Java BPMN API. I need to find the next event to the startEvent or for any other element. Is there any way I can do so?

Hi,

What is your goal, what do you want to achieve with the next event?

Best regards,
Yana