Package com.logicaldoc.impex.application
Class DatabaseHandler
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- com.logicaldoc.impex.IndexHandler
-
- com.logicaldoc.impex.application.DatabaseHandler
-
- All Implemented Interfaces:
ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
public class DatabaseHandler extends IndexHandler
This class extends the IndexHandler class to insert the rows values into the version database table from the index file values.- Since:
- 4.5
- Author:
- Matteo Caruso - LogicalDOC
-
-
Constructor Summary
Constructors Constructor Description DatabaseHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
endElement(String uri, String localName, String name)
When the index file parsing is ended, it insert all the versions that are remained into the versions' buffer.-
Methods inherited from class com.logicaldoc.impex.IndexHandler
characters, getArchive, getArchiveVersion, getCount, getCurrentVersion, getProgramVersion, getSizediplay, startElement
-
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
-
endElement
public void endElement(String uri, String localName, String name)
When the index file parsing is ended, it insert all the versions that are remained into the versions' buffer.- Specified by:
endElement
in interfaceContentHandler
- Overrides:
endElement
in classIndexHandler
- See Also:
IndexHandler.endElement(java.lang.String, java.lang.String, java.lang.String)
-
-