A Formatter responsible to format values into a string.
Each formatter has a unique id and is referenced by this id by a column.
The interface FormattingInfoProvider is responsible to combine a column to a formatter.
The names of the options used to control the formatting in the format method
must be disjunctive across all implemented Formatters.
NOTE: This interface is a proof of concept, please provide feedback if you try it.
A Formatter needs to be registered as provides: result-api.Formatter.
Example: Custom Formatter
exportclassUpperCaseFormatterimplementsFormatter { id = "string-to-upper-case";
A Formatter responsible to format values into a string. Each formatter has a unique id and is referenced by this id by a column. The interface FormattingInfoProvider is responsible to combine a column to a formatter.
The names of the options used to control the formatting in the format method must be disjunctive across all implemented Formatters.
NOTE: This interface is a proof of concept, please provide feedback if you try it.
A Formatter needs to be registered as
provides: result-api.Formatter
.Example: Custom Formatter