Class AdvancedScannedFileFactory
java.lang.Object
org.nuxeo.ecm.platform.importer.factories.AbstractDocumentModelFactory
org.nuxeo.ecm.platform.importer.factories.DefaultDocumentModelFactory
org.nuxeo.ecm.platform.scanimporter.processor.ScanedFileFactory
org.nuxeo.ecm.platform.importer.xml.parser.AdvancedScannedFileFactory
- All Implemented Interfaces:
ImporterDocumentModelFactory
public class AdvancedScannedFileFactory
extends ScanedFileFactory
implements ImporterDocumentModelFactory
Replace default XML Parser used into the Scan Importer service by the advanced one implemented into
nuxeo-importer-xml-parser
- Author:
- Benjamin JALON
-
Nested Class Summary
Nested classes/interfaces inherited from class org.nuxeo.ecm.platform.importer.factories.AbstractDocumentModelFactory
AbstractDocumentModelFactory.CompatFilenameNormalizer, AbstractDocumentModelFactory.DefaultFilenameNormalizer, AbstractDocumentModelFactory.FilenameNormalizer
-
Field Summary
Fields inherited from class org.nuxeo.ecm.platform.scanimporter.processor.ScanedFileFactory
config
Fields inherited from class org.nuxeo.ecm.platform.importer.factories.DefaultDocumentModelFactory
DOCTYPE_KEY_NAME, FACETS_KEY_NAME, folderishType, leafType
Fields inherited from class org.nuxeo.ecm.platform.importer.factories.AbstractDocumentModelFactory
filenameNormalizer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateLeafNode
(CoreSession session, DocumentModel parent, SourceNode node) Methods inherited from class org.nuxeo.ecm.platform.scanimporter.processor.ScanedFileFactory
createFolderishNode, defaultCreateLeafNode, getTargetContainerType
Methods inherited from class org.nuxeo.ecm.platform.importer.factories.DefaultDocumentModelFactory
getDocTypeToUse, getFacetsToUse, getMimeType, setFolderishType, setLeafType
Methods inherited from class org.nuxeo.ecm.platform.importer.factories.AbstractDocumentModelFactory
getValidNameFromFileName, isTargetDocumentModelFolderish, processFolderishNodeCreationError, processLeafNodeCreationError, setDocumentProperties
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.nuxeo.ecm.platform.importer.factories.ImporterDocumentModelFactory
createFolderishNode, isTargetDocumentModelFolderish, processFolderishNodeCreationError, processLeafNodeCreationError
-
Field Details
-
targetContainerType
-
-
Constructor Details
-
AdvancedScannedFileFactory
-
-
Method Details
-
createLeafNode
public DocumentModel createLeafNode(CoreSession session, DocumentModel parent, SourceNode node) throws IOException - Specified by:
createLeafNode
in interfaceImporterDocumentModelFactory
- Overrides:
createLeafNode
in classScanedFileFactory
- Throws:
IOException
-