mondrian.olap
Interface CellFormatter

All Known Implementing Classes:
FooBarCellFormatter

public interface CellFormatter

This interface provides a user exit to format the cell value to be displayed. 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.

It is important that different CellFormatter's, CellFormatter that will be used to format different Measures in different ways, implement the equals and hashCode methods so that the different CellFormatter are not treated as being the same in a java.util.Collection.


Method Summary
 String formatCell(Object value)
          user provided cell formatting function
 

Method Detail

formatCell

String formatCell(Object value)
user provided cell formatting function

Parameters:
value -
Returns:
the formatted value

SourceForge.net_Logo