|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- the type of Object this I18nKeyGenerator
generates keys for.public interface I18nKeyGenerator<T>
An I18nKeyGenerator
is responsible for deriving i18n keys for any given instance of T.
AbstractI18nKeyGenerator
Method Summary | |
---|---|
String[] |
keysFor(String undecoratedResult,
T object,
AnnotatedElement el)
Generates the possible keys for the given |
String |
messageBundleNameFor(T object)
If |
Method Detail |
---|
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 Method
instance.String messageBundleNameFor(T object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |