|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.cms.i18n.AbstractI18nContentSupport info.magnolia.cms.i18n.DefaultI18nContentSupport
public class DefaultI18nContentSupport
This implementation support a language prefix like /en/*. To resolve the nodedatas it checks if a nodedata with the following pattern exists on the content node: <name>_<language>
Field Summary |
---|
Fields inherited from class info.magnolia.cms.i18n.AbstractI18nContentSupport |
---|
defaultLocale |
Constructor Summary | |
---|---|
DefaultI18nContentSupport()
|
Method Summary | |
---|---|
protected java.util.Locale |
onDetermineLocale()
|
protected java.lang.String |
toI18NURI(java.lang.String uri,
java.util.Locale locale)
Adds the language prefix to the uri. |
protected java.lang.String |
toRawURI(java.lang.String i18nURI,
java.util.Locale locale)
|
Methods inherited from class info.magnolia.cms.i18n.AbstractI18nContentSupport |
---|
addLocale, determineLocale, determineLocalFromString, getDefaultLocale, getFallbackLocale, getLocale, getLocales, getNextContentLocale, getNextLocale, getNodeData, getNodeData, isEmpty, isEnabled, isLocaleSupported, setDefaultLocale, setEnabled, setFallbackLocale, setLocale, toI18NURI, toRawURI |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultI18nContentSupport()
Method Detail |
---|
protected java.lang.String toI18NURI(java.lang.String uri, java.util.Locale locale)
toI18NURI
in class AbstractI18nContentSupport
protected java.lang.String toRawURI(java.lang.String i18nURI, java.util.Locale locale)
toRawURI
in class AbstractI18nContentSupport
protected java.util.Locale onDetermineLocale()
onDetermineLocale
in class AbstractI18nContentSupport
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |