Package mondrian.spi
Interface CellFormatter
-
- All Known Subinterfaces:
CellFormatter
public interface CellFormatter
An SPI to format the cell values.The user registers the CellFormatter's full class name as an attribute of a Measure in the schema file. A single instance of the CellFormatter is created for the Measure.
Since CellFormatters will be used to format different Measures in different ways, you must implement the
equals
andhashCode
methods so that the different CellFormatters are not treated as being the same in aCollection
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
formatCell(Object value)
Formats a cell value.
-