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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcharacters(char[] ch, int start, int length) voidendElement(String uri, String localName, String qName) longgetCount()com.logicaldoc.core.document.AbstractDocumentvoidstartElement(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, warningMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
startElementin interfaceContentHandler- Overrides:
startElementin classDefaultHandler- Throws:
SAXException
-
endElement
- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin classDefaultHandler
-
characters
public void characters(char[] ch, int start, int length) - Specified by:
charactersin interfaceContentHandler- Overrides:
charactersin classDefaultHandler
-
getArchive
-
getCount
public long getCount() -
getSizediplay
-
getProgramVersion
-
getArchiveVersion
-
getCurrentDocument
public com.logicaldoc.core.document.AbstractDocument getCurrentDocument()
-