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 Modifier and Type Field Description protected static String
targetContainerType
-
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
Constructors Constructor Description AdvancedScannedFileFactory(ImporterConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentModel
createLeafNode(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 Detail
-
targetContainerType
protected static String targetContainerType
-
-
Constructor Detail
-
AdvancedScannedFileFactory
public AdvancedScannedFileFactory(ImporterConfig config)
-
-
Method Detail
-
createLeafNode
public DocumentModel createLeafNode(CoreSession session, DocumentModel parent, SourceNode node) throws IOException
- Specified by:
createLeafNode
in interfaceImporterDocumentModelFactory
- Overrides:
createLeafNode
in classScanedFileFactory
- Throws:
IOException
-
-