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:
 DatabaseHandler,ImportFolderIndexHandler,IndexHeaderHandler,IndexImportHandler
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 voidcharacters(char[] ch, int start, int length)voidendElement(String uri, String localName, String qName)ArchivegetArchive()StringgetArchiveVersion()longgetCount()IndexVersiongetCurrentVersion()StringgetProgramVersion()StringgetSizediplay()voidstartElement(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:
 startElementin interfaceContentHandler- Overrides:
 startElementin classDefaultHandler- Throws:
 SAXException
 
- 
endElement
public void endElement(String uri, String localName, String qName)
- 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
public Archive getArchive()
 
- 
getCount
public long getCount()
 
- 
getSizediplay
public String getSizediplay()
 
- 
getCurrentVersion
public IndexVersion getCurrentVersion()
 
- 
getProgramVersion
public String getProgramVersion()
 
- 
getArchiveVersion
public String getArchiveVersion()
 
 - 
 
 -