Interface LanguageNavigationItem

All Superinterfaces:
Component, ComponentExporter, ListItem, NavigationItem

@ConsumerType public interface LanguageNavigationItem extends NavigationItem
Interface for a single language navigation item, used by the LanguageNavigation model.
Since:
com.adobe.cq.wcm.core.components.models 12.2.0
  • Method Details

    • getLocale

      default Locale getLocale()
      Returns the locale of this LanguageNavigationItem.
      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 this LanguageNavigationItem.
      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 this LanguageNavigationItem.
      Returns:
      the language of the language navigation item
      Since:
      com.adobe.cq.wcm.core.components.models 12.2.0