Interface LanguageNavigationItem
-
- All Superinterfaces:
Component
,ComponentExporter
,ListItem
,NavigationItem
@ConsumerType public interface LanguageNavigationItem extends NavigationItem
Interface for a single language navigation item, used by theLanguageNavigation
model.- Since:
- com.adobe.cq.wcm.core.components.models 12.2.0
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.lang.String
getCountry()
Returns the country of thisLanguageNavigationItem
.default java.lang.String
getLanguage()
Returns the language of thisLanguageNavigationItem
.default java.util.Locale
getLocale()
Returns the locale of thisLanguageNavigationItem
.-
Methods inherited from interface com.adobe.cq.wcm.core.components.models.Component
getData, getExportedType, getId
-
Methods inherited from interface com.adobe.cq.wcm.core.components.models.ListItem
getDescription, getLastModified, getName, getPath, getTitle, getURL
-
Methods inherited from interface com.adobe.cq.wcm.core.components.models.NavigationItem
getChildren, getLevel, getPage, isActive
-
-
-
-
Method Detail
-
getLocale
default java.util.Locale getLocale()
Returns the locale of thisLanguageNavigationItem
.- Returns:
- the locale of the language navigation item
- Since:
- com.adobe.cq.wcm.core.components.models 12.2.0
-
getCountry
default java.lang.String getCountry()
Returns the country of thisLanguageNavigationItem
.- Returns:
- the country of the language navigation item
- Since:
- com.adobe.cq.wcm.core.components.models 12.2.0
-
getLanguage
default java.lang.String getLanguage()
Returns the language of thisLanguageNavigationItem
.- Returns:
- the language of the language navigation item
- Since:
- com.adobe.cq.wcm.core.components.models 12.2.0
-
-