Package | Description |
---|---|
info.magnolia.i18nsystem | |
info.magnolia.i18nsystem.proxytoys | |
info.magnolia.i18nsystem.tools |
Modifier and Type | Class and Description |
---|---|
class |
AbstractI18nKeyGenerator<T>
Abstract implementation of
I18nKeyGenerator which provides a number of helper methods to generate keys. |
class |
NullKeyGenerator
A basic implementation of
I18nKeyGenerator which essentially just returns the undecorated value,
and warns that no I18nKeyGenerator was set for the given object. |
Modifier and Type | Method and Description |
---|---|
protected <P> I18nKeyGenerator<P> |
AbstractI18nKeyGenerator.getKeyGenerator(P obj)
Returns the
I18nKeyGenerator s corresponding to the given object. |
protected <C> I18nKeyGenerator |
AbstractI18nKeyGenerator.getRootKeyGenerator(C obj)
Returns the
I18nKeyGenerator s corresponding to the root object of the given object. |
protected static I18nKeyGenerator |
I18nKeyGeneratorFactory.newKeyGenerator(I18nable i18nable) |
static <T> I18nKeyGenerator<T> |
I18nKeyGeneratorFactory.newKeyGeneratorFor(T obj) |
Modifier and Type | Method and Description |
---|---|
protected <C> List<I18nKeyGenerator> |
AbstractI18nKeyGenerator.getAncestorKeyGenerators(C obj)
Returns the
I18nKeyGenerator s corresponding to the parent objects of the given object. |
Modifier and Type | Method and Description |
---|---|
protected <T> I18nTextMethodDecorator<T> |
ProxytoysI18nizer.newI18nTextMethodDecorator(I18nKeyGenerator<T> keyGen) |
Constructor and Description |
---|
I18nTextMethodDecorator(TranslationService translationService,
LocaleProvider localeProvider,
I18nKeyGenerator keyGenerator) |
Modifier and Type | Method and Description |
---|---|
protected <T> I18nTextMethodDecorator<T> |
ToolingProxytoysI18nizer.newI18nTextMethodDecorator(I18nKeyGenerator<T> keyGen) |
Copyright © 2003–2015 Magnolia International Ltd.. All rights reserved.