Class ReportConverter
java.lang.Object
com.inductiveautomation.factorypmi.plugins.reporting.customizers.ReportConverter
Filename: ReportConverter.java
Created on Jul 20, 2015
Author: Kathy Applebaum
Copyright Inductive Automation 2015
Project: Reporting
Migrates an old (pre-7.8) style report to the 7.8+ style.
-
Constructor Summary
ConstructorsConstructorDescriptionReportConverter
(DesignerContext context, ReportPanel rp, WindowWorkspace workspace, String name) -
Method Summary
Modifier and TypeMethodDescriptionboolean
convert()
protected byte[]
createBytes
(ReportResource reportResource) static Document
loadXMLFromString
(String xml)
-
Constructor Details
-
ReportConverter
public ReportConverter(DesignerContext context, ReportPanel rp, WindowWorkspace workspace, String name)
-
-
Method Details
-
convert
public boolean convert() -
createBytes
- Throws:
Exception
-
loadXMLFromString
public static Document loadXMLFromString(String xml) throws ParserConfigurationException, IOException, SAXException
-