Interface FxValueFormatter<DataType,ValueType extends FxValue<DataType,ValueType>>

public interface FxValueFormatter<DataType,ValueType extends FxValue<DataType,ValueType>>

Interface for a FxValue formatter. Formatters provide a datatype-specific and locale-specific way for rendering FxValue instances to the user interface. Formatters are usually not instantiated directly, but used by a FxValueRenderer to format FxValues. A FxValueRenderer for a given language can be retrieved using the FxValueRendererFactory.

$Rev: 2906 $
Daniel Lichtenberger (, UCS - unique computing solutions gmbh (

Method Summary
 java.lang.String format(ValueType container, DataType value, FxLanguage outputLanguage)
          Formats a FxValue object.

Method Detail


java.lang.String format(ValueType container,
                        DataType value,
                        FxLanguage outputLanguage)
Formats a FxValue object.

container - the FxValue container object
value - the value to be formatted.
outputLanguage - the language to be used for rendering the value. This may or may not be the language for which the value was stored in the FxValue container.
the formatted value