public class DefaultGroupManager.MyGroupHandler extends NdfHandler
allowedInNames, blockCommentChar, booleanFalseChar, booleanFalseLiteral, booleanTrueChar, booleanTrueLiteral, lineCommentChar, ndfAuthorKey, ndfBreakChars, ndfDocCreatedKey, ndfDocTypeKey, ndfDocVersion, ndfDocVersionKey, nullLiteral, quotingBreakChars, separatorLineChar, structureChar, textBreakChars, textParagraph| Constructor and Description |
|---|
DefaultGroupManager.MyGroupHandler(java.util.List<Group> groupList) |
| Modifier and Type | Method and Description |
|---|---|
void |
doneTable(NdfStructure struct)
Called when a table structure is done.
|
void |
foundTableRow(NdfStructure struct,
int rowIndex,
NdfProperties props)
Called when a table row was found within a table structure.
|
void |
startDocument(FileInfo fileInfo,
NdfProperties props)
Called when document parsing is about to start.
|
NotifyTableValue |
startTable(NdfStructure struct,
NdfProperties props,
java.lang.String[] columns)
Called when a table structure was found.
|
acceptDocumentVersion, asStuffedText, checkDocumentType, doneArray, doneDocument, doneObject, doneProperty, doneProperty, 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, startPropertypublic DefaultGroupManager.MyGroupHandler(java.util.List<Group> groupList)
public void startDocument(FileInfo fileInfo, NdfProperties props) throws java.lang.Exception
NdfHandlerstartDocument in class NdfHandlerprops - the header properties found in the documentjava.lang.Exceptionpublic NotifyTableValue startTable(NdfStructure struct, NdfProperties props, java.lang.String[] columns) throws java.lang.Exception
NdfHandlerNdfHandler.foundTableRow(NdfStructure, int, NdfProperties) will be called.startTable in class NdfHandlerjava.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)public void doneTable(NdfStructure struct) throws java.lang.Exception
NdfHandlerdoneTable in class NdfHandlerjava.lang.ExceptionCopyright © 2013 EsprIT-Systems. All Rights Reserved.