A B C D F G H I K L M N P R S T 

A

AbstractI18nKeyGenerator<T> - Class in info.magnolia.i18nsystem
Abstract implementation of I18nKeyGenerator which provides a number of helper methods to generate keys.
AbstractI18nKeyGenerator() - Constructor for class info.magnolia.i18nsystem.AbstractI18nKeyGenerator
 
AbstractRemoveHardcodedI18nPropertiesTask - Class in info.magnolia.i18nsystem.setup
Removes some well-known deprecated i18n properties whose keys are now generated via the I18nizer mechanism.
AbstractRemoveHardcodedI18nPropertiesTask(String, String) - Constructor for class info.magnolia.i18nsystem.setup.AbstractRemoveHardcodedI18nPropertiesTask
 
AbstractRemoveHardcodedI18nPropertiesTask(String, String, List<String>) - Constructor for class info.magnolia.i18nsystem.setup.AbstractRemoveHardcodedI18nPropertiesTask
 
addKey(List<String>, String...) - Method in class info.magnolia.i18nsystem.AbstractI18nKeyGenerator
Adds a key to the given list; if the last part is "label", adds another key with it.
AnnotationUtils - Class in info.magnolia.i18nsystem.util
Utility methods to retrieve annotations.
AnnotationUtils() - Constructor for class info.magnolia.i18nsystem.util.AnnotationUtils
 
apply(Method) - Method in class info.magnolia.i18nsystem.proxytoys.MethodsAnnotatedWith
 
apply(Method) - Method in class info.magnolia.i18nsystem.proxytoys.ReturnsAnnotatedTypeArgument
 

B

beforeMethodStarts(T, Method, Object[]) - Method in class info.magnolia.i18nsystem.proxytoys.FilteringMethodDecorator
 

C

ContextLocaleProvider - Class in info.magnolia.i18nsystem
A default implementation of LocaleProvider which uses Context.getLocale() to provide the current Locale.
ContextLocaleProvider(Context) - Constructor for class info.magnolia.i18nsystem.ContextLocaleProvider
 

D

decorate(C) - Method in interface info.magnolia.i18nsystem.I18nizer
 
decorate(String, T, Method) - Method in class info.magnolia.i18nsystem.proxytoys.I18nTextMethodDecorator
 
decorate(C) - Method in class info.magnolia.i18nsystem.proxytoys.ProxytoysI18nizer
 
decorateChild(C, P) - Method in class info.magnolia.i18nsystem.proxytoys.ProxytoysI18nizer
 
decorateI18nTextMethods(T, Class<T>, Class...) - Method in class info.magnolia.i18nsystem.proxytoys.ProxytoysI18nizer
 
decorateI18nTextMethods(T, Class<T>, Class[], Decorator<T>) - Method in class info.magnolia.i18nsystem.proxytoys.ProxytoysI18nizer
 
decorateInvocationException(T, Method, Object[], Exception) - Method in class info.magnolia.i18nsystem.proxytoys.FilteringMethodDecorator
 
decorateResult(T, Method, Object[], Object) - Method in class info.magnolia.i18nsystem.proxytoys.FilteringMethodDecorator
 
decorateResult(T, Method, Object[], Object) - Method in class info.magnolia.i18nsystem.proxytoys.I18nTextMethodDecorator
 
decorateTargetException(T, Method, Object[], Throwable) - Method in class info.magnolia.i18nsystem.proxytoys.FilteringMethodDecorator
 
DefaultMessageBundlesLoader - Class in info.magnolia.i18nsystem
Loads global message bundles from /mgnl-i18n/.
DefaultMessageBundlesLoader() - Constructor for class info.magnolia.i18nsystem.DefaultMessageBundlesLoader
 
DEPRECATED_I18N_PROPERTIES - Static variable in class info.magnolia.i18nsystem.setup.AbstractRemoveHardcodedI18nPropertiesTask
 
doExecute(InstallContext) - Method in class info.magnolia.i18nsystem.setup.AbstractRemoveHardcodedI18nPropertiesTask
 

F

