Package org.goobi.production.export

Examples of org.goobi.production.export.ExportXmlLog


  /**
   * starts generation of xml logfile for current process
   */

  public void CreateXML() {
    ExportXmlLog xmlExport = new ExportXmlLog();
    try {
      LoginForm login = (LoginForm) Helper.getManagedBeanValue("#{LoginForm}");
      String ziel = login.getMyBenutzer().getHomeDir() + this.myProzess.getTitel() + "_log.xml";
      xmlExport.startExport(this.myProzess, ziel);
    } catch (IOException e) {
      Helper.setFehlerMeldung("could not write logfile to home directory: ", e);
    } catch (InterruptedException e) {
      Helper.setFehlerMeldung("could not execute command to write logfile to home directory", e);
    }
View Full Code Here


      response.setContentType("text/xml");

      try {
        ServletOutputStream out = response.getOutputStream();
        ExportXmlLog export = new ExportXmlLog();
        export.startTransformation(out, this.myProzess, this.selectedXslt);
        out.flush();
      } catch (ConfigurationException e) {
        Helper.setFehlerMeldung("could not create logfile: ", e);
      } catch (XSLTransformException e) {
        Helper.setFehlerMeldung("could not create transformation: ", e);
View Full Code Here

TOP

Related Classes of org.goobi.production.export.ExportXmlLog

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.