Package com.logicaldoc.impex
Class IndexImportHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
com.logicaldoc.impex.IndexHandler
com.logicaldoc.impex.AbstractIndexImportHandler
com.logicaldoc.impex.IndexImportHandler
- All Implemented Interfaces:
- ContentHandler,- DTDHandler,- EntityResolver,- ErrorHandler
This class is used to unmarshall the archive's index file and allows to get
 the archive's documents list
- Since:
- 4.5
- Author:
- Matteo Caruso - LogicalDOC
- 
Constructor SummaryConstructorsConstructorDescriptionIndexImportHandler(Archive archive, ArchiveImporter importer, Map<String, com.logicaldoc.core.metadata.Template> templates, Collection<com.logicaldoc.core.folder.Folder> workspaces, com.logicaldoc.core.security.Tenant tenant, String transactionId) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidendElement(String uri, String localName, String qName) voidstartElement(String uri, String localname, String tagName, Attributes attributes) Methods inherited from class com.logicaldoc.impex.IndexHandlercharacters, getArchive, getArchiveVersion, getCount, getCurrentDocument, getProgramVersion, getSizediplayMethods inherited from class org.xml.sax.helpers.DefaultHandlerendDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningMethods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandlerdeclaration
- 
Constructor Details- 
IndexImportHandlerpublic IndexImportHandler(Archive archive, ArchiveImporter importer, Map<String, com.logicaldoc.core.metadata.Template> templates, Collection<com.logicaldoc.core.folder.Folder> workspaces, com.logicaldoc.core.security.Tenant tenant, String transactionId) 
 
- 
- 
Method Details- 
startElementpublic void startElement(String uri, String localname, String tagName, Attributes attributes) throws SAXException - Specified by:
- startElementin interface- ContentHandler
- Overrides:
- startElementin class- IndexHandler
- Throws:
- SAXException
 
- 
endElement- Specified by:
- endElementin interface- ContentHandler
- Overrides:
- endElementin class- IndexHandler
 
 
-