fieldOrGetterName(AnnotatedElement) - Method in class info.magnolia.i18nsystem.AbstractI18nKeyGenerator
Returns the name of the field or method passed to I18nKeyGenerator#keysFor(String, T, java.lang.reflect.AnnotatedElement).
FilteringMethodDecorator<T> - Class in info.magnolia.i18nsystem.proxytoys
A Decorator which delegates to another only for methods accepted by the given Predicate.
FilteringMethodDecorator(Decorator<T>, Predicate<Method>) - Constructor for class info.magnolia.i18nsystem.proxytoys.FilteringMethodDecorator
 
FixedLocaleProvider - Class in info.magnolia.i18nsystem
A LocaleProvider provider that simply returns the Locale it was passed in its constructor.
FixedLocaleProvider(Locale) - Constructor for class info.magnolia.i18nsystem.FixedLocaleProvider
 
format(String, Locale, Object...) - Static method in class info.magnolia.i18nsystem.util.MessageFormatterUtils
 
format(String, Object...) - Static method in class info.magnolia.i18nsystem.util.MessageFormatterUtils
 

G

generateFor(Locale, Object) - Method in class info.magnolia.i18nsystem.tools.GenerateTranslationFilesImpl
 
GenerateTranslationFilesImpl - Class in info.magnolia.i18nsystem.tools
THIS IS A PROTOTYPE.
GenerateTranslationFilesImpl() - Constructor for class info.magnolia.i18nsystem.tools.GenerateTranslationFilesImpl
 
GeneratorResult - Interface in info.magnolia.i18nsystem.tools
Represents a "to-do" for translations.
GeneratorResult.AddKeyToNewBundle - Class in info.magnolia.i18nsystem.tools
A new key with a known text needs to be added.
GeneratorResult.AddKeyToNewBundle(Locale, String, String) - Constructor for class info.magnolia.i18nsystem.tools.GeneratorResult.AddKeyToNewBundle
 
GeneratorResult.AddUntranslatedKeyToNewBundle - Class in info.magnolia.i18nsystem.tools
A new key needs to be added and translated.
GeneratorResult.AddUntranslatedKeyToNewBundle(Locale, String) - Constructor for class info.magnolia.i18nsystem.tools.GeneratorResult.AddUntranslatedKeyToNewBundle
 
GeneratorResult.RemoveKeyFromLegacyBundle - Class in info.magnolia.i18nsystem.tools
A key needs to be removed from a bundle.
GeneratorResult.RemoveKeyFromLegacyBundle(String, String, String) - Constructor for class info.magnolia.i18nsystem.tools.GeneratorResult.RemoveKeyFromLegacyBundle
 
GeneratorResults - Class in info.magnolia.i18nsystem.tools
Holds a list of GeneratorResults for a given Locale.
GenericsUtils - Class in info.magnolia.i18nsystem.util
Utility methods to work with generics.
GenericsUtils() - Constructor for class info.magnolia.i18nsystem.util.GenericsUtils
 
get() - Method in class info.magnolia.i18nsystem.LocaleProvider
 
getActions() - Method in class info.magnolia.i18nsystem.tools.GeneratorResults
 
getAncestorKeyGenerators(C) - Method in class info.magnolia.i18nsystem.AbstractI18nKeyGenerator
Returns the I18nKeyGenerators corresponding to the parent objects of the given object.
getAncestors(C) - Method in class info.magnolia.i18nsystem.AbstractI18nKeyGenerator
Returns the list of parent objects as set via the I18nParentable interface when the object was decorated by I18nizer.
getAnnotationOn(Class, Class<A>) - Static method in class info.magnolia.i18nsystem.util.AnnotationUtils
 
getAppRelativePaths() - Method in class info.magnolia.i18nsystem.setup.AbstractRemoveHardcodedI18nPropertiesTask
Subclasses will need to implement this abstract method to provide the paths relative to the module name under which one wants to remove such properties.
getAppRelativePaths() - Method in class info.magnolia.i18nsystem.setup.RemoveHardcodedI18nPropertiesFromDialogsTask
 
getAppRelativePaths() - Method in class info.magnolia.i18nsystem.setup.RemoveHardcodedI18nPropertiesFromSubappsTask
 
