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
 
bindResourceResolverFactory(ResourceResolverFactory) - Method in class org.apache.sling.i18n.impl.JcrResourceBundleProvider
Binds a new ResourceResolverFactory.

D

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
The LocaleResolver service interface may be implemented by a service registered under this name to allow the resolution of the request Locale to apply.

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

resolveLocale(SlingHttpServletRequest) - Method in interface org.apache.sling.i18n.LocaleResolver
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
 
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-2011 The Apache Software Foundation. All Rights Reserved.