T- the type of Object this
I18nKeyGeneratorgenerates keys for.
public interface I18nKeyGenerator<T>
I18nKeyGeneratoris responsible for deriving i18n keys for any given instance of T.
|Modifier and Type||Method and Description|
Generates the possible keys for the given
since 5.4.5. Will be removed in a future version
String keysFor(String undecoratedResult, T object, AnnotatedElement el)
undecoratedResult- the value returned by the undecorated underlying method call. It is generally expected that this value will be part of the returned keys, such that an object with an explicitly configured key or label will be translated using that value rather than derived keys.
el- the element being translated - typically a
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.