LocalizedAttributeMap

A map of attribute values per locale that can be used attribute-based message formatters.

Constructors

Link copied to clipboard
constructor(vararg attributes: Triple<String, Locale, String>)

Uses a list of triples: attribute name, locale, value

constructor(attributes: Map<String, Map<Locale, String>>)

Functions

Link copied to clipboard
open override fun getAttribute(attributeName: CharSequence, locale: Locale?): String?

Returns the value of the attribute with the given name in the given locale or null if the attribute value is not defined for the locale.