Interface LanguageNavigationItem
-
- All Superinterfaces:
Component,ComponentExporter,ListItem,NavigationItem
@ConsumerType public interface LanguageNavigationItem extends NavigationItem
Interface for a single language navigation item, used by theLanguageNavigationmodel.- 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.StringgetCountry()Returns the country of thisLanguageNavigationItem.default java.lang.StringgetLanguage()Returns the language of thisLanguageNavigationItem.default java.util.LocalegetLocale()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 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
-
-