|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
ResourceResolverFactory
.
DefaultLocaleResolver
resolves the request's Locale by
calling the ServletRequest.getLocales()
method, which generally
will be the Servlet Container's implementation of this method and thus be
based on the client's Accept-Language
header.Locale
which is used as a
fallback for JcrResourceBundleProvider.getResourceBundle(Locale)
and also as the basis for
any messages requested from resource bundles.
Locale
assumed by this instance.
Locale
with empty language, country, and variant.
ResourceBundle
for the given
locale
.
ResourceBundle
for the given locale.
ResourceBundle
for the given locale.
key
parameter as its value.
I18NFilter
class is a request level filter, which provides
the resource bundle for the current request.JcrResourceBundleProvider
implements the
ResourceBundleProvider
interface creating
ResourceBundle
instances from resources stored in the
repository.RequestLocaleResolver
should be used instead.jcr:language
or sling:Message
nodes.
GlobalLocaleResolver
service interface may be implemented by a
service registered under this name to allow the resolution of the request
Locale
to apply.ServletRequest.getLocales()
method collected in a
List
.
null
but possiby empty list of
Locale
instances to consider for localization of the current
request.
null
but possiby empty list of
Locale
instances to consider for localization of the current
request.
ResourceBundleProvider
service interface defines the API
for a service, which is capable of returned ResourceBundle
for
given any Locale
.RootResourceBundle
is an extremely simple resource bundle
which is used as the root resource bundle for the resource bundle hierarchies
provided by the JcrResourceBundleProvider
.ResourceResolverFactory
.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |