public final class PermissionConfigHandler extends NdfHandler
PermissionConfig object with data read from the
server config file ServerFile.PERMISSION_CFG.allowedInNames, blockCommentChar, booleanFalseChar, booleanFalseLiteral, booleanTrueChar, booleanTrueLiteral, lineCommentChar, ndfAuthorKey, ndfBreakChars, ndfDocCreatedKey, ndfDocTypeKey, ndfDocVersion, ndfDocVersionKey, nullLiteral, quotingBreakChars, separatorLineChar, structureChar, textBreakChars, textParagraph| Constructor and Description |
|---|
PermissionConfigHandler(ServerPermissionConfig permissionCfg) |
| 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(FileInfo fileInfo,
NdfProperties headerProps)
Called when document parsing is about to start.
|
acceptDocumentVersion, asStuffedText, checkDocumentType, doneArray, doneDocument, doneObject, doneProperty, doneProperty, doneTable, foundArrayValue, foundArrayValue, foundBodyText, foundHeaderProperties, foundTableCell, foundTableRow, getCurrentNestingLevel, getCurrentStructure, getFileInfo, getLineNumber, getLogChannel, getMaxNestingLevel, getStructure, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannel, startArray, startObject, startProperty, startTablepublic PermissionConfigHandler(ServerPermissionConfig permissionCfg)
public void startDocument(FileInfo fileInfo, 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 mode.
It is quite expensive because it parses values the same way as property values.
But it provides the convenience to extract values in the desired type.foundTableRow in class NdfHandlerjava.lang.ExceptionNdfHandler.foundTableCell(NdfStructure, int, int, AsciiWord)Copyright © 2013 EsprIT-Systems. All Rights Reserved.