Examples of FactoryParameterKey


Examples of org.pentaho.reporting.libraries.resourceloader.FactoryParameterKey

    {
      throw new ParseException("There was no subreport file specified.", getLocator());
    }

    final Map parameters = deriveParseParameters();
    parameters.put(new FactoryParameterKey(ReportParserUtil.HELPER_OBJ_REPORT_NAME), null);
    parameters.put(new FactoryParameterKey(ReportParserUtil.INCLUDE_PARSING_KEY), ReportParserUtil.INCLUDE_PARSING_VALUE);
    try
    {
      subReport = (SubReport) performExternalParsing(filePath, SubReport.class, parameters);
    }
    catch (ResourceLoadingException e)
View Full Code Here

Examples of org.pentaho.reporting.libraries.resourceloader.FactoryParameterKey

  private boolean parseDataDefinition(final String parameterFile) throws ParseException
  {
    try
    {
      final Map parameters = deriveParseParameters();
      parameters.put(new FactoryParameterKey(ReportParserUtil.HELPER_OBJ_REPORT_NAME), null);
      final SubReportDataDefinition dataDefinition = (SubReportDataDefinition)
          performExternalParsing(parameterFile, SubReportDataDefinition.class, parameters);
      report.setDataFactory(dataDefinition.getDataFactory());
      report.setQuery(dataDefinition.getQuery());
      report.setQueryLimit(dataDefinition.getQueryLimit());
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.