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 String
getCountry()
Returns the country of thisLanguageNavigationItem
.default String
getLanguage()
Returns the language of thisLanguageNavigationItem
.default Locale
getLocale()
Returns the locale of thisLanguageNavigationItem
.-
Methods inherited from interface com.adobe.cq.wcm.core.components.models.Component
getAppliedCssClasses, getData, getExportedType, getId
-
Methods inherited from interface com.adobe.cq.wcm.core.components.models.ListItem
getDescription, getLastModified, getLink, getName, getPath, getTeaserResource, getTitle, getURL
-
Methods inherited from interface com.adobe.cq.wcm.core.components.models.NavigationItem
getChildren, getLevel, getPage, isActive, isCurrent
-
-
-
-
Method Detail
-
getLocale
default 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 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 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
-
-