public class DatabaseConfigHandler extends NdfHandler
ServerDatabaseConfig object with data read from the
server config file ServerConfigFile.DATASOURCE.allowedInNames, blockCommentChar, booleanFalseChar, booleanFalseLiteral, booleanTrueChar, booleanTrueLiteral, currentNdfDocVersion, defaultTextEndChar, defaultTextParagraphChar, lineCommentChar, ndfDocAuthorKey, ndfDocCreatedKey, ndfDocEncodingKey, ndfDocTypeKey, ndfDocVersionKey, nullLiteral, quotingBreakCodes, standardBreakCodes, structureChar, textValueBreakCodes, validTextBreakSymbols| Constructor and Description |
|---|
DatabaseConfigHandler(ServerDatabaseConfig dsConfig) |
| Modifier and Type | Method and Description |
|---|---|
void |
foundTableRow(NdfStructure struct,
int rowIndex,
NdfProperties props)
Called when a table row was found within a table structure.
|
void |
startDocument(NdfStructure struct,
NdfProperties headerProps)
Called when document parsing is started.
|
acceptDocumentVersion, checkDocumentType, doneArray, doneDocument, doneList, doneObject, doneTable, doneText, foundArrayValue, foundArrayValue, foundListValue, foundListValue, foundProperties, foundTableCell, foundTableRow, foundText, foundText, getCurrentNestingLevel, getCurrentStructure, getDocAuthor, getDocCreated, getDocEncoding, getDocType, getDocVersion, getFileInfo, getLineNumber, getLogChannel, getMaxNestingLevel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannel, startArray, startList, startObject, startTable, startTextpublic DatabaseConfigHandler(ServerDatabaseConfig dsConfig)
public void startDocument(NdfStructure struct, NdfProperties headerProps) throws java.lang.Exception
NdfHandlerstartDocument in class NdfHandlerheaderProps - the header properties found in the documentjava.lang.Exceptionpublic void foundTableRow(NdfStructure struct, int rowIndex, NdfProperties props) throws java.lang.Exception
NdfHandlerNotifyTableValue.AS_PROPERTIES notification mode.
It is quite expensive because it parses values the same way as property values.
But it provides the convenience to extract values readily converted to the desired data type.foundTableRow in class NdfHandlerjava.lang.ExceptionCopyright © 2014 EsprIT-Systems. All Rights Reserved.