// Create a JFreeReport from the XML file
MasterReport report = parseReport(reportDefinition);
// Create the data for the report
SalesByProductlineReportData reportData = new SalesByProductlineReportData();
TableDataFactory tableDataFactory = new TableDataFactory("default", reportData);//$NON-NLS-1$
report.setDataFactory(tableDataFactory);
report.getParameterValues().put("baseURL", "http://localhost:8080/pentaho");//$NON-NLS-1$ //$NON-NLS-2$
report.getParameterValues().put("employee", "");//$NON-NLS-1$ //$NON-NLS-2$
report.getParameterValues().put("product", "");//$NON-NLS-1$ //$NON-NLS-2$
report.getParameterValues().put("productline", "Ships");//$NON-NLS-1$ //$NON-NLS-2$