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, startProperty
public DefaultGroupManager.MyGroupHandler(java.util.List<Group> groupList)
public void startDocument(FileInfo fileInfo, NdfProperties props) throws java.lang.Exception
NdfHandler
startDocument
in class NdfHandler
props
- the header properties found in the documentjava.lang.Exception
public NotifyTableValue startTable(NdfStructure struct, NdfProperties props, java.lang.String[] columns) throws java.lang.Exception
NdfHandler
NdfHandler.foundTableRow(NdfStructure, int, NdfProperties)
will be called.startTable
in class NdfHandler
java.lang.Exception
public void foundTableRow(NdfStructure struct, int rowIndex, NdfProperties props) throws java.lang.Exception
NdfHandler
NotifyTableValue.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 NdfHandler
java.lang.Exception
NdfHandler.foundTableCell(NdfStructure, int, int, AsciiWord)
public void doneTable(NdfStructure struct) throws java.lang.Exception
NdfHandler
doneTable
in class NdfHandler
java.lang.Exception
Copyright © 2013 EsprIT-Systems. All Rights Reserved.