(WorkspaceFileCleanerHolder)container.getComponentInstanceOfType(WorkspaceFileCleanerHolder.class);
ValueFactoryImpl valueFactoryImpl = new ValueFactoryImpl(factory, wsConfig, cleanerHolder);
try
{
BaseXmlExporter exporter =
new ExportImportFactory().getExportVisitor(XmlMapping.SYSVIEW, out, skipBinary, noRecurse,
getTransientNodesManager(), repository.getNamespaceRegistry(), valueFactoryImpl);
JCRPath srcNodePath = getLocationFactory().parseAbsPath(absPath);
ItemData srcItemData = dataManager.getItemData(srcNodePath.getInternalPath());
if (srcItemData == null)
{
throw new PathNotFoundException("No node exists at " + absPath);
}
exporter.export((NodeData)srcItemData);
}
catch (XMLStreamException e)
{
throw new IOException(e.getLocalizedMessage());
}