Package org.pentaho.reporting.engine.classic.core.modules.parser.extwriter

Examples of org.pentaho.reporting.engine.classic.core.modules.parser.extwriter.DataFactoryWriteHandler


    xmlWriter.writeTag(CompoundDataFactoryModule.NAMESPACE, "compound-datasource", rootAttrs, XmlWriterSupport.OPEN);

    for (int i = 0; i < compoundDataFactory.size(); i++)
    {
      final DataFactory df = compoundDataFactory.get(i);
      final DataFactoryWriteHandler writerHandler = DataFactoryWriter.lookupWriteHandler(df);
      if (writerHandler == null)
      {
        throw new ReportWriterException("Unable to find writer-handler for data-factory " + df.getClass());
      }

      writerHandler.write(reportWriter, xmlWriter, dataFactory);
    }

    xmlWriter.writeCloseTag();
  }
View Full Code Here


    xmlWriter.writeTag(CompoundDataFactoryModule.NAMESPACE, "compound-datasource", rootAttrs, XmlWriterSupport.OPEN);

    for (int i = 0; i < compoundDataFactory.size(); i++)
    {
      final DataFactory df = compoundDataFactory.get(i);
      final DataFactoryWriteHandler writerHandler = DataFactoryWriter.lookupWriteHandler(df);
      if (writerHandler == null)
      {
        throw new ReportWriterException("Unable to find writer-handler for data-factory " + df.getClass());
      }

      writerHandler.write(reportWriter, xmlWriter, dataFactory);
    }

    xmlWriter.writeCloseTag();
  }
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.engine.classic.core.modules.parser.extwriter.DataFactoryWriteHandler

Copyright © 2018 www.massapicom. 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.