Examples of FlatReportGenerator


Examples of org.milyn.event.report.FlatReportGenerator

    }

    private String runBasicTest(Smooks smooks, ExecutionContext execContext) {
        StringWriter reportWriter = new StringWriter();

        execContext.setEventListener(new FlatReportGenerator(new ReportConfiguration(reportWriter)));
        smooks.filterSource(execContext, new StreamSource(getClass().getResourceAsStream("test-data-01.xml")), new StreamResult(new StringWriter()));
        log.debug(reportWriter);
        return reportWriter.toString();
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.