getGenericParameterType(ParameterizedType) - Static method in class info.magnolia.i18nsystem.util.GenericsUtils
 
getGenericTypeOfReturnType(Method) - Static method in class info.magnolia.i18nsystem.util.GenericsUtils
Gets the generic parameter of the return type of the given method.
getI18nContextParent() - Method in interface info.magnolia.i18nsystem.I18nParentable
 
getIdOrNameForUnknownRoot(Object) - Method in class info.magnolia.i18nsystem.AbstractI18nKeyGenerator
Will try to call either getId() or getName() on a root object of unknown type.
getKeyGenerator(P) - Method in class info.magnolia.i18nsystem.AbstractI18nKeyGenerator
Returns the I18nKeyGenerators corresponding to the given object.
getLegacyMessage(Locale, String, String[]) - Method in class info.magnolia.i18nsystem.tools.ToolingProxytoysI18nizer
 
getLocale() - Method in class info.magnolia.i18nsystem.ContextLocaleProvider
 
getLocale() - Method in class info.magnolia.i18nsystem.FixedLocaleProvider
 
getLocale() - Method in class info.magnolia.i18nsystem.LocaleProvider
 
getLocale() - Method in class info.magnolia.i18nsystem.tools.GeneratorResults
 
getParentViaCast(C) - Method in class info.magnolia.i18nsystem.AbstractI18nKeyGenerator
Returns the parent object that was set via the I18nParentable interface when the object was decorated by I18nizer.
getRoot(C) - Method in class info.magnolia.i18nsystem.AbstractI18nKeyGenerator
Returns the root object that of the I18nParentable hierarchy.
getRootKeyGenerator(C) - Method in class info.magnolia.i18nsystem.AbstractI18nKeyGenerator
Returns the I18nKeyGenerators corresponding to the root object of the given object.

H

handleUnknownKey(Locale, String, String[]) - Method in class info.magnolia.i18nsystem.TranslationServiceImpl
 
hasAnnotationOn(AnnotatedElement, Class<? extends Annotation>) - Static method in class info.magnolia.i18nsystem.util.AnnotationUtils
 

I

I18nable - Annotation Type in info.magnolia.i18nsystem
This annotation marks objects as internationalizable.
I18nizer - Interface in info.magnolia.i18nsystem
Internationalizes any given object.
I18nKeyGenerator<T> - Interface in info.magnolia.i18nsystem
An I18nKeyGenerator is responsible for deriving i18n keys for any given instance of T.
I18nKeyGeneratorFactory - Class in info.magnolia.i18nsystem
Provides I18nKeyGenerator for object annotated with I18nable.
I18nKeyGeneratorFactory() - Constructor for class info.magnolia.i18nsystem.I18nKeyGeneratorFactory
 
I18nModule - Class in info.magnolia.i18nsystem.module
Module config class.
I18nModule() - Constructor for class info.magnolia.i18nsystem.module.I18nModule
 
I18nParentable<P> - Interface in info.magnolia.i18nsystem
This interface should not need to be implemented.
I18nText - Annotation Type in info.magnolia.i18nsystem
This annotation marks method that return text which should be translated.
I18nTextMethodDecorator<T> - Class in info.magnolia.i18nsystem.proxytoys
The Decorator which decorates methods by delegating to the given TranslationService.
I18nTextMethodDecorator(TranslationService, LocaleProvider, I18nKeyGenerator) - Constructor for class info.magnolia.i18nsystem.proxytoys.I18nTextMethodDecorator
 
info.magnolia.i18nsystem - package info.magnolia.i18nsystem
 
info.magnolia.i18nsystem.module - package info.magnolia.i18nsystem.module
 
info.magnolia.i18nsystem.proxytoys - package info.magnolia.i18nsystem.proxytoys
 
info.magnolia.i18nsystem.setup - package info.magnolia.i18nsystem.setup
 
info.magnolia.i18nsystem.tools - package info.magnolia.i18nsystem.tools
 
info.magnolia.i18nsystem.util - package info.magnolia.i18nsystem.util
 
