@ProviderType
public interface ReportTransformerPlugin
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getHandledModelExtensions()
Get the set of file extension names corresponding to the model format
that this plugin support.
|
java.lang.String[] |
getHandledTemplateExtensions()
Get the set of file extension names corresponding to the template format
that this plugin support.
|
void |
transform(java.io.InputStream model,
java.io.InputStream template,
java.io.OutputStream output,
java.util.Map<java.lang.String,java.lang.String> parameters)
Transform the model by applying the template on it and write the result
to the output stream.
|
java.lang.String[] getHandledTemplateExtensions()
nulljava.lang.String[] getHandledModelExtensions()
nullvoid transform(java.io.InputStream model,
java.io.InputStream template,
java.io.OutputStream output,
java.util.Map<java.lang.String,java.lang.String> parameters)
throws java.lang.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 nulljava.lang.Exception - if any errors occur during the transformation process