Interface ILocaleProvider
- All Superinterfaces:
org.apache.wicket.util.io.IClusterable
,Serializable
public interface ILocaleProvider
extends org.apache.wicket.util.io.IClusterable
Provider of content locale information. Available as a service in the CMS,
it can be used by plugins to retrieve Locale and presentation
information.
The provider is made available under the "locale.id" configuration key. When this key is not present, the fully qualified class name can be used as a fall back.
Whereas the repository only depends on the name of a HippoLocale, the CMS couples this name to a Locale for presentation purposes.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Description of a content locale.static enum
-
Field Summary
-
Method Summary
-
Field Details
-
SERVICE_ID
- See Also:
-
-
Method Details
-
getLocales
List<? extends ILocaleProvider.HippoLocale> getLocales() -
getLocale
-
isKnown
-