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
public class IndexHandler extends DefaultHandler
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 Constructor Description IndexHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
characters(char[] ch, int start, int length)
void
endElement(String uri, String localName, String qName)
Archive
getArchive()
String
getArchiveVersion()
long
getCount()
IndexVersion
getCurrentVersion()
String
getProgramVersion()
String
getSizediplay()
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
-
-
-
-
Method Detail
-
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
public void endElement(String uri, String localName, String qName)
- 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
public Archive getArchive()
-
getCount
public long getCount()
-
getSizediplay
public String getSizediplay()
-
getCurrentVersion
public IndexVersion getCurrentVersion()
-
getProgramVersion
public String getProgramVersion()
-
getArchiveVersion
public String getArchiveVersion()
-
-