Examples of StyleKeyFactoryCollector


Examples of org.pentaho.reporting.engine.classic.core.modules.parser.ext.factory.stylekey.StyleKeyFactoryCollector

      {
        report.setName(value);
      }
    }
    final ElementFactoryCollector elementFactory = new ElementFactoryCollector();
    final StyleKeyFactoryCollector styleKeyFactory = new StyleKeyFactoryCollector();
    final ClassFactoryCollector classFactory = new ClassFactoryCollector();
    final DataSourceCollector dataSourceFactory = new DataSourceCollector();
    final TemplateCollector templateFactory = new TemplateCollector();

    classFactory.configure(getRootHandler().getParserConfiguration());
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.modules.parser.ext.factory.stylekey.StyleKeyFactoryCollector

        rootHandler.getHelperObject(ReportDefinitionReadHandler.TEMPLATE_FACTORY_KEY) == null)
    {
      final ElementFactoryCollector elementFactory = new ElementFactoryCollector();
      elementFactory.addFactory(new DefaultElementFactory());

      final StyleKeyFactoryCollector styleKeyFactory = new StyleKeyFactoryCollector();
      styleKeyFactory.addFactory(new DefaultStyleKeyFactory());
      styleKeyFactory.addFactory(new PageableLayoutStyleKeyFactory());

      final ClassFactoryCollector classFactory = new ClassFactoryCollector();
      classFactory.addFactory(new URLClassFactory());
      classFactory.addFactory(new DefaultClassFactory());
      classFactory.addFactory(new BandLayoutClassFactory());
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.modules.parser.ext.factory.stylekey.StyleKeyFactoryCollector

    if (className == null)
    {
      throw new ParseException("Attribute 'class' is missing.",
          getRootHandler().getDocumentLocator());
    }
    final StyleKeyFactoryCollector fc =
        (StyleKeyFactoryCollector) getRootHandler().getHelperObject
            (ReportDefinitionReadHandler.STYLE_FACTORY_KEY);

    final StyleKeyFactory factory = (StyleKeyFactory)
        ObjectUtilities.loadAndInstantiate(className, getClass(), StyleKeyFactory.class);
    fc.addFactory(factory);
  }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.modules.parser.ext.factory.stylekey.StyleKeyFactoryCollector

   *
   * @return the tablemodel for the stylekey reference generator.
   */
  public static TableModel createData()
  {
    final StyleKeyFactoryCollector cc = new StyleKeyFactoryCollector();
    cc.addFactory(new DefaultStyleKeyFactory());
    cc.addFactory(new PageableLayoutStyleKeyFactory());

    return new StyleKeyReferenceTableModel(cc);
  }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.modules.parser.ext.factory.stylekey.StyleKeyFactoryCollector

    dataSourceCollector = new DataSourceCollector();
    elementFactoryCollector = new ElementFactoryCollector();
    classFactoryCollector = new ClassFactoryCollector();
    classFactoryCollector.addFactory(dataSourceCollector);
    styleKeyFactoryCollector = new StyleKeyFactoryCollector();
    templateCollector = new TemplateCollector();

    // configure all factories with the current report configuration ...
    dataSourceCollector.configure(configuration);
    classFactoryCollector.configure(configuration);
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.modules.parser.ext.factory.stylekey.StyleKeyFactoryCollector

      final ElementFactoryCollector elementFactory = new ElementFactoryCollector();
      rootHandler.setHelperObject(ExtSubReportReadHandler.ELEMENT_FACTORY_KEY, elementFactory);
    }
    if (rootHandler.getHelperObject(ExtSubReportReadHandler.STYLE_FACTORY_KEY) == null)
    {
      final StyleKeyFactoryCollector styleKeyFactory = new StyleKeyFactoryCollector();
      rootHandler.setHelperObject(ExtSubReportReadHandler.STYLE_FACTORY_KEY, styleKeyFactory);
    }
    if (rootHandler.getHelperObject(ExtSubReportReadHandler.CLASS_FACTORY_KEY) == null)
    {
      final ClassFactoryCollector classFactory = new ClassFactoryCollector();
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.modules.parser.ext.factory.stylekey.StyleKeyFactoryCollector

        rootHandler.getHelperObject(ReportDefinitionReadHandler.TEMPLATE_FACTORY_KEY) == null)
    {
      final ElementFactoryCollector elementFactory = new ElementFactoryCollector();
      elementFactory.addFactory(new DefaultElementFactory());

      final StyleKeyFactoryCollector styleKeyFactory = new StyleKeyFactoryCollector();
      styleKeyFactory.addFactory(new DefaultStyleKeyFactory());
      styleKeyFactory.addFactory(new PageableLayoutStyleKeyFactory());

      final ClassFactoryCollector classFactory = new ClassFactoryCollector();
      classFactory.addFactory(new URLClassFactory());
      classFactory.addFactory(new DefaultClassFactory());
      classFactory.addFactory(new BandLayoutClassFactory());
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.modules.parser.ext.factory.stylekey.StyleKeyFactoryCollector

        rootHandler.getHelperObject(ReportDefinitionReadHandler.TEMPLATE_FACTORY_KEY) == null)
    {
      final ElementFactoryCollector elementFactory = new ElementFactoryCollector();
      elementFactory.addFactory(new DefaultElementFactory());

      final StyleKeyFactoryCollector styleKeyFactory = new StyleKeyFactoryCollector();
      styleKeyFactory.addFactory(new DefaultStyleKeyFactory());
      styleKeyFactory.addFactory(new PageableLayoutStyleKeyFactory());

      final ClassFactoryCollector classFactory = new ClassFactoryCollector();
      classFactory.addFactory(new URLClassFactory());
      classFactory.addFactory(new DefaultClassFactory());
      classFactory.addFactory(new BandLayoutClassFactory());
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.modules.parser.ext.factory.stylekey.StyleKeyFactoryCollector

        rootHandler.getHelperObject(ReportDefinitionReadHandler.TEMPLATE_FACTORY_KEY) == null)
    {
      final ElementFactoryCollector elementFactory = new ElementFactoryCollector();
      elementFactory.addFactory(new DefaultElementFactory());

      final StyleKeyFactoryCollector styleKeyFactory = new StyleKeyFactoryCollector();
      styleKeyFactory.addFactory(new DefaultStyleKeyFactory());
      styleKeyFactory.addFactory(new PageableLayoutStyleKeyFactory());

      final ClassFactoryCollector classFactory = new ClassFactoryCollector();
      classFactory.addFactory(new URLClassFactory());
      classFactory.addFactory(new DefaultClassFactory());
      classFactory.addFactory(new BandLayoutClassFactory());
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.modules.parser.ext.factory.stylekey.StyleKeyFactoryCollector

    dataSourceCollector = new DataSourceCollector();
    elementFactoryCollector = new ElementFactoryCollector();
    classFactoryCollector = new ClassFactoryCollector();
    classFactoryCollector.addFactory(dataSourceCollector);
    styleKeyFactoryCollector = new StyleKeyFactoryCollector();
    templateCollector = new TemplateCollector();

    // configure all factories with the current report configuration ...
    dataSourceCollector.configure(configuration);
    classFactoryCollector.configure(configuration);
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.