public class LicenseNdfHandler extends NdfHandler
allowedInNames, blockCommentChar, booleanFalseChar, booleanFalseLiteral, booleanTrueChar, booleanTrueLiteral, lineCommentChar, ndfAuthorKey, ndfBreakChars, ndfDocCreatedKey, ndfDocTypeKey, ndfDocVersion, ndfDocVersionKey, nullLiteral, quotingBreakChars, separatorLineChar, structureChar, textBreakChars, textParagraph
Constructor and Description |
---|
LicenseNdfHandler() |
Modifier and Type | Method and Description |
---|---|
void |
foundHeaderProperties(NdfProperties props)
Called when properties are found as top level elements.
|
NdfProperties |
getLicenseProps() |
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, foundTableCell, foundTableRow, foundTableRow, getCurrentNestingLevel, getCurrentStructure, getFileInfo, getLineNumber, getLogChannel, getMaxNestingLevel, getStructure, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannel, startArray, startObject, startProperty, startTable
public void startDocument(FileInfo fileInfo, NdfProperties headerProps) throws java.lang.Exception
NdfHandler
startDocument
in class NdfHandler
headerProps
- the header properties found in the documentjava.lang.Exception
public void foundHeaderProperties(NdfProperties props) throws java.lang.Exception
NdfHandler
foundHeaderProperties
in class NdfHandler
java.lang.Exception
public NdfProperties getLicenseProps()
Copyright © 2013 EsprIT-Systems. All Rights Reserved.