A B D G H I J L N O R S U

A

activate(ComponentContext) - Method in class org.apache.sling.i18n.impl.JcrResourceBundleProvider
Activates and configures this component with the repository access details and the default locale to use

B

bindLocaleResolver(LocaleResolver) - Method in class org.apache.sling.i18n.impl.I18NFilter
 
bindRequestLocaleResolver(RequestLocaleResolver) - Method in class org.apache.sling.i18n.impl.I18NFilter
 
bindResourceBundleProvider(ResourceBundleProvider, Map<String, Object>) - Method in class org.apache.sling.i18n.impl.I18NFilter
 
bindResourceResolverFactory(ResourceResolverFactory) - Method in class org.apache.sling.i18n.impl.JcrResourceBundleProvider
Binds a new ResourceResolverFactory.
BUNDLE_REQ_ATTR - Static variable in interface org.apache.sling.i18n.ResourceBundleProvider
Request attribute to get the resource bundle.

D

deactivate() - Method in class org.apache.sling.i18n.impl.JcrResourceBundleProvider
 
DefaultLocaleResolver - Class in org.apache.sling.i18n
The 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.
DefaultLocaleResolver() - Constructor for class org.apache.sling.i18n.DefaultLocaleResolver
 
destroy() - Method in class org.apache.sling.i18n.impl.I18NFilter
 
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class org.apache.sling.i18n.impl.I18NFilter
 

G

getDefaultLocale() - Method in class org.apache.sling.i18n.impl.JcrResourceBundleProvider
Returns the configured default Locale which is used as a fallback for JcrResourceBundleProvider.getResourceBundle(Locale) and also as the basis for any messages requested from resource bundles.
getDefaultLocale() - Method in interface org.apache.sling.i18n.ResourceBundleProvider
Returns the default Locale assumed by this instance.
getKeys() - Method in class org.apache.sling.i18n.impl.JcrResourceBundle
 
getKeys() - Method in class org.apache.sling.i18n.impl.RootResourceBundle
Always returns an empty enumeration.
getLocale() - Method in class org.apache.sling.i18n.impl.JcrResourceBundle
 
getLocale() - Method in class org.apache.sling.i18n.impl.RootResourceBundle
Returns a Locale with empty language, country, and variant.
getResourceBundle(Locale) - Method in class org.apache.sling.i18n.impl.JcrResourceBundleProvider
Returns the ResourceBundle for the given locale.
getResourceBundle(String, Locale) - Method in class org.apache.sling.i18n.impl.JcrResourceBundleProvider
 
getResourceBundle(Locale) - Method in interface org.apache.sling.i18n.ResourceBundleProvider
Returns a ResourceBundle for the given locale.
getResourceBundle(String, Locale) - Method in interface org.apache.sling.i18n.ResourceBundleProvider
Returns a ResourceBundle for the given locale.

H

handleGetObject(String) - Method in class org.apache.sling.i18n.impl.JcrResourceBundle
 
handleGetObject(String) - Method in class org.apache.sling.i18n.impl.RootResourceBundle
Always returns the key parameter as its value.
handleKeySet() - Method in class org.apache.sling.i18n.impl.JcrResourceBundle
Returns a Set of all resource keys provided by this resource bundle only.
hasMoreElements() - Method in class org.apache.sling.i18n.impl.ResourceBundleEnumeration
 

I

I18NFilter - Class in org.apache.sling.i18n.impl
The I18NFilter class is a request level filter, which provides the resource bundle for the current request.
I18NFilter() - Constructor for class org.apache.sling.i18n.impl.I18NFilter
 
init(FilterConfig) - Method in class org.apache.sling.i18n.impl.I18NFilter
 

J

JcrResourceBundle - Class in org.apache.sling.i18n.impl
 
JcrResourceBundleProvider - Class in org.apache.sling.i18n.impl
The JcrResourceBundleProvider implements the ResourceBundleProvider interface creating ResourceBundle instances from resources stored in the repository.
JcrResourceBundleProvider() - Constructor for class org.apache.sling.i18n.impl.JcrResourceBundleProvider
 

L

LocaleResolver - Interface in org.apache.sling.i18n
Deprecated. The RequestLocaleResolver should be used instead.

N

nextElement() - Method in class org.apache.sling.i18n.impl.ResourceBundleEnumeration
 

O

onEvent(EventIterator) - Method in class org.apache.sling.i18n.impl.JcrResourceBundleProvider
Called whenever something is changed inside of jcr:language or sling:Message nodes.
org.apache.sling.i18n - package org.apache.sling.i18n
 
org.apache.sling.i18n.impl - package org.apache.sling.i18n.impl
 

R

RequestLocaleResolver - Interface in org.apache.sling.i18n
The GlobalLocaleResolver service interface may be implemented by a service registered under this name to allow the resolution of the request Locale to apply.
resolveLocale(SlingHttpServletRequest) - Method in class org.apache.sling.i18n.DefaultLocaleResolver
Return the Locales provided by the ServletRequest.getLocales() method collected in a List.
resolveLocale(HttpServletRequest) - Method in class org.apache.sling.i18n.DefaultLocaleResolver
 
resolveLocale(SlingHttpServletRequest) - Method in interface org.apache.sling.i18n.LocaleResolver
Deprecated. Return a non-null but possiby empty list of Locale instances to consider for localization of the current request.
resolveLocale(HttpServletRequest) - Method in interface org.apache.sling.i18n.RequestLocaleResolver
Return a non-null but possiby empty list of Locale instances to consider for localization of the current request.
ResourceBundleEnumeration - Class in org.apache.sling.i18n.impl
 
ResourceBundleEnumeration(Set<String>, Enumeration<String>) - Constructor for class org.apache.sling.i18n.impl.ResourceBundleEnumeration
 
ResourceBundleProvider - Interface in org.apache.sling.i18n
The ResourceBundleProvider service interface defines the API for a service, which is capable of returned ResourceBundle for given any Locale.
RootResourceBundle - Class in org.apache.sling.i18n.impl
The RootResourceBundle is an extremely simple resource bundle which is used as the root resource bundle for the resource bundle hierarchies provided by the JcrResourceBundleProvider.
RootResourceBundle() - Constructor for class org.apache.sling.i18n.impl.RootResourceBundle
 

S

setParent(ResourceBundle) - Method in class org.apache.sling.i18n.impl.JcrResourceBundle
 

U

unbindLocaleResolver(LocaleResolver) - Method in class org.apache.sling.i18n.impl.I18NFilter
 
unbindRequestLocaleResolver(RequestLocaleResolver) - Method in class org.apache.sling.i18n.impl.I18NFilter
 
unbindResourceBundleProvider(ResourceBundleProvider, Map<String, Object>) - Method in class org.apache.sling.i18n.impl.I18NFilter
 
unbindResourceResolverFactory(ResourceResolverFactory) - Method in class org.apache.sling.i18n.impl.JcrResourceBundleProvider
Unbinds the ResourceResolverFactory.

A B D G H I J L N O R S U

Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.