tmpOut = new DeferredFileOutputStream(1024 * 1024 * 10, tempFile);
}
DataWriter dw = new DataWriter(new OutputStreamWriter(tmpOut, "UTF-8"));
if (Boolean.TRUE.equals(params.get(SYSTEM_VIEW))) {
SystemViewExporter exporter = new SystemViewExporter(rootNode.getSession(), dw, !noRecurse, !skipBinary);
exporter.export(rootNode);
} else {
DocumentViewExporter exporter = new DocumentViewExporter(rootNode.getSession(), dw, skipBinary, noRecurse);
typesToIgnore.add("rep:system");
exporter.setTypesToIgnore(typesToIgnore);
exporter.export(rootNode, sortedNodes);