|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface I18nContentSupport
Support for i18n content. Used to rewrite uris and getting nodedatas based on the current language.
Method Summary | |
---|---|
Locale |
determineLocale()
This method uses the current agregation state to set the locale used for the rendering process . |
Locale |
getFallbackLocale()
The default locale to be used. |
Locale |
getLocale()
Get the current locale used for rendering content. |
Collection<Locale> |
getLocales()
Returns the available locales. |
NodeData |
getNodeData(Content node,
String name)
Returns the NodeData object based on the current language. |
NodeData |
getNodeData(Content node,
String name,
Locale locale)
Returns the NodeData object based on the language passes. |
boolean |
isEnabled()
|
void |
setFallbackLocale(Locale fallbackLocale)
|
void |
setLocale(Locale locale)
|
String |
toI18NURI(String uri)
Transform the internal uri to a i18n uri. |
String |
toRawURI(String i18nURI)
Remove all i18n tokens form the uri. |
Method Detail |
---|
Locale getLocale()
void setLocale(Locale locale)
Locale getFallbackLocale()
void setFallbackLocale(Locale fallbackLocale)
String toI18NURI(String uri)
String toRawURI(String i18nURI)
Locale determineLocale()
NodeData getNodeData(Content node, String name, Locale locale) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
NodeData getNodeData(Content node, String name)
Collection<Locale> getLocales()
boolean isEnabled()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |