Package com.day.cq.wcm.api
Interface LanguageManager.TreeNode
-
- Enclosing interface:
- LanguageManager
public static interface LanguageManager.TreeNode
Denotes a node in the tree.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description LanguageManager.Info
getInfo(Language locale)
Returns the info for the given locale ornull
if the locale is not part of the language collection returned byLanguageManager.Tree.getCqLanguages()
.LanguageManager.Info
getInfo(java.util.Locale locale)
Deprecated.usegetInfo(Language)
insteadjava.lang.String
getRelativePath()
Returns the relative path of the node.
-
-
-
Method Detail
-
getRelativePath
java.lang.String getRelativePath()
Returns the relative path of the node.- Returns:
- the relative path
-
getInfo
LanguageManager.Info getInfo(java.util.Locale locale)
Deprecated.usegetInfo(Language)
insteadReturns the info for the given locale ornull
if the locale is not part of the language collection returned byLanguageManager.Tree.getLanguages()
.- Parameters:
locale
- the locale- Returns:
- info or
null
-
getInfo
LanguageManager.Info getInfo(Language locale)
Returns the info for the given locale ornull
if the locale is not part of the language collection returned byLanguageManager.Tree.getCqLanguages()
.- Parameters:
locale
- the locale- Returns:
- info or
null
- Since:
- 5.4
-
-