@Retention(value=RUNTIME) @Target(value=METHOD) @API(status=STABLE) public @interface DataTableType
The signature of the method is used to determine which data table type is registered:
String -> Author
will register a TableCellTransformer
Map<String, String> -> Author
will register a TableEntryTransformer
List<String> -> Author
will register a TableRowTransformer
DataTable -> Author
will register a TableTransformer
Author
is an example of the class you want to convert the table to.DataTableType
Modifier and Type | Optional Element and Description |
---|---|
String[] |
replaceWithEmptyString
Replace these strings in the Datatable with empty strings.
|
public abstract String[] replaceWithEmptyString
A data table can only represent absent and non-empty strings. By replacing a known value (for example [empty]) a data table can also represent empty strings.
It is not recommended to use multiple replacements in the same table.
Copyright © 2020. All rights reserved.