injectParentableInterface(Class<? extends T>, T, P) - Method in class info.magnolia.i18nsystem.proxytoys.ProxytoysI18nizer
 
interceptGetters(T, Class<T>) - Method in class info.magnolia.i18nsystem.proxytoys.ProxytoysI18nizer
 
isDebug() - Method in class info.magnolia.i18nsystem.module.I18nModule
 
isProxied(Class<?>) - Method in class info.magnolia.i18nsystem.proxytoys.ProxytoysI18nizer
 
isValidLocale(Locale) - Static method in class info.magnolia.i18nsystem.util.LocaleUtils
 

K

keyify(String...) - Method in class info.magnolia.i18nsystem.AbstractI18nKeyGenerator
Makes up a key from the given parts.
keysFor(String, T, AnnotatedElement) - Method in class info.magnolia.i18nsystem.AbstractI18nKeyGenerator
keysFor(List<String>, T, AnnotatedElement) - Method in class info.magnolia.i18nsystem.AbstractI18nKeyGenerator
 
keysFor(String, T, AnnotatedElement) - Method in interface info.magnolia.i18nsystem.I18nKeyGenerator
Generates the possible keys for the given object's annotated element.
keysFor(String, Object, AnnotatedElement) - Method in class info.magnolia.i18nsystem.NullKeyGenerator
 

L

LocaleProvider - Class in info.magnolia.i18nsystem
Provides a Locale to the TranslationService.
LocaleProvider() - Constructor for class info.magnolia.i18nsystem.LocaleProvider
 
LocaleUtils - Class in info.magnolia.i18nsystem.util
Utility methods to work with Locale objects.
LocaleUtils() - Constructor for class info.magnolia.i18nsystem.util.LocaleUtils
 

M

messageBundleNameFor(T) - Method in class info.magnolia.i18nsystem.AbstractI18nKeyGenerator
 
messageBundleNameFor(T) - Method in interface info.magnolia.i18nsystem.I18nKeyGenerator
If has a property that can be used to determine the bundle name (i18nBasename), return that.
messageBundleNameFor(Object) - Method in class info.magnolia.i18nsystem.NullKeyGenerator
 
MessageFormatterUtils - Class in info.magnolia.i18nsystem.util
Utility methods for message formatting.
MessageFormatterUtils() - Constructor for class info.magnolia.i18nsystem.util.MessageFormatterUtils
 
MethodsAnnotatedWith - Class in info.magnolia.i18nsystem.proxytoys
A Predicate which matches method where the method itself is annotated with the given annotation.
MethodsAnnotatedWith(Class<? extends Annotation>) - Constructor for class info.magnolia.i18nsystem.proxytoys.MethodsAnnotatedWith
 

N

newI18nTextMethodDecorator(I18nKeyGenerator<T>) - Method in class info.magnolia.i18nsystem.proxytoys.ProxytoysI18nizer
 
newI18nTextMethodDecorator(I18nKeyGenerator<T>) - Method in class info.magnolia.i18nsystem.tools.ToolingProxytoysI18nizer
 
newKeyGenerator(I18nable) - Static method in class info.magnolia.i18nsystem.I18nKeyGeneratorFactory
 
newKeyGeneratorFor(T) - Static method in class info.magnolia.i18nsystem.I18nKeyGeneratorFactory
 
NullKeyGenerator - Class in info.magnolia.i18nsystem
A basic implementation of I18nKeyGenerator which essentially just returns the undecorated value, and warns that no I18nKeyGenerator was set for the given object.
NullKeyGenerator() - Constructor for class info.magnolia.i18nsystem.NullKeyGenerator
 

P

parseFromFilename(String, Locale) - Static method in class info.magnolia.i18nsystem.util.LocaleUtils
 
ProxytoysI18nizer - Class in info.magnolia.i18nsystem.proxytoys
A implementation of I18nizer based on ProxyToys, using proxies to decorate the given objects.
ProxytoysI18nizer(TranslationService, LocaleProvider) - Constructor for class info.magnolia.i18nsystem.proxytoys.ProxytoysI18nizer
 

R

