Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractI18nContextProvider - Class in dev.orne.i18n.context
-
Abstract implementation of
I18nContextProvider
. - AbstractI18nContextProvider(AbstractI18nContextProvider.BuilderImpl<?, ?>) - Constructor for class dev.orne.i18n.context.AbstractI18nContextProvider
-
Creates a new instance based on specified builder.
- AbstractI18nContextProvider.BuilderImpl<T extends AbstractI18nContextProvider,
B extends AbstractI18nContextProvider.BuilderImpl<T, B>> - Class in dev.orne.i18n.context -
Abstract builder of I18N context provider instances.
- AbstractValidatorForI18nString<T extends Annotation> - Class in dev.orne.i18n.validation
-
Abstract implementation of Javax Bean Validation
ConstraintValidator
forI18nString
instances. - AbstractValidatorForI18nString() - Constructor for class dev.orne.i18n.validation.AbstractValidatorForI18nString
-
Creates a new instance.
- addI18nResources(String, I18nResources) - Method in class dev.orne.i18n.context.AbstractI18nContextProvider.BuilderImpl
-
Adds alternative I18N resources to be used when the specified key is used.
- addI18nResources(String, I18nResources) - Method in interface dev.orne.i18n.context.I18nContextProvider.Builder
-
Adds alternative I18N resources to be used when the specified key is used.
- addI18nResources(String, I18nResources) - Method in interface dev.orne.i18n.context.SharedI18nContextProvider.Builder
-
Adds alternative I18N resources to be used when the specified key is used.
- addI18nResources(String, I18nResources) - Method in interface dev.orne.i18n.context.ThreadI18nContextProvider.Builder
-
Adds alternative I18N resources to be used when the specified key is used.
- addI18nResources(String, I18nResources) - Method in interface dev.orne.i18n.spring.I18nSpringContextProvider.Builder
-
Adds alternative I18N resources to be used when the specified key is used.
- addI18nResources(String, MessageSource) - Method in interface dev.orne.i18n.spring.I18nSpringContextProvider.Builder
-
Adds alternative I18N resources to be used when the specified key is used.
- addI18nResources(String, MessageSource) - Method in class dev.orne.i18n.spring.I18nSpringContextProvider.BuilderImpl
-
Adds alternative I18N resources to be used when the specified key is used.
- afterPropertiesSet() - Method in class dev.orne.i18n.spring.I18nSpringConfiguration
-
Sets the configured
I18nContextProvider
for the configuredClassLoader
. - asMap() - Method in class dev.orne.i18n.I18nFixedString
-
Returns this instance represented as an
I18nStringMap
instance. - asMap() - Method in class dev.orne.i18n.I18nResourcesString
-
Returns this instance represented as an
I18nStringMap
instance. - asMap() - Method in interface dev.orne.i18n.I18nString
-
Returns this instance represented as an
I18nStringMap
instance. - asMap() - Method in class dev.orne.i18n.I18nStringMap
-
Returns this instance represented as an
I18nStringMap
instance. - AVAILABLE_LANGUAGES - Static variable in class dev.orne.i18n.context.I18nConfiguration
-
The configuration property for comma separated available languages.
- availableLocales - Variable in class dev.orne.i18n.context.AbstractI18nContextProvider.BuilderImpl
-
The supported languages.
B
- build() - Method in interface dev.orne.i18n.context.I18nContextProvider.Builder
-
Builds an immutable I18N context provider instance with the current configuration of this builder.
- build() - Method in interface dev.orne.i18n.context.SharedI18nContextProvider.Builder
-
Builds an immutable I18N context provider instance with the current configuration of this builder.
- build() - Method in class dev.orne.i18n.context.SharedI18nContextProvider.BuilderImpl
-
Builds an immutable I18N context provider instance with the current configuration of this builder.
- build() - Method in interface dev.orne.i18n.context.ThreadI18nContextProvider.Builder
-
Builds an immutable I18N context provider instance with the current configuration of this builder.
- build() - Method in class dev.orne.i18n.context.ThreadI18nContextProvider.BuilderImpl
-
Builds an immutable I18N context provider instance with the current configuration of this builder.
- build() - Method in class dev.orne.i18n.I18nResourcesString.Builder
-
Builds a
I18nResourcesString
with the configured properties. - build() - Method in interface dev.orne.i18n.spring.I18nSpringContextProvider.Builder
-
Builds an immutable I18N context provider instance with the current configuration of this builder.
- build() - Method in class dev.orne.i18n.spring.I18nSpringContextProvider.BuilderImpl
-
Builds an immutable I18N context provider instance with the current configuration of this builder.
- builder() - Static method in class dev.orne.i18n.context.SharedI18nContextProvider
-
Creates a new
SharedI18nContextProvider
instances builder. - builder() - Static method in class dev.orne.i18n.context.ThreadI18nContextProvider
-
Creates a new
ThreadI18nContextProvider
instances builder. - builder() - Static method in class dev.orne.i18n.spring.I18nSpringContextProvider
-
Creates a new
I18nSpringContextProvider
instances builder. - Builder(String) - Constructor for class dev.orne.i18n.I18nResourcesString.Builder
-
Creates a new
I18nResourcesString
builder with the specified default text. - BuilderImpl() - Constructor for class dev.orne.i18n.context.AbstractI18nContextProvider.BuilderImpl
-
Creates a new instance.
- BuilderImpl() - Constructor for class dev.orne.i18n.context.SharedI18nContextProvider.BuilderImpl
-
Creates a new instance.
- BuilderImpl() - Constructor for class dev.orne.i18n.context.ThreadI18nContextProvider.BuilderImpl
-
Creates a new instance.
- BuilderImpl() - Constructor for class dev.orne.i18n.spring.I18nSpringContextProvider.BuilderImpl
-
Creates a new instance.
C
- classLoader() - Element in annotation type dev.orne.i18n.spring.EnableI18N
-
Returns the class whom
ClassLoader
to apply the configuration to. - clearContext() - Method in interface dev.orne.i18n.context.I18nContextProvider
-
Clears the I18N context for the current thread.
- clearContext() - Method in class dev.orne.i18n.context.SharedI18nContextProvider
-
Clears the I18N context for the current thread.
- clearContext() - Method in class dev.orne.i18n.context.ThreadI18nContextProvider
-
Clears the I18N context for the current thread.
- clearContext() - Method in class dev.orne.i18n.spring.I18nSpringContextProvider
- CLEARER_BEAN_NAME - Static variable in class dev.orne.i18n.spring.I18nSpringWebConfiguration
-
The I18N context clearer
- configure() - Method in interface dev.orne.i18n.context.I18nContextProvider.Builder
-
Configures the builder with I18N configuration for the current class loader.
- configure() - Method in interface dev.orne.i18n.context.SharedI18nContextProvider.Builder
-
Configures the builder with I18N configuration for the current class loader.
- configure() - Method in interface dev.orne.i18n.context.ThreadI18nContextProvider.Builder
-
Configures the builder with I18N configuration for the current class loader.
- configure() - Method in interface dev.orne.i18n.spring.I18nSpringContextProvider.Builder
-
Configures the builder with I18N configuration for the current class loader.
- configure(Properties) - Method in class dev.orne.i18n.context.AbstractI18nContextProvider.BuilderImpl
-
Configures the builder with specified I18N configuration.
- configure(Properties) - Method in interface dev.orne.i18n.context.I18nContextProvider.Builder
-
Configures the builder with specified I18N configuration.
- configure(Properties) - Method in interface dev.orne.i18n.context.SharedI18nContextProvider.Builder
-
Configures the builder with specified I18N configuration.
- configure(Properties) - Method in interface dev.orne.i18n.context.ThreadI18nContextProvider.Builder
-
Configures the builder with specified I18N configuration.
- configure(Properties) - Method in class dev.orne.i18n.context.ThreadI18nContextProvider.BuilderImpl
-
Configures the builder with specified I18N configuration.
- configure(Properties) - Method in interface dev.orne.i18n.spring.I18nSpringContextProvider.Builder
-
Configures the builder with specified I18N configuration.
- configureAlternativeI18nResources(Properties) - Method in class dev.orne.i18n.context.AbstractI18nContextProvider.BuilderImpl
-
Configures the alternative I18N resources based on specified configuration.
- configureAvailableLocalesSupplier(Properties) - Method in class dev.orne.i18n.context.AbstractI18nContextProvider.BuilderImpl
-
Configures the supported languages based on specified configuration.
- configureDefaultI18nResources(Properties) - Method in class dev.orne.i18n.context.AbstractI18nContextProvider.BuilderImpl
-
Configures the default I18N resources based on specified configuration.
- configureDefaultLocaleSupplier(Properties) - Method in class dev.orne.i18n.context.AbstractI18nContextProvider.BuilderImpl
-
Configures the default language based on specified configuration.
- configureI18nContextProvider(I18nSpringContextProvider.Builder) - Method in interface dev.orne.i18n.spring.I18nSpringConfigurer
-
Configure the I18N context provider configuration.
- configureInheritable(Properties) - Method in class dev.orne.i18n.context.ThreadI18nContextProvider.BuilderImpl
-
Configures the default language based on specified configuration.
- CONTEXT_INHERITED - Static variable in class dev.orne.i18n.context.I18nConfiguration
-
The configuration property for
I18nContex
inheritance by child threads in per-thread based context providers. - CONTEXT_PROVIDER - Static variable in class dev.orne.i18n.context.I18nConfiguration
-
The configuration property for
I18nContextProvider
implementation to use. - convert(I18nString) - Method in interface dev.orne.i18n.I18nStringConverter
-
Converts the specified
I18nString
to an instance of the desiredI18nString
subtype. - create(Properties) - Method in interface dev.orne.i18n.context.I18nContextProviderFactory
-
Creates and configures a new I18N context provider based on the specified configuration.
- create(Properties) - Method in class dev.orne.i18n.context.SharedI18nContextProvider.Factory
-
Creates and configures a new I18N context provider based on the specified configuration.
- create(Properties) - Method in class dev.orne.i18n.context.ThreadI18nContextProvider.Factory
-
Creates and configures a new I18N context provider based on the specified configuration.
- createContext() - Method in class dev.orne.i18n.context.AbstractI18nContextProvider
-
Creates a new I18N context with default values.
- createContext() - Method in class dev.orne.i18n.spring.I18nSpringContextProvider
-
Creates a new I18N context with default values.
- createContext(I18nContext) - Method in class dev.orne.i18n.context.AbstractI18nContextProvider
-
Creates a new I18N context with values inherited from the specified parent I18N context.
- createContext(I18nContext) - Method in class dev.orne.i18n.spring.I18nSpringContextProvider
-
Creates a new I18N context with values inherited from the specified parent I18N context.
- createContextProvider() - Method in class dev.orne.i18n.spring.I18nSpringConfiguration
-
Creates a new
I18nSpringContextProvider
based on configured properties. - createContextual(DeserializationContext, BeanProperty) - Method in class dev.orne.i18n.I18nStringJacksonDeserializer
- createContextual(SerializerProvider, BeanProperty) - Method in class dev.orne.i18n.I18nStringJacksonSerializer
- createTranslation() - Method in class dev.orne.i18n.jaxb.ObjectFactory
-
Create an instance of
XmlI18nStringTranslation
. - createXmlI18NString() - Method in class dev.orne.i18n.jaxb.ObjectFactory
-
Create an instance of
XmlI18nString
.
D
- DEFAULT_CONFIGURER - Static variable in class dev.orne.i18n.spring.I18nSpringConfiguration
-
The default I18N context provider configuration customizer.
- DEFAULT_LANGUAGE - Static variable in class dev.orne.i18n.context.I18nConfiguration
-
The configuration property for default language.
- DEFAULT_RESOURCES - Static variable in class dev.orne.i18n.context.I18nConfiguration
-
The configuration property for default
I18nResources
bundle base name. - DefaultI18nContext - Class in dev.orne.i18n.context
-
Default implementation of
I18nContext
. - DefaultI18nContext(DefaultI18nContext) - Constructor for class dev.orne.i18n.context.DefaultI18nContext
-
Copy constructor.
- DefaultI18nContext(UUID) - Constructor for class dev.orne.i18n.context.DefaultI18nContext
-
Creates a new instance.
- defaultI18nResources - Variable in class dev.orne.i18n.context.AbstractI18nContextProvider.BuilderImpl
-
The default I18N resources.
- defaultLocaleSupplier - Variable in class dev.orne.i18n.context.AbstractI18nContextProvider.BuilderImpl
-
The default language supplier.
- defaultValue(StringGenerationParameters) - Method in class dev.orne.i18n.I18nFixedStringGenerator
- defaultValue(StringGenerationParameters) - Method in class dev.orne.i18n.I18nResourcesStringGenerator
- defaultValue(StringGenerationParameters) - Method in class dev.orne.i18n.I18nStringGenerator
- defaultValue(StringGenerationParameters) - Method in class dev.orne.i18n.I18nStringMapGenerator
- deserialize(JsonParser, DeserializationContext) - Method in class dev.orne.i18n.I18nStringJacksonDeserializer
- determineConfigurer() - Method in class dev.orne.i18n.spring.I18nSpringConfiguration
-
Determines the I18N context provider configuration customizer to apply.
- dev.orne.i18n - package dev.orne.i18n
-
Utilities for I18N support.
- dev.orne.i18n.context - package dev.orne.i18n.context
-
I18N contexts system.
- dev.orne.i18n.jaxb - package dev.orne.i18n.jaxb
-
Javax JAXB integration for I18N support.
- dev.orne.i18n.spring - package dev.orne.i18n.spring
-
Spring integration for I18N support.
- dev.orne.i18n.validation - package dev.orne.i18n.validation
-
Javax Validation integration for I18N support.
- DummyI18nResources - Class in dev.orne.i18n.context
-
Dummy implementation of
I18nResources
that always returns thedefaultMessage
, formated with passed arguments.
E
- EnableI18N - Annotation Type in dev.orne.i18n.spring
-
Annotation for I18N context provider configuration on Spring contexts Java configurations.
- equals(Object) - Method in class dev.orne.i18n.context.AbstractI18nContextProvider
- equals(Object) - Method in class dev.orne.i18n.context.DefaultI18nContext
- equals(Object) - Method in class dev.orne.i18n.context.SharedI18nContextProvider
- equals(Object) - Method in class dev.orne.i18n.context.ThreadI18nContextProvider
- equals(Object) - Method in class dev.orne.i18n.I18nFixedString
- equals(Object) - Method in class dev.orne.i18n.I18nResourcesString.Builder
- equals(Object) - Method in class dev.orne.i18n.I18nResourcesString
- equals(Object) - Method in class dev.orne.i18n.I18nStringMap
- equals(Object) - Method in class dev.orne.i18n.spring.I18nSpringContext
F
- Factory() - Constructor for class dev.orne.i18n.context.SharedI18nContextProvider.Factory
-
Creates a new instance.
- Factory() - Constructor for class dev.orne.i18n.context.ThreadI18nContextProvider.Factory
-
Creates a new instance.
- FILE - Static variable in class dev.orne.i18n.context.I18nConfiguration
-
The I18N configuration resource.
- fixed(String) - Static method in interface dev.orne.i18n.I18nString
-
Returns a
I18nFixedString
instance for the specified text. - forBasename(String) - Static method in class dev.orne.i18n.context.I18nBundleResources
-
Returns a non null I18N resources for the specified bundle base name.
- forDefault(String) - Static method in class dev.orne.i18n.I18nResourcesString
-
Creates a builder of a new instance with the specified default text.
- from(I18nString) - Static method in class dev.orne.i18n.I18nFixedString
-
Creates a new instance with the translation for the current language of the specified source
I18nString
. - from(String) - Static method in class dev.orne.i18n.I18nFixedString
-
Returns an instance for the specified text.
- fromResources(String) - Static method in interface dev.orne.i18n.I18nString
-
Creates a new
I18nResourcesString
builder with the specified default text. - fromXml(XmlI18nString) - Static method in class dev.orne.i18n.jaxb.JaxbUtils
-
Converts the specified
XmlI18NString
toI18nString
. - Full() - Constructor for class dev.orne.i18n.jaxb.I18nResourcesStringAdapter.Full
-
Creates a new instance.
- Full() - Constructor for class dev.orne.i18n.jaxb.I18nStringAdapter.Full
-
Creates a new instance.
- Full() - Constructor for class dev.orne.i18n.jaxb.I18nStringMapAdapter.Full
-
Creates a new instance.
G
- get() - Static method in class dev.orne.i18n.context.I18nConfiguration
-
Returns the I18N configuration for the current class loader.
- get() - Static method in class dev.orne.i18n.context.I18nContextProvider.Registry
-
Returns the I18N context provider for current thread context class loader.
- get() - Method in class dev.orne.i18n.I18nFixedString
-
Returns the text for the current language.
- get() - Method in class dev.orne.i18n.I18nResourcesString
-
Returns the text for the current language.
- get() - Method in interface dev.orne.i18n.I18nString
-
Returns the text for the current language.
- get() - Method in class dev.orne.i18n.I18nStringMap
-
Returns the text for the current language.
- get(ClassLoader) - Static method in class dev.orne.i18n.context.I18nConfiguration
-
Returns the I18N configuration for the specified class loader.
- get(ClassLoader) - Static method in class dev.orne.i18n.context.I18nContextProvider.Registry
-
Returns the I18N context provider for the specified class loader.
- get(String) - Method in class dev.orne.i18n.I18nFixedString
-
Returns the text for the specified language, or the default text if no translation is available.
- get(String) - Method in class dev.orne.i18n.I18nResourcesString
-
Returns the text for the specified language, or the default text if no translation is available.
- get(String) - Method in interface dev.orne.i18n.I18nString
-
Returns the text for the specified language, or the default text if no translation is available.
- get(String) - Method in class dev.orne.i18n.I18nStringMap
-
Returns the text for the specified language, or the default text if no translation is available.
- get(Locale) - Method in class dev.orne.i18n.I18nFixedString
-
Returns the text for language of the specified locale, or the default text if no translation is available.
- get(Locale) - Method in class dev.orne.i18n.I18nResourcesString
-
Returns the text for language of the specified locale, or the default text if no translation is available.
- get(Locale) - Method in interface dev.orne.i18n.I18nString
-
Returns the text for language of the specified locale, or the default text if no translation is available.
- get(Locale) - Method in class dev.orne.i18n.I18nStringMap
-
Returns the text for language of the specified locale, or the default text if no translation is available.
- getApplicationContext() - Method in class dev.orne.i18n.spring.I18nSpringConfiguration
-
Returns the Spring application context.
- getArguments() - Method in class dev.orne.i18n.I18nResourcesString.Builder
-
Returns the text arguments, applied to resolved or default text.
- getArguments() - Method in class dev.orne.i18n.I18nResourcesString
-
Returns the text arguments, applied to resolved text or default text.
- getAsText() - Method in class dev.orne.i18n.I18nStringEditor
- getAsText() - Method in class dev.orne.i18n.I18nStringMapEditor
- getAvailableLocales() - Method in class dev.orne.i18n.context.AbstractI18nContextProvider
-
Returns the supported languages.
- getAvailableLocales() - Method in interface dev.orne.i18n.context.I18nContext
-
Returns the languages supported by the application.
- getAvailableLocales() - Method in interface dev.orne.i18n.context.I18nContextProvider
-
Returns the supported languages.
- getAvailableLocales() - Static method in class dev.orne.i18n.I18N
-
Returns the languages supported by the application.
- getBundle() - Method in class dev.orne.i18n.context.I18nBundleResources
-
Returns the I18N resources bundle for the current locale.
- getBundle(Locale) - Method in class dev.orne.i18n.context.I18nBundleResources
-
Returns the I18N resources bundle for the specified locale.
- getCodes() - Method in class dev.orne.i18n.I18nResourcesString.Builder
-
Returns the I18N text codes, in order of priority.
- getCodes() - Method in class dev.orne.i18n.I18nResourcesString
-
Returns the I18N text codes, in order of priority.
- getContent() - Method in class dev.orne.i18n.jaxb.XmlI18nString
-
Gets the contents of the I18N string.
- getContext() - Method in interface dev.orne.i18n.context.I18nContextProvider
-
Return the
I18nContext
associated with the currentThread
. - getContext() - Method in class dev.orne.i18n.context.SharedI18nContextProvider
-
Return the
I18nContext
associated with the currentThread
. - getContext() - Method in class dev.orne.i18n.context.ThreadI18nContextProvider
-
Return the
I18nContext
associated with the currentThread
. - getContexts() - Method in class dev.orne.i18n.context.ThreadI18nContextProvider
-
Returns the internal
I18nContext
s perThread
container. - getConverter(Class<?>) - Method in class dev.orne.i18n.I18nStringJacksonDeserializer
-
Returns a converter that converts
I18nString
instances to the specified target type. - getDefaultI18nResources() - Method in class dev.orne.i18n.context.AbstractI18nContextProvider
-
Returns the default I18N resources.
- getDefaultI18nResources() - Method in interface dev.orne.i18n.context.I18nContextProvider
-
Returns the default I18N resources.
- getDefaultLocaleSupplier() - Method in class dev.orne.i18n.context.AbstractI18nContextProvider
-
Returns the default locale supplier.
- getDefaultText() - Method in class dev.orne.i18n.I18nResourcesString.Builder
-
Returns the default text.
- getDefaultText() - Method in class dev.orne.i18n.I18nResourcesString
-
Returns the unformatted default text.
- getDefaultText() - Method in class dev.orne.i18n.I18nStringMap
-
Returns the default text.
- getFormattedDefaultText() - Method in class dev.orne.i18n.I18nResourcesString
-
Returns the formatted default text.
- getI18n() - Method in class dev.orne.i18n.I18nStringMap
-
Returns the text translations.
- getI18nContextProviderBuilder() - Method in interface dev.orne.i18n.spring.I18nSpringConfigurer
-
Returns the I18N context provider builder to use to configure I18N context provider.
- getI18nResources() - Method in class dev.orne.i18n.context.AbstractI18nContextProvider
-
Returns the alternative I18N resources by key.
- getI18nResources() - Method in interface dev.orne.i18n.context.I18nContext
-
Returns the default I18N resources of the application.
- getI18nResources(String) - Method in class dev.orne.i18n.context.AbstractI18nContextProvider
-
Returns the I18N resources identified by the specified key.
- getI18nResources(String) - Method in interface dev.orne.i18n.context.I18nContext
-
Returns the I18N resources identified by the specified key.
- getI18nResources(String) - Method in interface dev.orne.i18n.context.I18nContextProvider
-
Returns the I18N resources identified by the specified key.
- getI18nResourcesKey() - Method in class dev.orne.i18n.I18nResourcesString.Builder
-
Returns the key of the I18N resources to use.
- getI18nResourcesKey() - Method in class dev.orne.i18n.I18nResourcesString
-
Returns the key of the I18N resources to use.
- getInstance() - Static method in class dev.orne.i18n.context.DummyI18nResources
-
Returns the shared instance.
- getInstance() - Static method in interface dev.orne.i18n.context.I18nContext
-
Return the
I18nContext
associated with the currentThread
. - getInstance() - Static method in interface dev.orne.i18n.context.I18nContextProvider
-
Returns the I18N context provider.
- getLang() - Method in class dev.orne.i18n.jaxb.XmlI18nStringTranslation
-
Gets the translation language.
- getLocale() - Method in class dev.orne.i18n.context.DefaultI18nContext
-
Returns the user's language.
- getLocale() - Method in interface dev.orne.i18n.context.I18nContext
-
Returns the user's language.
- getLocale() - Static method in class dev.orne.i18n.I18N
-
Returns the current locale.
- getLocale() - Method in class dev.orne.i18n.spring.I18nSpringContext
-
Returns the user's language.
- getMessage(String, String[], Locale, Object...) - Method in interface dev.orne.i18n.I18nResources
-
Retrieves the I18N message for the specified locale of the first message code efined in this I18N resources of specified message codes.
- getMessage(String, String[], Locale, Object...) - Method in class dev.orne.i18n.spring.I18nSpringResources
-
Retrieves the I18N message for the specified locale of the first message code efined in this I18N resources of specified message codes.
- getMessage(String, String[], Object...) - Method in interface dev.orne.i18n.I18nResources
-
Retrieves the I18N message for the specified locale of the first message code efined in this I18N resources of specified message codes.
- getMessage(String, String[], Locale, Object...) - Method in class dev.orne.i18n.context.I18nBundleResources
-
Retrieves the I18N message for the specified locale of the first message code efined in this I18N resources of specified message codes.
- getMessage(String, String, Locale, Object...) - Method in interface dev.orne.i18n.I18nResources
-
Retrieves the I18N message for the specified message code and locale.
- getMessage(String, String, Locale, Object...) - Method in class dev.orne.i18n.spring.I18nSpringResources
-
Retrieves the I18N message for the specified message code and locale.
- getMessage(String, String, Object...) - Method in interface dev.orne.i18n.I18nResources
-
Retrieves the I18N message for the specified message code and the 18N context locale.
- getMessage(String, String, Locale, Object...) - Method in class dev.orne.i18n.context.I18nBundleResources
-
Retrieves the I18N message for the specified message code and locale.
- getMessage(String, String[], Object...) - Method in class dev.orne.i18n.context.DummyI18nResources
-
Retrieves the I18N message for the specified locale of the first message code efined in this I18N resources of specified message codes.
- getMessage(String, String[], Locale, Object...) - Method in class dev.orne.i18n.context.DummyI18nResources
-
Retrieves the I18N message for the specified locale of the first message code efined in this I18N resources of specified message codes.
- getMessage(String, String, Object...) - Method in class dev.orne.i18n.context.DummyI18nResources
-
Retrieves the I18N message for the specified message code and the 18N context locale.
- getMessage(String, String, Locale, Object...) - Method in class dev.orne.i18n.context.DummyI18nResources
-
Retrieves the I18N message for the specified message code and locale.
- getMessageSource() - Method in class dev.orne.i18n.spring.I18nSpringConfiguration
-
Returns the application default
MessageSource
. - getProviderUUID() - Method in class dev.orne.i18n.context.DefaultI18nContext
-
Returns the UUID of the provider owner of this context.
- getProviderUUID() - Method in interface dev.orne.i18n.context.I18nContext
-
Returns the UUID of the provider owner of this context.
- getProviderUUID() - Method in class dev.orne.i18n.spring.I18nSpringContext
-
Returns the UUID of the provider owner of this context.
- getResources() - Static method in class dev.orne.i18n.I18N
-
Returns the default I18N resources of the application.
- getResources(String) - Static method in class dev.orne.i18n.I18N
-
Returns the I18N resources identified by the specified key.
- getSessionUUID() - Method in class dev.orne.i18n.context.AbstractI18nContextProvider
-
Returns the UUID of this provider instance and session.
- getSource() - Method in class dev.orne.i18n.spring.I18nSpringResources
-
Returns the I18N messages source.
- getTarget() - Method in class dev.orne.i18n.spring.I18nSpringConfiguration
-
Returns the
ClassLoader
this configuration will be applied to. - getType() - Method in interface dev.orne.i18n.context.I18nContextProviderFactory
-
Returns the code of I18N context provider strategy type this instance creates.
- getType() - Method in class dev.orne.i18n.context.SharedI18nContextProvider.Factory
-
Returns the code of I18N context provider strategy type this instance creates.
- getType() - Method in class dev.orne.i18n.context.ThreadI18nContextProvider.Factory
-
Returns the code of I18N context provider strategy type this instance creates.
- getValue() - Method in class dev.orne.i18n.jaxb.XmlI18nStringTranslation
-
Gets the translation text.
H
- hashCode() - Method in class dev.orne.i18n.context.AbstractI18nContextProvider
- hashCode() - Method in class dev.orne.i18n.context.DefaultI18nContext
- hashCode() - Method in class dev.orne.i18n.context.SharedI18nContextProvider
- hashCode() - Method in class dev.orne.i18n.context.ThreadI18nContextProvider
- hashCode() - Method in class dev.orne.i18n.I18nFixedString
- hashCode() - Method in class dev.orne.i18n.I18nResourcesString.Builder
- hashCode() - Method in class dev.orne.i18n.I18nResourcesString
- hashCode() - Method in class dev.orne.i18n.I18nStringMap
- hashCode() - Method in class dev.orne.i18n.spring.I18nSpringContext
I
- I18N - Class in dev.orne.i18n
-
Main entry point to I18N framework.
- I18nBundleResources - Class in dev.orne.i18n.context
-
Implementation of
I18nResources
based onResourceBundle
. - I18nBundleResources(String) - Constructor for class dev.orne.i18n.context.I18nBundleResources
-
Creates a new instance for the specified bundle.
- I18nConfiguration - Class in dev.orne.i18n.context
-
Utility class with I18N configuration constants and retrieval methods.
- I18nConfigurationException - Exception in dev.orne.i18n
-
Runtime exception when the I18N configuration is invalid.
- I18nConfigurationException() - Constructor for exception dev.orne.i18n.I18nConfigurationException
-
Constructs a new exception with
null
as its detail message. - I18nConfigurationException(String) - Constructor for exception dev.orne.i18n.I18nConfigurationException
-
Constructs a new exception with the specified detail message.
- I18nConfigurationException(String, Throwable) - Constructor for exception dev.orne.i18n.I18nConfigurationException
-
Constructs a new exception with the specified detail message and cause.
- I18nConfigurationException(String, Throwable, boolean, boolean) - Constructor for exception dev.orne.i18n.I18nConfigurationException
-
Constructs a new exception with the specified detail message, cause, suppression enabled or disabled, and writable stack trace enabled or disabled.
- I18nConfigurationException(Throwable) - Constructor for exception dev.orne.i18n.I18nConfigurationException
-
Constructs a new exception with the specified cause and a detail message of
(cause==null ? null : cause.toString())
(which typically contains the class and detail message ofcause
). - I18nContext - Interface in dev.orne.i18n.context
-
Interface for I18N context.
- I18nContextProvider - Interface in dev.orne.i18n.context
-
Provider of
I18nContext
instances. - I18nContextProvider.Builder - Interface in dev.orne.i18n.context
-
Builder of I18N context provider instances.
- I18nContextProvider.Configurer - Interface in dev.orne.i18n.context
-
Interface for configuration classes that need to set I18N context provider instances to use.
- I18nContextProvider.Registry - Class in dev.orne.i18n.context
-
The I18N context provider registry.
- I18nContextProviderFactory - Interface in dev.orne.i18n.context
-
SPI based I18N context provider factory.
- I18nFixedString - Class in dev.orne.i18n
-
Implementation of
I18nString
that doesn't contain translations. - I18nFixedStringAdapter - Class in dev.orne.i18n.jaxb
-
JAXB adapter for
I18nFixedString
instances. - I18nFixedStringAdapter() - Constructor for class dev.orne.i18n.jaxb.I18nFixedStringAdapter
-
Creates a new instance.
- I18nFixedStringGenerator - Class in dev.orne.i18n
-
Generator of
I18nFixedString
values. - I18nFixedStringGenerator() - Constructor for class dev.orne.i18n.I18nFixedStringGenerator
-
Creates a new instance.
- i18nResources - Variable in class dev.orne.i18n.context.AbstractI18nContextProvider.BuilderImpl
-
The alternative I18N resources by key.
- I18nResources - Interface in dev.orne.i18n
-
Interface for I18N messages source.
- I18nResourcesString - Class in dev.orne.i18n
-
Implementation of
I18nString
based onI18nResources
. - I18nResourcesString(String, String, String[], Serializable...) - Constructor for class dev.orne.i18n.I18nResourcesString
-
Creates a new instance.
- I18nResourcesString.Builder - Class in dev.orne.i18n
-
Builder of
I18nResourcesString
instances. - I18nResourcesStringAdapter - Class in dev.orne.i18n.jaxb
-
JAXB adapter for
I18nResourcesString
instances. - I18nResourcesStringAdapter() - Constructor for class dev.orne.i18n.jaxb.I18nResourcesStringAdapter
-
Creates a new instance.
- I18nResourcesStringAdapter.Full - Class in dev.orne.i18n.jaxb
-
JAXB adapter for
I18nResourcesString
instances that marshalls all available translations. - I18nResourcesStringGenerator - Class in dev.orne.i18n
-
Generator of
I18nResourcesString
values. - I18nResourcesStringGenerator() - Constructor for class dev.orne.i18n.I18nResourcesStringGenerator
-
Creates a new instance.
- I18nSpringConfiguration - Class in dev.orne.i18n.spring
-
I18N context provider configuration for Spring.
- I18nSpringConfiguration() - Constructor for class dev.orne.i18n.spring.I18nSpringConfiguration
-
Creates a new instance.
- I18nSpringConfigurationSelector - Class in dev.orne.i18n.spring
-
Selector of Spring configuration based on presence of
spring-web
on the classpath. - I18nSpringConfigurationSelector() - Constructor for class dev.orne.i18n.spring.I18nSpringConfigurationSelector
-
Creates a new instance.
- I18nSpringConfigurer - Interface in dev.orne.i18n.spring
-
Interface to be implemented by @
Configuration
classes annotated with @EnableI18N
that wish to customize theI18nContextProvider
instance used by the application - I18nSpringContext - Class in dev.orne.i18n.spring
-
Implementation of
I18nContext
that delegatesLocale
handling in SpringLocaleContextHolder
. - I18nSpringContext(I18nSpringContext) - Constructor for class dev.orne.i18n.spring.I18nSpringContext
-
Copy constructor.
- I18nSpringContext(UUID) - Constructor for class dev.orne.i18n.spring.I18nSpringContext
-
Creates a new instance.
- I18nSpringContextProvider - Class in dev.orne.i18n.spring
-
Implementation of
I18nContextProvider
for Spring contexts. - I18nSpringContextProvider(I18nSpringContextProvider.BuilderImpl<?, ?>) - Constructor for class dev.orne.i18n.spring.I18nSpringContextProvider
-
Creates a new instance based on specified builder.
- I18nSpringContextProvider.Builder - Interface in dev.orne.i18n.spring
-
Interface for
I18nSpringContextProvider
instance builders. - I18nSpringContextProvider.BuilderImpl<T extends I18nSpringContextProvider,
B extends I18nSpringContextProvider.BuilderImpl<T, B>> - Class in dev.orne.i18n.spring -
Builder of
I18nSpringContextProvider
instances. - I18nSpringResources - Class in dev.orne.i18n.spring
-
Implementation of
I18nResources
based on SpringMessageSource
. - I18nSpringResources(MessageSource) - Constructor for class dev.orne.i18n.spring.I18nSpringResources
-
Creates a new instance.
- I18nSpringWebConfiguration - Class in dev.orne.i18n.spring
-
I18N context provider configuration for Spring Web.
- I18nSpringWebConfiguration() - Constructor for class dev.orne.i18n.spring.I18nSpringWebConfiguration
-
Creates a new instance.
- I18nSpringWebContextClearer - Class in dev.orne.i18n.spring
-
Listener for Spring web contexts that removes the I18N context when the HTTP request has been handled.
- I18nSpringWebContextClearer() - Constructor for class dev.orne.i18n.spring.I18nSpringWebContextClearer
-
Creates a new instance.
- I18nString - Interface in dev.orne.i18n
-
Interface for I18N texts.
- I18nStringAdapter - Class in dev.orne.i18n.jaxb
-
JAXB adapter for
I18nString
instances. - I18nStringAdapter() - Constructor for class dev.orne.i18n.jaxb.I18nStringAdapter
-
Creates a new instance.
- I18nStringAdapter.Full - Class in dev.orne.i18n.jaxb
-
JAXB adapter for
I18nString
instances that marshalls all available translations. - I18nStringConverter - Interface in dev.orne.i18n
-
Functional interface for methods able to convert from any
I18nString
to the desiredI18nString
subtype. - I18nStringEditor - Class in dev.orne.i18n
-
Java Beans Editor for
I18nString
that converts betweenString
andI18nFixedString
. - I18nStringEditor() - Constructor for class dev.orne.i18n.I18nStringEditor
-
Creates a new instance.
- I18nStringGenerator - Class in dev.orne.i18n
-
Generator of
I18nFixedString
values. - I18nStringGenerator() - Constructor for class dev.orne.i18n.I18nStringGenerator
-
Creates a new instance.
- I18nStringJacksonDeserializer - Class in dev.orne.i18n
-
Jackson JSON deserializer for
I18nString
instances. - I18nStringJacksonDeserializer() - Constructor for class dev.orne.i18n.I18nStringJacksonDeserializer
-
Creates a new instance.
- I18nStringJacksonDeserializer(I18nStringConverter) - Constructor for class dev.orne.i18n.I18nStringJacksonDeserializer
-
Creates a new instance.
- I18nStringJacksonSerializer - Class in dev.orne.i18n
-
Jackson JSON serializer for
I18nString
instances. - I18nStringJacksonSerializer() - Constructor for class dev.orne.i18n.I18nStringJacksonSerializer
-
Creates a new instance that serializes all instances as current language translation text.
- I18nStringJacksonSerializer(boolean) - Constructor for class dev.orne.i18n.I18nStringJacksonSerializer
-
Creates a new instance.
- I18nStringMap - Class in dev.orne.i18n
-
Implementation of
I18nString
populated with translations. - I18nStringMap() - Constructor for class dev.orne.i18n.I18nStringMap
-
Creates a new instance with empty default text and no translations.
- I18nStringMap(I18nString) - Constructor for class dev.orne.i18n.I18nStringMap
-
Copy constructor.
- I18nStringMap(String) - Constructor for class dev.orne.i18n.I18nStringMap
-
Creates a new instance with specified default text and no translations.
- I18nStringMapAdapter - Class in dev.orne.i18n.jaxb
-
JAXB adapter for
I18nStringMap
instances. - I18nStringMapAdapter() - Constructor for class dev.orne.i18n.jaxb.I18nStringMapAdapter
-
Creates a new instance.
- I18nStringMapAdapter.Full - Class in dev.orne.i18n.jaxb
-
JAXB adapter for
I18nStringMap
instances that marshalls all available translations. - I18nStringMapEditor - Class in dev.orne.i18n
-
Java Beans Editor for
I18nStringMap
that converts betweenString
andI18nStringMap
. - I18nStringMapEditor() - Constructor for class dev.orne.i18n.I18nStringMapEditor
-
Creates a new instance.
- I18nStringMapGenerator - Class in dev.orne.i18n
-
Generator of
I18nStringMap
values. - I18nStringMapGenerator() - Constructor for class dev.orne.i18n.I18nStringMapGenerator
-
Creates a new instance.
- I18nXmlSchema - Class in dev.orne.i18n
-
Constants of XML schema for library beans
- inheritableContexts - Variable in class dev.orne.i18n.context.ThreadI18nContextProvider.BuilderImpl
-
If the
I18nContext
instances should be inherited by childThread
s. - initialize(Pattern) - Method in class dev.orne.i18n.validation.PatternValidatorForI18nString
- initialize(Size) - Method in class dev.orne.i18n.validation.SizeValidatorForI18nString
- invalidate() - Method in class dev.orne.i18n.context.AbstractI18nContextProvider
-
Invalidates this context provider, thus invalidating any previously created I18N contexts.
- invalidate() - Method in interface dev.orne.i18n.context.I18nContextProvider
-
Invalidates this context provider, thus invalidating any previously created I18N contexts.
- isContextValid(I18nContext) - Method in interface dev.orne.i18n.context.I18nContextProvider
-
Returns
true
if the specified context is valid or should be discarded. - isContextValid(I18nContext) - Method in class dev.orne.i18n.context.SharedI18nContextProvider
-
Returns
true
if the specified context is valid or should be discarded. - isContextValid(I18nContext) - Method in class dev.orne.i18n.context.ThreadI18nContextProvider
-
The default contexts don't expire.
- isEquivalent(I18nString) - Method in class dev.orne.i18n.I18nFixedString
-
Returns
true
if the specifiedI18nString
is equivalent to this instance. - isEquivalent(I18nString) - Method in class dev.orne.i18n.I18nResourcesString
-
Returns
true
if the specifiedI18nString
is equivalent to this instance. - isEquivalent(I18nString) - Method in interface dev.orne.i18n.I18nString
-
Returns
true
if the specifiedI18nString
is equivalent to this instance. - isEquivalent(I18nString) - Method in class dev.orne.i18n.I18nStringMap
-
Returns
true
if the specifiedI18nString
is equivalent to this instance. - isInheritable() - Method in class dev.orne.i18n.context.ThreadI18nContextProvider
-
Returns
true
if theI18nContext
instances will be inherited by child threads. - isTextValid(String) - Method in class dev.orne.i18n.validation.AbstractValidatorForI18nString
-
Validates if the text is valid.
- isTextValid(String) - Method in class dev.orne.i18n.validation.NotBlankValidatorForI18nString
-
Validates if the text is valid.
- isTextValid(String) - Method in class dev.orne.i18n.validation.NotEmptyValidatorForI18nString
-
Validates if the text is valid.
- isTextValid(String) - Method in class dev.orne.i18n.validation.PatternValidatorForI18nString
-
Validates if the text is valid.
- isTextValid(String) - Method in class dev.orne.i18n.validation.SizeValidatorForI18nString
-
Validates if the text is valid.
- isValid(I18nString, ConstraintValidatorContext) - Method in class dev.orne.i18n.validation.AbstractValidatorForI18nString
- isValid(I18nString, ConstraintValidatorContext) - Method in class dev.orne.i18n.validation.NotEmptyValidatorForI18nString
- isValid(I18nString, ConstraintValidatorContext) - Method in class dev.orne.i18n.validation.NotBlankValidatorForI18nString
J
- JaxbUtils - Class in dev.orne.i18n.jaxb
-
Utility class for Jakarta XML Binding (JAXB)
L
- lang - Variable in class dev.orne.i18n.jaxb.XmlI18nStringTranslation
-
The translation language.
M
- mapped(String) - Static method in interface dev.orne.i18n.I18nString
-
Creates a new
I18nStringMap
instance with specified default text and no translations. - marshal(I18nFixedString) - Method in class dev.orne.i18n.jaxb.I18nFixedStringAdapter
- marshal(I18nResourcesString) - Method in class dev.orne.i18n.jaxb.I18nResourcesStringAdapter.Full
- marshal(I18nResourcesString) - Method in class dev.orne.i18n.jaxb.I18nResourcesStringAdapter
- marshal(I18nString) - Method in class dev.orne.i18n.jaxb.I18nStringAdapter.Full
- marshal(I18nString) - Method in class dev.orne.i18n.jaxb.I18nStringAdapter
- marshal(I18nStringMap) - Method in class dev.orne.i18n.jaxb.I18nStringMapAdapter.Full
- marshal(I18nStringMap) - Method in class dev.orne.i18n.jaxb.I18nStringMapAdapter
- MAX_ARGS - Static variable in class dev.orne.i18n.I18nResourcesStringGenerator
-
The maximum random message arguments.
- MAX_CODES - Static variable in class dev.orne.i18n.I18nResourcesStringGenerator
-
The maximum random message codes.
- MAX_TRANSLATIONS - Static variable in class dev.orne.i18n.I18nStringMapGenerator
-
The maximum random translations.
- MIN_ARGS - Static variable in class dev.orne.i18n.I18nResourcesStringGenerator
-
The minimum random message arguments.
- MIN_CODES - Static variable in class dev.orne.i18n.I18nResourcesStringGenerator
-
The minimum random message codes.
- MIN_TRANSLATIONS - Static variable in class dev.orne.i18n.I18nStringMapGenerator
-
The minimum random translations.
N
- NAMED_RESOURCES_PREFIX - Static variable in class dev.orne.i18n.context.I18nConfiguration
-
The configuration properties prefix for named
I18nResources
bundle base name. - NotBlankValidatorForI18nString - Class in dev.orne.i18n.validation
-
Implementation of Javax Bean Validation
ConstraintValidator
forNotBlank
constraint onI18nString
instances. - NotBlankValidatorForI18nString() - Constructor for class dev.orne.i18n.validation.NotBlankValidatorForI18nString
-
Creates a new instance.
- NotEmptyValidatorForI18nString - Class in dev.orne.i18n.validation
-
Implementation of Javax Bean Validation
ConstraintValidator
forNotEmpty
constraint onI18nString
instances. - NotEmptyValidatorForI18nString() - Constructor for class dev.orne.i18n.validation.NotEmptyValidatorForI18nString
-
Creates a new instance.
- NS - Static variable in class dev.orne.i18n.I18nXmlSchema
-
The package name space.
O
- ObjectFactory - Class in dev.orne.i18n.jaxb
-
This object contains factory methods for each Java content interface and Java element interface in the dev.orne.i18n package.
- ObjectFactory() - Constructor for class dev.orne.i18n.jaxb.ObjectFactory
-
Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: dev.orne.i18n.
- ofResources(String) - Method in class dev.orne.i18n.I18nResourcesString.Builder
-
Sets the I18N resources to use.
- onApplicationEvent(RequestHandledEvent) - Method in class dev.orne.i18n.spring.I18nSpringWebContextClearer
- orneBeansI18nContextClearer() - Method in class dev.orne.i18n.spring.I18nSpringWebConfiguration
-
Creates the Spring listener for clearing the I18N context after handling the HTTP requests.
P
- PatternValidatorForI18nString - Class in dev.orne.i18n.validation
-
Implementation of Javax Bean Validation
ConstraintValidator
forPattern
constraint onI18nString
instances. - PatternValidatorForI18nString() - Constructor for class dev.orne.i18n.validation.PatternValidatorForI18nString
-
Creates a new instance.
- PREFIX - Static variable in class dev.orne.i18n.context.I18nConfiguration
-
The configuration properties prefix.
R
- randomValue(StringGenerationParameters) - Method in class dev.orne.i18n.I18nFixedStringGenerator
- randomValue(StringGenerationParameters) - Method in class dev.orne.i18n.I18nResourcesStringGenerator
- randomValue(StringGenerationParameters) - Method in class dev.orne.i18n.I18nStringGenerator
- randomValue(StringGenerationParameters) - Method in class dev.orne.i18n.I18nStringMapGenerator
- remove(String) - Method in class dev.orne.i18n.I18nStringMap
-
Removes the translation for the specified language.
- remove(Locale) - Method in class dev.orne.i18n.I18nStringMap
-
Removes the translation for the specified language.
S
- selectImports(AnnotationMetadata) - Method in class dev.orne.i18n.spring.I18nSpringConfigurationSelector
- serialize(I18nString, JsonGenerator, SerializerProvider) - Method in class dev.orne.i18n.I18nStringJacksonSerializer
- set(String, String) - Method in class dev.orne.i18n.I18nStringMap
-
Sets the translation for the specified locale.
- set(Locale, String) - Method in class dev.orne.i18n.I18nStringMap
-
Sets the translation for the specified locale.
- setApplicationContext(ApplicationContext) - Method in class dev.orne.i18n.spring.I18nSpringConfiguration
- setAsText(String) - Method in class dev.orne.i18n.I18nStringEditor
- setAsText(String) - Method in class dev.orne.i18n.I18nStringMapEditor
- setAvailableLocales(Locale[]) - Method in class dev.orne.i18n.context.AbstractI18nContextProvider.BuilderImpl
-
Sets the available locales.
- setAvailableLocales(Locale[]) - Method in interface dev.orne.i18n.context.I18nContextProvider.Builder
-
Sets the available locales.
- setAvailableLocales(Locale[]) - Method in interface dev.orne.i18n.context.SharedI18nContextProvider.Builder
-
Sets the available locales.
- setAvailableLocales(Locale[]) - Method in interface dev.orne.i18n.context.ThreadI18nContextProvider.Builder
-
Sets the available locales.
- setAvailableLocales(Locale[]) - Method in interface dev.orne.i18n.spring.I18nSpringContextProvider.Builder
-
Sets the available locales.
- setDefaultI18nResources(I18nResources) - Method in class dev.orne.i18n.context.AbstractI18nContextProvider.BuilderImpl
-
Sets the default I18N resources.
- setDefaultI18nResources(I18nResources) - Method in interface dev.orne.i18n.context.I18nContextProvider.Builder
-
Sets the default I18N resources.
- setDefaultI18nResources(I18nResources) - Method in interface dev.orne.i18n.context.SharedI18nContextProvider.Builder
-
Sets the default I18N resources.
- setDefaultI18nResources(I18nResources) - Method in interface dev.orne.i18n.context.ThreadI18nContextProvider.Builder
-
Sets the default I18N resources.
- setDefaultI18nResources(I18nResources) - Method in interface dev.orne.i18n.spring.I18nSpringContextProvider.Builder
-
Sets the default I18N resources.
- setDefaultI18nResources(MessageSource) - Method in interface dev.orne.i18n.spring.I18nSpringContextProvider.Builder
-
Sets the default I18N resources.
- setDefaultI18nResources(MessageSource) - Method in class dev.orne.i18n.spring.I18nSpringContextProvider.BuilderImpl
-
Sets the default I18N resources.
- setDefaultLocaleSupplier(Supplier<Locale>) - Method in class dev.orne.i18n.context.AbstractI18nContextProvider.BuilderImpl
-
Sets the default locale supplier.
- setDefaultLocaleSupplier(Supplier<Locale>) - Method in interface dev.orne.i18n.context.I18nContextProvider.Builder
-
Sets the default locale supplier.
- setDefaultLocaleSupplier(Supplier<Locale>) - Method in interface dev.orne.i18n.context.SharedI18nContextProvider.Builder
-
Sets the default locale supplier.
- setDefaultLocaleSupplier(Supplier<Locale>) - Method in interface dev.orne.i18n.context.ThreadI18nContextProvider.Builder
-
Sets the default locale supplier.
- setDefaultLocaleSupplier(Supplier<Locale>) - Method in interface dev.orne.i18n.spring.I18nSpringContextProvider.Builder
-
Sets the default locale supplier.
- setDefaultText(String) - Method in class dev.orne.i18n.I18nStringMap
-
Sets the default text.
- setI18n(Map<String, String>) - Method in class dev.orne.i18n.I18nStringMap
-
Sets the text translations.
- setI18nConfiguration(ClassLoader, Properties) - Method in interface dev.orne.i18n.context.I18nContextProvider.Configurer
-
Sets the I18N configuration for the specified class loader.
- setI18nConfiguration(Properties) - Method in interface dev.orne.i18n.context.I18nContextProvider.Configurer
-
Sets the I18N configuration for the current thread's context class loader.
- setI18nContextProvider(I18nContextProvider) - Method in interface dev.orne.i18n.context.I18nContextProvider.Configurer
-
Sets the I18N context provider for the current thread's context class loader.
- setI18nContextProvider(ClassLoader, I18nContextProvider) - Method in interface dev.orne.i18n.context.I18nContextProvider.Configurer
-
Sets the I18N context provider for the specified class loader.
- setImportMetadata(AnnotationMetadata) - Method in class dev.orne.i18n.spring.I18nSpringConfiguration
-
Inherits configuration from
EnableI18N
annotation. - setInheritableContexts(boolean) - Method in interface dev.orne.i18n.context.ThreadI18nContextProvider.Builder
-
Sets if the
I18nContext
instances will be inherited by child threads. - setInheritableContexts(boolean) - Method in class dev.orne.i18n.context.ThreadI18nContextProvider.BuilderImpl
-
Sets if the
I18nContext
instances will be inherited by child threads. - setInheritableContexts(boolean) - Method in interface dev.orne.i18n.spring.I18nSpringContextProvider.Builder
-
Sets if the
I18nContext
instances will be inherited by child threads. - setLang(String) - Method in class dev.orne.i18n.jaxb.XmlI18nStringTranslation
-
Sets the translation language.
- setLocale(Locale) - Method in class dev.orne.i18n.context.DefaultI18nContext
-
Sets the user's language.
- setLocale(Locale) - Method in interface dev.orne.i18n.context.I18nContext
-
Sets the user's language.
- setLocale(Locale) - Static method in class dev.orne.i18n.I18N
-
Sets the current locale.
- setLocale(Locale) - Method in class dev.orne.i18n.spring.I18nSpringContext
-
Sets the user's language.
- setMessageSource(MessageSource) - Method in class dev.orne.i18n.spring.I18nSpringConfiguration
- setTarget(ClassLoader) - Method in class dev.orne.i18n.spring.I18nSpringConfiguration
-
Sets the
ClassLoader
this configuration will be applied to. - setValue(String) - Method in class dev.orne.i18n.jaxb.XmlI18nStringTranslation
-
Sets the translation text.
- SharedI18nContextProvider - Class in dev.orne.i18n.context
-
Implementation of
I18nContextProvider
that shares a singleI18nContext
instance for all threads. - SharedI18nContextProvider(SharedI18nContextProvider.BuilderImpl<?, ?>) - Constructor for class dev.orne.i18n.context.SharedI18nContextProvider
-
Creates a new instance based on specified builder.
- SharedI18nContextProvider.Builder - Interface in dev.orne.i18n.context
-
Interface for
SharedI18nContextProvider
instance builders. - SharedI18nContextProvider.BuilderImpl<T extends SharedI18nContextProvider,
B extends SharedI18nContextProvider.BuilderImpl<T, B>> - Class in dev.orne.i18n.context -
Builder of
SharedI18nContextProvider
instances. - SharedI18nContextProvider.Factory - Class in dev.orne.i18n.context
-
Factory for
SharedI18nContextProvider
instances. - SizeValidatorForI18nString - Class in dev.orne.i18n.validation
-
Implementation of Javax Bean Validation
ConstraintValidator
forSize
constraint onI18nString
instances. - SizeValidatorForI18nString() - Constructor for class dev.orne.i18n.validation.SizeValidatorForI18nString
-
Creates a new instance.
- SPRING_WEB_DETECTOR - Static variable in class dev.orne.i18n.spring.I18nSpringConfigurationSelector
-
Class to use detect
spring-web
. - STRING_ELEMENT - Static variable in class dev.orne.i18n.I18nXmlSchema
-
The I18n string XML element local name.
- STRING_TYPE - Static variable in class dev.orne.i18n.I18nXmlSchema
-
The I18n string XML type local name.
T
- ThreadI18nContextProvider - Class in dev.orne.i18n.context
-
Implementation of
I18nContextProvider
that provides a differentI18nContext
for each thread. - ThreadI18nContextProvider(ThreadI18nContextProvider.BuilderImpl<?, ?>) - Constructor for class dev.orne.i18n.context.ThreadI18nContextProvider
-
Creates a new instance based on specified builder.
- ThreadI18nContextProvider.Builder - Interface in dev.orne.i18n.context
-
Interface for
ThreadI18nContextProvider
instance builders. - ThreadI18nContextProvider.BuilderImpl<T extends ThreadI18nContextProvider,
B extends ThreadI18nContextProvider.BuilderImpl<T, B>> - Class in dev.orne.i18n.context -
Abstract builder of
ThreadI18nContextProvider
instances. - ThreadI18nContextProvider.Factory - Class in dev.orne.i18n.context
-
Factory for
ThreadI18nContextProvider
instances. - toFullXml(I18nString) - Static method in class dev.orne.i18n.jaxb.JaxbUtils
-
Converts the specified
I18nString
toXmlI18NString
containing all the available translations. - toString() - Method in class dev.orne.i18n.context.DefaultI18nContext
- toString() - Method in class dev.orne.i18n.I18nFixedString
- toString() - Method in class dev.orne.i18n.I18nResourcesString
- toString() - Method in class dev.orne.i18n.I18nStringMap
-
Returns the default text.
- toString() - Method in class dev.orne.i18n.spring.I18nSpringContext
- toXml(I18nString) - Static method in class dev.orne.i18n.jaxb.JaxbUtils
-
Converts the specified
I18nString
toXmlI18NString
containing only the current language translation. - TRANSLATION_ELEMENT - Static variable in class dev.orne.i18n.I18nXmlSchema
-
The I18n string translation XML element local name.
- TRANSLATION_LANG_ATTR - Static variable in class dev.orne.i18n.I18nXmlSchema
-
The I18n string translation XML element language attribute.
- TRANSLATION_TYPE - Static variable in class dev.orne.i18n.I18nXmlSchema
-
The I18n string translation XML type local name.
- TYPE - Static variable in class dev.orne.i18n.context.SharedI18nContextProvider
-
The I18N context provider type.
- TYPE - Static variable in class dev.orne.i18n.context.ThreadI18nContextProvider
-
The I18N context provider type.
U
- unmarshal(XmlI18nString) - Method in class dev.orne.i18n.jaxb.I18nFixedStringAdapter
- unmarshal(XmlI18nString) - Method in class dev.orne.i18n.jaxb.I18nResourcesStringAdapter
- unmarshal(XmlI18nString) - Method in class dev.orne.i18n.jaxb.I18nStringAdapter
- unmarshal(XmlI18nString) - Method in class dev.orne.i18n.jaxb.I18nStringMapAdapter
V
- validateParameters() - Method in class dev.orne.i18n.validation.SizeValidatorForI18nString
-
Validates constraint annotation values.
- value - Variable in class dev.orne.i18n.jaxb.XmlI18nStringTranslation
-
The translation text.
W
- withArg(Serializable) - Method in class dev.orne.i18n.I18nResourcesString.Builder
-
Adds the specified argument to the text arguments of this builder.
- withArgs(Serializable...) - Method in class dev.orne.i18n.I18nResourcesString.Builder
-
Adds the specified arguments to the text arguments of this builder.
- withCode(String) - Method in class dev.orne.i18n.I18nResourcesString.Builder
-
Appends the specified text code to the codes configured of this builder.
- withCodes(String...) - Method in class dev.orne.i18n.I18nResourcesString.Builder
-
Appends the specified text codes to the codes configured of this builder.
X
- XmlI18nString - Class in dev.orne.i18n.jaxb
-
XML representation of I18N string.
- XmlI18nString() - Constructor for class dev.orne.i18n.jaxb.XmlI18nString
-
Creates a new instance.
- XmlI18nStringTranslation - Class in dev.orne.i18n.jaxb
-
XML representation of I18N string translation.
- XmlI18nStringTranslation() - Constructor for class dev.orne.i18n.jaxb.XmlI18nStringTranslation
-
Creates a new instance.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form