Interface DRIValueFormatter<T,U>
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AbstractValueFormatter
,BooleanTextValueFormatter
The purpose of this expression is to format a value only.
For instance, when it is necessary to display a currency next to the value or just show a value in another format.
It can be applied in any report column, group, subtotal, or text field component.
For instance, when it is necessary to display a currency next to the value or just show a value in another format.
It can be applied in any report column, group, subtotal, or text field component.
- Author:
- Ricardo Mariaca
-
Method Summary
Modifier and TypeMethodDescriptionformat
(U value, ReportParameters reportParameters) Evaluates the format expression.getValueClass.
-
Method Details
-
format
Evaluates the format expression.- Parameters:
value
- the value to be formattedreportParameters
- access to report fields, variables, parameters, expressions, and other report values- Returns:
- the formatted value
-
getValueClass
getValueClass.
- Returns:
- a
Class
object.
-