Examples of XMLExporter


Examples of com.ardor3d.util.export.xml.XMLExporter

            logger.log(Level.SEVERE, "BinaryImporter failed to load file", e);
        }

        bos.reset();
        try {
            new XMLExporter().save(originalNode, bos);
        } catch (final IOException e) {
            logger.log(Level.SEVERE, "XMLExporter failed to save file", e);
        }

        try {
View Full Code Here

Examples of edu.pku.sei.metric.xml.XMLExporter

        Shell activeShell = new Shell();
        FileDialog d = new FileDialog(activeShell, SWT.SAVE);
        String fileName = d.open();
        if (fileName != null) {
          File outputFile = new File(fileName);
          XMLExporter exporter;
          try {
            exporter = new XMLExporter(outputFile);
            doExport(activeShell, exporter);
          } catch (FileNotFoundException e) {
            logger.log(Level.WARNING,
                "MetricsView::File not found", e);
          } catch (InvocationTargetException e) {
View Full Code Here

Examples of net.datacrow.core.migration.itemexport.XmlExporter

                items.add(item);
           
            if (items.size() == 0)
                return;
       
      XmlExporter itemExporter = new XmlExporter(parent.getModule(), XmlExporter._MODE_NON_THREADED);
     
      ItemExporterSettings settings = new ItemExporterSettings();
      settings.set(ItemExporterSettings._COPY_IMAGES, Boolean.TRUE);
      settings.set(ItemExporterSettings._ALLOWRELATIVEIMAGEPATHS, Boolean.TRUE);
      settings.set(ItemExporterSettings._SCALE_IMAGES, Boolean.FALSE);
      itemExporter.setSettings(settings);
     
      itemExporter.setFile(new File(parent.getPath(), DcModules.get(module).getTableName() + ".xml"));
     
      itemExporter.setItems(items);
      itemExporter.setClient(this);
      itemExporter.start();
    }
View Full Code Here

Examples of net.sf.joafip.store.service.export_import.out.XmlExporter

      StoreClassNotFoundException, StoreInvalidClassException,
      StoreDataCorruptedException, StoreNotSerializableException {
    if (stackSize(0) > 500) {
      smallStackTestExportObject();
    } else {
      final XmlExporter xmlExporter = new XmlExporter(store);
      final BobForExport bobForExport = new BobForExport();
      final List<Integer> list = new LinkedList<Integer>();
      for (int value = 0; value < 1000; value++) {
        list.add(value);
      }
      bobForExport.setObject(list);
      xmlExporter.export(RUNTIME, RUNTIME + "/tmp", bobForExport);
    }
  }
View Full Code Here

Examples of net.sf.joafip.store.service.export_import.out.XmlExporter

    }
    storeSaver = new StoreSaver3(this);
    storeGarbager = new StoreGarbager(this);
    storeGarbager.setStoreSaver(storeSaver);

    xmlExporter = new XmlExporter(this);
    try {
      xmlImporter = new XmlImporter(this);
    } catch (final ImportException exception) {
      throw new StoreException(exception);
    }
View Full Code Here

Examples of net.sf.joafip.store.service.export_import.out.XmlExporter

      throw new StoreDataCorruptedException(FOR
          + objectToVisit.toString(), exception);
    } catch (final ObjectIOTooBigForSerializationException exception) {
      final Object object = exception.getObject();
      final String directoryName = JoafipLogger.getLogDirectory();
      final XmlExporter exporter = new XmlExporter(store);
      exporter.export(directoryName, directoryName + File.separator
          + "tmp", object);
      final String filePath = directoryName + File.separator
          + "export.xml";
      throw new StoreTooBigForSerializationException(FOR
          + objectToVisit.toString() + ". object exported in "
View Full Code Here

Examples of org.arquillian.recorder.reporter.exporter.impl.XMLExporter

        sce2.setPhase(When.BEFORE);

        reporter.getReporterCursor().getCursor().getPropertyEntries().add(sce);
        reporter.getReporterCursor().getCursor().getPropertyEntries().add(sce2);

        Exporter exporter = new XMLExporter(JAXBContextFactory.initContext(Report.class));
        exporter.setConfiguration(configuration);

        exporter.export(reporter.getReport());
    }
View Full Code Here

Examples of org.arquillian.recorder.reporter.exporter.impl.XMLExporter

        sce2.setPhase(When.BEFORE);

        reporter.getReporterCursor().getCursor().getPropertyEntries().add(sce);
        reporter.getReporterCursor().getCursor().getPropertyEntries().add(sce2);

        Exporter exporter = new XMLExporter(JAXBContextFactory.initContext(Report.class));
        exporter.setConfiguration(configuration);

        exporter.export(reporter.getReport());
    }
View Full Code Here

Examples of org.arquillian.recorder.reporter.exporter.impl.XMLExporter

    public void onCreatedReporterRegister(@Observes ExporterRegisterCreated event) {

        JAXBContext context = getContext();

        exporterRegister.get()
            .add(new XMLExporter(context))
            .add(new JSONExporter(context))
            .add(new HTMLExporter(context))
            .add(new AsciiDocExporter());

        reportTypeRegister.get()
View Full Code Here

Examples of org.jboss.shrinkwrap.descriptor.impl.base.XMLExporter

    * @see org.jboss.shrinkwrap.descriptor.impl.base.NodeProviderImplBase#getExporter()
    */
   @Override
   protected DescriptorExporter getExporter()
   {
      return new XMLExporter();
   }
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.