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
Modifier and TypeMethodDescriptionReturns the info for the given locale ornull
if the locale is not part of the language collection returned byLanguageManager.Tree.getCqLanguages()
.Deprecated.Returns the relative path of the node.
-
Method Details
-
getRelativePath
String getRelativePath()Returns the relative path of the node.- Returns:
- the relative path
-
getInfo
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
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
-
getInfo(Language)
instead