public class GroupHandler extends NdfHandler
allowedInNames, blockCommentChar, booleanFalseChar, booleanFalseLiteral, booleanTrueChar, booleanTrueLiteral, currentNdfDocVersion, defaultTextEndChar, defaultTextParagraphChar, lineCommentChar, ndfDocAuthorKey, ndfDocCreatedKey, ndfDocEncodingKey, ndfDocTypeKey, ndfDocVersionKey, nullLiteral, quotingBreakCodes, standardBreakCodes, structureChar, textValueBreakCodes, validTextBreakSymbols
Constructor and Description |
---|
GroupHandler(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(NdfStructure struct,
NdfProperties props)
Called when document parsing is started.
|
NotifyTableValue |
startTable(NdfStructure struct,
NdfProperties props,
java.lang.String[] columns)
Called when a table structure was found.
|
acceptDocumentVersion, checkDocumentType, doneArray, doneDocument, doneList, doneObject, 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, startText
public GroupHandler(java.util.List<Group> groupList)
public void startDocument(NdfStructure struct, 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
NotifyTableValue.AS_PROPERTIES
NdfHandler.foundTableRow(NdfStructure, int, NdfProperties)
NotifyTableValue.AS_STRING_ARRAY
NdfHandler.foundTableRow(NdfStructure, int, String[])
NotifyTableValue.AS_BUFFERED_WORD
NdfHandler.foundTableCell(NdfStructure, int, int, AsciiWord)
startTable
in class NdfHandler
java.lang.Exception
public void foundTableRow(NdfStructure struct, int rowIndex, NdfProperties props) throws java.lang.Exception
NdfHandler
NotifyTableValue.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 NdfHandler
java.lang.Exception
public void doneTable(NdfStructure struct) throws java.lang.Exception
NdfHandler
doneTable
in class NdfHandler
java.lang.Exception
Copyright © 2014 EsprIT-Systems. All Rights Reserved.