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
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
endElement
(String uri, String localName, String name) int
getType()
void
startElement
(String uri, String localname, String tagName, Attributes attributes) Methods inherited from class com.logicaldoc.impex.IndexHandler
characters, getArchive, getArchiveVersion, getCount, getCurrentDocument, getProgramVersion, getSizediplay
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
-
IndexHeaderHandler
public IndexHeaderHandler()
-
-
Method Details
-
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
- Specified by:
endElement
in interfaceContentHandler
- Overrides:
endElement
in classIndexHandler
-
getType
public int getType()
-