| com.flexive.shared.value.renderer.FxValueRenderer
All known Subclasses: com.flexive.shared.value.renderer.FxValueRendererImpl,
FxValueRenderer | public interface FxValueRenderer (Code) | | A locale-specific renderer for FxValue objects.
author: Daniel Lichtenberger (daniel.lichtenberger@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at) version: $Rev: 181 $ |
format | String format(FxValue value)(Code) | | Formats the given value in the renderer's locale. If value is
multi-lingual, then the translation in the renderer's locale is used.
If no translation is available, the default translation is used
(see
com.flexive.shared.value.FxValue.getBestTranslation }).
Parameters: value - the value to be formatted the formatted value |
format | String format(FxValue value, FxLanguage translationLanguage)(Code) | | Formats the given value in the renderer's locale. If value is multi-lingual,
then the translation for the given translationLanguage is used.
If no translation is available, the default translation is used
(see
com.flexive.shared.value.FxValue.getBestTranslation }).
Parameters: value - the value to be formatted Parameters: translationLanguage - the translation which should be retrieved from the value the formatted value |
render | FxValueRenderer render(Writer out, FxValue value, FxLanguage translationLanguage) throws IOException(Code) | | Renders the given value in the renderer's locale to the output writer. If value is
multi-lingual, then the translation for the given translationLanguage is used.
If no translation is available, the default translation is used
(see
com.flexive.shared.value.FxValue.getBestTranslation }).
Parameters: out - the output writer Parameters: value - the value to be rendered Parameters: translationLanguage - the translation which should be retrieved from the value the FxValueRenderer instance throws: java.io.IOException - if the value could not be written |
|
|