mondrian.spi
Interface CellFormatter

All Known Subinterfaces:
CellFormatter
All Known Implementing Classes:
UdfTest.FooBarCellFormatter

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 and hashCode methods so that the different CellFormatters are not treated as being the same in a Collection.


Method Summary
 String formatCell(Object value)
          Formats a cell value.
 

Method Detail

formatCell

String formatCell(Object value)
Formats a cell value.

Parameters:
value - Cell value
Returns:
the formatted value

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads