Package com.day.cq.wcm.api
Interface LanguageManager.TreeNode
-
- Enclosing interface:
- LanguageManager
public static interface LanguageManager.TreeNodeDenotes a node in the tree.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description LanguageManager.InfogetInfo(Language locale)Returns the info for the given locale ornullif the locale is not part of the language collection returned byLanguageManager.Tree.getCqLanguages().LanguageManager.InfogetInfo(java.util.Locale locale)Deprecated.usegetInfo(Language)insteadjava.lang.StringgetRelativePath()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 ornullif 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 ornullif the locale is not part of the language collection returned byLanguageManager.Tree.getCqLanguages().- Parameters:
locale- the locale- Returns:
- info or
null - Since:
- 5.4
-
-