Embed report into module

I’m wondering if what I am considering is possible.

I would like to store a report built in the ignition designer as an XML java resource in my module or perhaps in the internal database as an XML string. I would like to develop a report viewer component where this embedded report could be selected and different parameters could be set. I would then like to deserialize the stored XML into an ignition report, take the parameters from the component, and return the ran report to the client.

I don’t want the user to be able to view or modify this report configuration. I would like them to just be able to pass parameters in from the client. That is why I want to embed it in the module.

I’ve tried to dig through the Java docs but thought perhaps someone on the forum has experience working with the reporting classes enough to point me in the right direction.