Package com.logicaldoc.impex
Class IndexHeaderHandler
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- com.logicaldoc.impex.IndexHandler
-
- com.logicaldoc.impex.IndexHeaderHandler
-
- All Implemented Interfaces:
ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
public class IndexHeaderHandler extends IndexHandler
This class is used to unmarshall only the archive's index header file and set the archive's matadata.- Since:
- 4.5
- Author:
- Matteo Caruso - LogicalDOC
-
-
Constructor Summary
Constructors Constructor Description IndexHeaderHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
endElement(String uri, String localName, String name)
String
getArchiveVersion()
long
getCount()
String
getProgramVersion()
String
getSizediplay()
int
getType()
void
startElement(String uri, String localname, String tagName, Attributes attributes)
-
Methods inherited from class com.logicaldoc.impex.IndexHandler
characters, getArchive, getCurrentVersion
-
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 classIndexHandler
- Throws:
SAXException
-
endElement
public void endElement(String uri, String localName, String name)
- Specified by:
endElement
in interfaceContentHandler
- Overrides:
endElement
in classIndexHandler
-
getCount
public long getCount()
- Overrides:
getCount
in classIndexHandler
-
getSizediplay
public String getSizediplay()
- Overrides:
getSizediplay
in classIndexHandler
-
getProgramVersion
public String getProgramVersion()
- Overrides:
getProgramVersion
in classIndexHandler
-
getArchiveVersion
public String getArchiveVersion()
- Overrides:
getArchiveVersion
in classIndexHandler
-
getType
public int getType()
-
-