@ProviderType
public interface ReportTransformerPlugin
| Modifier and Type | Method and Description |
|---|---|
String[] |
getHandledModelExtensions()
Get the set of file extension names corresponding to the model format
that this plugin support.
|
String[] |
getHandledTemplateExtensions()
Get the set of file extension names corresponding to the template format
that this plugin support.
|
void |
transform(InputStream model,
InputStream template,
OutputStream output,
Map<String,String> parameters)
Transform the model by applying the template on it and write the result
to the output stream.
|
String[] getHandledTemplateExtensions()
nullString[] getHandledModelExtensions()
nullvoid transform(InputStream model, InputStream template, OutputStream output, Map<String,String> parameters) throws Exception
model - an input stream that contains the model, must not be
nulltemplate - an input stream that contains the template, must not be
nulloutput - the output stream to write the transformation result, must
not be nullparameters - a map of parameters and their value that must be
provided to the template engine, must not be nullException - if any errors occur during the transformation processCopyright © 2021. All rights reserved.