Package org.pentaho.reporting.engine.classic.core.wizard.writer

Examples of org.pentaho.reporting.engine.classic.core.wizard.writer.StandaloneDataSchemaWriter


    final OutputStream outputStream = new BufferedOutputStream(bundle.createEntry(contentState.getFileName(),
        "text/xml"));
    final MasterReport report = state.getMasterReport();
    final DataSchemaDefinition definition = report.getDataSchemaDefinition();

    final StandaloneDataSchemaWriter dataSchemaWriter = new StandaloneDataSchemaWriter();
    dataSchemaWriter.write(definition, outputStream, "UTF-8");
    outputStream.close();
    return contentState.getFileName();
  }
View Full Code Here


    final OutputStream outputStream = new BufferedOutputStream(bundle.createEntry(contentState.getFileName(),
        "text/xml"));
    final MasterReport report = state.getMasterReport();
    final DataSchemaDefinition definition = report.getDataSchemaDefinition();

    final StandaloneDataSchemaWriter dataSchemaWriter = new StandaloneDataSchemaWriter();
    dataSchemaWriter.write(definition, outputStream, "UTF-8");
    outputStream.close();
    return contentState.getFileName();
  }
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.engine.classic.core.wizard.writer.StandaloneDataSchemaWriter

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.