public interface XMLImporterService
| Modifier and Type | Method and Description | 
|---|---|
List<DocumentModel> | 
importDocuments(DocumentModel root,
               File source)
Imports  
DocumentModel in Nuxeo from an XML or a Zip archive. | 
List<DocumentModel> | 
importDocuments(DocumentModel root,
               File source,
               boolean deferSave)
Imports  
DocumentModel in Nuxeo from an XML or a Zip archive. | 
List<DocumentModel> | 
importDocuments(DocumentModel root,
               File source,
               Map<String,Object> mvelContext)
Same as  
importDocuments(DocumentModel, File) with map injected into mvel contexts used during parsing | 
List<DocumentModel> | 
importDocuments(DocumentModel root,
               File source,
               Map<String,Object> mvelContext,
               boolean deferSave)  | 
List<DocumentModel> | 
importDocuments(DocumentModel root,
               InputStream xmlStream)
Imports  
DocumentModel in Nuxeo from an XML Stream. | 
List<DocumentModel> | 
importDocuments(DocumentModel root,
               InputStream xmlStream,
               Map<String,Object> mvelContext)
Same as  
importDocuments(DocumentModel, InputStream) with map injected into mvel contexts used during
 parsing | 
List<DocumentModel> importDocuments(DocumentModel root, File source) throws IOException
DocumentModel in Nuxeo from an XML or a Zip archive.root - target container DocumentModelsource - source file, can be XML or Zip with XML indexIOExceptionList<DocumentModel> importDocuments(DocumentModel root, InputStream xmlStream) throws IOException
DocumentModel in Nuxeo from an XML Stream.root - target container DocumentModelxmlStream - stream source for Xml contntIOExceptionList<DocumentModel> importDocuments(DocumentModel root, File source, Map<String,Object> mvelContext) throws IOException
importDocuments(DocumentModel, File) with map injected into mvel contexts used during parsingroot - target container DocumentModelsource - source file, can be XML or Zip with XML indexmvelContext - Context added each time a mvel expression is resolvedIOExceptionList<DocumentModel> importDocuments(DocumentModel root, InputStream xmlStream, Map<String,Object> mvelContext) throws IOException
importDocuments(DocumentModel, InputStream) with map injected into mvel contexts used during
 parsingroot - target container DocumentModelxmlStream - stream source for Xml contntmvelContext - Context added each time a mvel expression is resolvedIOExceptionList<DocumentModel> importDocuments(DocumentModel root, File source, Map<String,Object> mvelContext, boolean deferSave) throws IOException
IOExceptionList<DocumentModel> importDocuments(DocumentModel root, File source, boolean deferSave) throws IOException
DocumentModel in Nuxeo from an XML or a Zip archive.root - target container DocumentModelsource - source file, can be XML or Zip with XML indexdeferSave - if true, do not save docs in docsStack during processing, save them after full parse of xml docIOExceptionCopyright © 2019 Nuxeo. All rights reserved.