Interface LocalisedString

    • Method Detail

      • toLocalisedString

        Object toLocalisedString​(LocalisationFactory locFac,
                                 Locale loc)
        Gets the localised representation of the implementing object. The localisation should be for the designated locale, model objects being Localised should use the designated localisation factory for automatic localisation.
        Parameters:
        locFac - The localisation factory to be used by Localised model objects. If this is null, do not localise the used Localised attributes.
        loc - The locale for which to get the localised string. If this is null, treat it like Locale.ROOT has been requested.
        Returns:
        The localised (string) representation of the implementing object for the designated locale using the designated localisation factory if appropriate.