Datasources for Mouf
You can find in this package two very useful interfaces:
DataSourceInterface: a DataSource that represents an array of arrays
RowInterface: a Row that is the representation of a key indexed array.
- MagicQuery (TODO)
This packages contains 2 very basic implementations of these interfaces:
Rowclass maps a key indexed array into a
DataSourceclass maps an array of array into a
This package comes with a set of utility classes to transform rows and datasources:
RowMappercreates an "output" row from an "input" row and a set of
ArrayMappercreates an "output" datasource from an "input" datasource and a set of
This package comes with 2 pickers (implementing the
RowPicker: selects one value in a row
CallbackPicker: applies a callback function to a row and returns the value of the callback
RowBuilder class can be used to merge rows, add a row as a key of a row or to add datasources as keys of a row.
Found a typo? Something is wrong in this documentation? Just fork and edit it!