Package com.logicaldoc.impex
Class CustomIdsExtractorHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
com.logicaldoc.impex.IndexHandler
com.logicaldoc.impex.AbstractIndexImportHandler
com.logicaldoc.impex.CustomIdsExtractorHandler
- All Implemented Interfaces:
ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
This class is used to unmarshall the archive's index file just to extract all
the customIds
- Since:
- 9.2.1
- Author:
- Giuseppe Desiato - LogicalDOC
-
Constructor Summary
ConstructorsConstructorDescriptionCustomIdsExtractorHandler
(Archive archive, ArchiveImporter importer, Collection<com.logicaldoc.core.folder.Folder> workspaces, com.logicaldoc.core.security.Tenant tenant) -
Method Summary
Modifier and TypeMethodDescriptionvoid
startElement
(String uri, String localname, String tagName, Attributes attributes) Methods inherited from class com.logicaldoc.impex.IndexHandler
characters, endElement, getArchive, getArchiveVersion, getCount, getCurrentDocument, getProgramVersion, getSizediplay
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.xml.sax.ContentHandler
declaration
-
Constructor Details
-
CustomIdsExtractorHandler
public CustomIdsExtractorHandler(Archive archive, ArchiveImporter importer, Collection<com.logicaldoc.core.folder.Folder> workspaces, com.logicaldoc.core.security.Tenant tenant)
-
-
Method Details
-
startElement
public void startElement(String uri, String localname, String tagName, Attributes attributes) throws SAXException - Specified by:
startElement
in interfaceContentHandler
- Overrides:
startElement
in classIndexHandler
- Throws:
SAXException
-