public class XmlReportSerializerPlugin extends Object implements ReportSerializerPlugin
| Constructor and Description |
|---|
XmlReportSerializerPlugin() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getHandledExtensions()
Get the set of file extension names corresponding to the format that this
plugin can serialize to.
|
void |
serialize(Map<String,Object> data,
OutputStream output)
Serialize the DTO report into the output stream.
|
public String[] getHandledExtensions()
ReportSerializerPlugingetHandledExtensions in interface ReportSerializerPluginnullpublic void serialize(Map<String,Object> data, OutputStream output) throws Exception
ReportSerializerPluginserialize in interface ReportSerializerPlugindata - the DTO report to serialize, must not be nulloutput - the output stream to write the serialization result, must
not be nullException - if any errors occur during the serialization processCopyright © 2021. All rights reserved.