Generating Report from Template File using Java API

Hi,

I'm trying to find the interfaces from the MagicDraw 2021x java api that allows me to generate a report from a template file. I have references to a Report Template element and the Context element for the report, how do I go about automating this generation using the api?

I was looking at the ReportFileTool class and was quite confused as the constructor required an object of type com.nomagic.magicreport.engine.ITemplateEngine. But I couldn't find any information about this object type on the nomagic.

Any help would be appreciated. I just started learning the API, so still learning my way around.

Thanks!