Package nz.org.riskscape.engine.i18n
Interface ObjectRenderer
- All Superinterfaces:
PluginFeature
Allows plugins to define custom 'toString' rules for generating a localized string representation of an object, in addition to the defaults.
-
Method Summary
-
Method Details
-
render
Generate a localized string for an object
- Parameters:
messages- the i18n subsystem - used for looking upMessageSourcesobject- the object to turn in to a stringlocale- the locale to print it out in- Returns:
- a string, or null if it couldn't be translated.
-