NanookNanook
  • [ DOCS ]
  • [ API ]
  • [ BLOG ]
  • [ GITHUB ]

›File Processor

Logger

  • Logger Interface
  • Logger Memory

Model

  • Table Interface
  • Testcase Definition Interface
  • Todo Meta
  • Todo Static
  • Todo Generator
  • Todo Reference

Model Decision

  • Base Section Definition
  • Base Single Row Section Definition
  • Execute Section Definition
  • Never Execute Section Definition
  • Multiplicity Section Definition
  • Summary Section Definition
  • Field Section Definition
  • Field Sub Section Definition
  • Multi Row Section Definition
  • Tag Section Definition
  • Filter Section Definition
  • Generator Switch Section Definition
  • Testcase Definition Decision
  • Table Decision
  • Section Types
  • Validate Double
  • Validate Helper
  • Validate Missing

Model Matrix

  • Testcase Definition Matrix
  • Table Matrix

Importer xlsx

  • Importer xlsx

File Processor

  • Importer Interface
  • Parser Interface
  • Interface Filter
  • Simple Array Filter
  • Simple Array Ignore Filter
  • Parser Constants
  • Parser Decision Constants
  • Parser Decision
  • Parser Matrix Constants
  • Parser Matrix
  • Parser Specification Constants
  • Parser Specification
  • Parser Specification Converter

Data Generator

  • Data Generator Interface
  • Data Generator Base
  • Service Registry
  • Generator Faker

Processor

  • Interface Processor
  • Interface Writer
  • Node
  • Reference
  • Testcase Data
  • Processor
  • writeMetaData
  • writeStaticData
  • utilCartesian

Parser Matrix

ParserMatrix ⇐ ParserBase

The parser for the matrix tables.

Kind: global class
Extends: ParserBase

  • ParserMatrix ⇐ ParserBase
    • .fieldNameSequence
    • .parse(sheetName, importer) ⇒ object
    • .getFieldName() ⇒ string
    • ._parseMetaDataColumn(table, sheetName, importer, sheetEndColumn, sheetEndRow)
    • ._checkForEmptyColumn(sheetName, importer, column, sheetEndRow)
    • ._parseMetaDataRow(table, sheetName, importer, sheetEndColumn, sheetEndRow)
    • ._checkForEmptyRow(sheetName, importer, row, sheetEndColumn)
    • ._parseFieldData(table, sheetName, importer, sheetEndColumn, sheetEndRow)

parserMatrix.fieldNameSequence

This sequence is used to give each field a unique name.

Kind: instance property of ParserMatrix

parserMatrix.parse(sheetName, importer) ⇒ object

Parses the sheet with the given name und uses the given importer to access the data.

Kind: instance method of ParserMatrix
Returns: object - tableModel The created tablemodel

Param Type Description
sheetName string The name of the sheet
importer object The importer

parserMatrix.getFieldName() ⇒ string

Creates a unique field name.

Kind: instance method of ParserMatrix
Returns: string - fieldName New generated fieldName

parserMatrix._parseMetaDataColumn(table, sheetName, importer, sheetEndColumn, sheetEndRow)

Reads the meta data information of each column and stores it in the table object

Kind: instance method of ParserMatrix

Param Type Description
table object The table to store the current sheet data
sheetName string The name of the sheet
importer object The importer
sheetEndColumn number The last column of the sheed (Exclusive)
sheetEndRow number The last row of the sheet (Exclusive)

parserMatrix._checkForEmptyColumn(sheetName, importer, column, sheetEndRow)

Checks that the complete row is empty. If the column has no name, then the complete row must be null

Kind: instance method of ParserMatrix

Param Type Description
sheetName string The name of the sheet
importer object The importer
column number The current column
sheetEndRow number The last row of the sheet (Exclusive)

parserMatrix._parseMetaDataRow(table, sheetName, importer, sheetEndColumn, sheetEndRow)

Reads the meta data information of each row and stores it in the table object

Kind: instance method of ParserMatrix

Param Type Description
table object The table to store the current sheet data
sheetName string The name of the sheet
importer object The importer
sheetEndColumn number The last column of the sheed (Exclusive)
sheetEndRow number The last row of the sheet (Exclusive)

parserMatrix._checkForEmptyRow(sheetName, importer, row, sheetEndColumn)

Checks that the complete row is empty. If the column has no name, then the complete row must be null

Kind: instance method of ParserMatrix

Param Type Description
sheetName string The name of the sheet
importer object The importer
row number The current row
sheetEndColumn number The last column of the sheet (Exclusive)

parserMatrix._parseFieldData(table, sheetName, importer, sheetEndColumn, sheetEndRow)

Reads the data section of the matrix table

Kind: instance method of ParserMatrix

Param Type Description
table object The table to store the current sheet data
sheetName string The name of the sheet
importer object The importer
sheetEndColumn number The last column of the sheed (Exclusive)
sheetEndRow number The last row of the sheet (Exclusive)
← Parser Matrix ConstantsParser Specification Constants →
  • ParserMatrix ⇐ ParserBase
    • parserMatrix.fieldNameSequence
    • parserMatrix.parse(sheetName, importer) ⇒ object
    • parserMatrix.getFieldName() ⇒ string
    • parserMatrix._parseMetaDataColumn(table, sheetName, importer, sheetEndColumn, sheetEndRow)
    • parserMatrix._checkForEmptyColumn(sheetName, importer, column, sheetEndRow)
    • parserMatrix._parseMetaDataRow(table, sheetName, importer, sheetEndColumn, sheetEndRow)
    • parserMatrix._checkForEmptyRow(sheetName, importer, row, sheetEndColumn)
    • parserMatrix._parseFieldData(table, sheetName, importer, sheetEndColumn, sheetEndRow)
Nanook
[ DOCS ] Tutorials Guide
[ MORE ] About Imprint Privacy Policy GitHub Manage Cookies
© 2018-2026 NANOOK.XHUB.IO — An Open Source Project by BeeBack UG.
[ COOKIE PREFERENCES ]

We use cookies to analyze site usage and improve your experience. You can choose which cookies to allow below. See our Privacy Policy for details.

ESSENTIALAlways active
Provider nanook.xhub.io (First Party)
Cookies nanook-theme — Stores your theme preference (CRT/INK)
Duration Persistent (localStorage)
Purpose Remember your display preferences across visits
ANALYTICS
Provider Google LLC (Google Analytics 4)
Cookies _ga, _ga_PMNJR2G9ZH — Distinguish unique visitors and sessions
Duration _ga: 2 years, _ga_*: 2 years
Purpose Measure site usage, page views, and traffic sources to improve the site. IP addresses are anonymized.
Privacy Google Privacy Policy