Package com.logicaldoc.impex
Class IndexHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
com.logicaldoc.impex.IndexHandler
- All Implemented Interfaces:
ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
- Direct Known Subclasses:
AbstractIndexImportHandler
,DatabaseHandler
,IndexHeaderHandler
This class is used to unmarshall the archive's index file and set the
archive's entries.
- Since:
- 4.5
- Author:
- Matteo Caruso - LogicalDOC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
characters
(char[] ch, int start, int length) void
endElement
(String uri, String localName, String qName) long
getCount()
com.logicaldoc.core.document.AbstractDocument
void
startElement
(String uri, String localname, String tagName, Attributes attributes) 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
-
IndexHandler
public IndexHandler()
-
-
Method Details
-
startElement
public void startElement(String uri, String localname, String tagName, Attributes attributes) throws SAXException - Specified by:
startElement
in interfaceContentHandler
- Overrides:
startElement
in classDefaultHandler
- Throws:
SAXException
-
endElement
- Specified by:
endElement
in interfaceContentHandler
- Overrides:
endElement
in classDefaultHandler
-
characters
public void characters(char[] ch, int start, int length) - Specified by:
characters
in interfaceContentHandler
- Overrides:
characters
in classDefaultHandler
-
getArchive
-
getCount
public long getCount() -
getSizediplay
-
getProgramVersion
-
getArchiveVersion
-
getCurrentDocument
public com.logicaldoc.core.document.AbstractDocument getCurrentDocument()
-