R
- row typeC
- cell typepublic class DefaultExportValueFunction<R,C> extends java.lang.Object implements ExportValueFunction<R,C>
null
values will be exported as null
Whole number values will be exported as BigInteger
Decimal values will be exported as BigDecimal
Date
values will be exported as Date
all other values will be exported as String
Constructor and Description |
---|
DefaultExportValueFunction(@NonNull XGridColumn<R,C> column) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
apply(R row,
C cellValue)
Apply the function on the value
|
public DefaultExportValueFunction(@NonNull XGridColumn<R,C> column)
column
- the columnpublic java.lang.Object apply(R row, C cellValue)
ExportValueFunction
apply
in interface ExportValueFunction<R,C>
row
- the rowcellValue
- the cell