reloadMessageBundles() - Method in interface info.magnolia.i18nsystem.TranslationService
Allows to reload all the message bundles - useful in development.
reloadMessageBundles() - Method in class info.magnolia.i18nsystem.TranslationServiceImpl
 
RemoveHardcodedI18nPropertiesFromDialogsTask - Class in info.magnolia.i18nsystem.setup
Removes deprecated i18n properties from all dialogs under this app.
RemoveHardcodedI18nPropertiesFromDialogsTask(String) - Constructor for class info.magnolia.i18nsystem.setup.RemoveHardcodedI18nPropertiesFromDialogsTask
 
RemoveHardcodedI18nPropertiesFromSubappsTask - Class in info.magnolia.i18nsystem.setup
Removes deprecated i18n properties from all subapps under this app.
RemoveHardcodedI18nPropertiesFromSubappsTask(String) - Constructor for class info.magnolia.i18nsystem.setup.RemoveHardcodedI18nPropertiesFromSubappsTask
 
resolveLocale(String) - Method in class info.magnolia.i18nsystem.DefaultMessageBundlesLoader
 
resolveMessageBundleNameUpwards(Object) - Method in class info.magnolia.i18nsystem.AbstractI18nKeyGenerator
Protected only to be able to test - ancestors should NOT override this method, unless they have very good reason to do this.
ReturnsAnnotatedTypeArgument - Class in info.magnolia.i18nsystem.proxytoys
A Predicate which matches methods which are "getter"s where the return value's type is annotated with the given annotation.
ReturnsAnnotatedTypeArgument(Class<? extends Annotation>) - Constructor for class info.magnolia.i18nsystem.proxytoys.ReturnsAnnotatedTypeArgument
 

S

setDebug(boolean) - Method in class info.magnolia.i18nsystem.module.I18nModule
 
setupMessageBundles() - Method in class info.magnolia.i18nsystem.TranslationServiceImpl
 
SimpleTranslator - Class in info.magnolia.i18nsystem
A convenience component around TranslationService and LocaleProvider for getting messages based on a single, well-known, key.
SimpleTranslator(TranslationService, LocaleProvider) - Constructor for class info.magnolia.i18nsystem.SimpleTranslator
 

T

ToolingProxytoysI18nizer - Class in info.magnolia.i18nsystem.tools
A I18nizer which keeps track of translation attempts and figures out new/replacement keys (for example if a configured key exists, it can suggest to remove the configuration and replace the key with a generated one).
ToolingProxytoysI18nizer(TranslationService, LocaleProvider) - Constructor for class info.magnolia.i18nsystem.tools.ToolingProxytoysI18nizer
 
ToolingProxytoysI18nizer(GeneratorResults, Locale, TranslationService) - Constructor for class info.magnolia.i18nsystem.tools.ToolingProxytoysI18nizer
For manual invocations - see GenerateTranslationFilesImpl.
translate(String, Object...) - Method in class info.magnolia.i18nsystem.SimpleTranslator
 
translate(LocaleProvider, String[]) - Method in interface info.magnolia.i18nsystem.TranslationService
 
translate(LocaleProvider, String, String[]) - Method in interface info.magnolia.i18nsystem.TranslationService
Deprecated.
should not be using a basename. Currently in use for backwards compatibility.
translate(LocaleProvider, String[]) - Method in class info.magnolia.i18nsystem.TranslationServiceImpl
 
translate(LocaleProvider, String, String[]) - Method in class info.magnolia.i18nsystem.TranslationServiceImpl
 
TranslationService - Interface in info.magnolia.i18nsystem
The TranslationService is responsible for getting translated text corresponding to the given Locale, basename and keys.
TranslationServiceImpl - Class in info.magnolia.i18nsystem
A TranslationService which relies on a "global" message bundle, as loaded per DefaultMessageBundlesLoader.
TranslationServiceImpl(Provider<I18nModule>) - Constructor for class info.magnolia.i18nsystem.TranslationServiceImpl
 
TranslationServiceImpl() - Constructor for class info.magnolia.i18nsystem.TranslationServiceImpl
A B C D F G H I K L M N P R S T 

Copyright © 2003–2016 Magnolia International Ltd.. All rights reserved.