Interface LanguageNavigation

All Superinterfaces:
Component, ComponentExporter

public interface LanguageNavigation extends Component
Defines the LanguageNavigation Sling Model used for the /apps/core/wcm/components/languagenavigation component.
Since:
com.adobe.cq.wcm.core.components.models 12.2.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Name of the resource / configuration policy property that defines the navigation root from which to build the global language structure navigation.
    static final String
    Name of the resource / configuration policy property that defines the depth of the global language structure in the content tree relative to the site root.

    Fields inherited from interface com.adobe.cq.wcm.core.components.models.Component

    PN_ID
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    Retrieves an accessibility label that describes the language navigation.
    Returns the list of language navigation items related to the current page.

    Methods inherited from interface com.adobe.cq.wcm.core.components.models.Component

    getAppliedCssClasses, getData, getExportedType, getId
  • Field Details

    • PN_NAVIGATION_ROOT

      static final String PN_NAVIGATION_ROOT
      Name of the resource / configuration policy property that defines the navigation root from which to build the global language structure navigation. The property should provide a String value.
      Since:
      com.adobe.cq.wcm.core.components.models 12.2.0
      See Also:
    • PN_STRUCTURE_DEPTH

      static final String PN_STRUCTURE_DEPTH
      Name of the resource / configuration policy property that defines the depth of the global language structure in the content tree relative to the site root. The property should provide a Long value.
      Since:
      com.adobe.cq.wcm.core.components.models 12.2.0
      See Also:
  • Method Details

    • getItems

      default List<NavigationItem> getItems()
      Returns the list of language navigation items related to the current page.
      Returns:
      a list of language navigation items related to the current page
      Since:
      com.adobe.cq.wcm.core.components.models 12.2.0
    • getAccessibilityLabel

      default String getAccessibilityLabel()
      Retrieves an accessibility label that describes the language navigation.
      Returns:
      an accessibility label for the language navigation
      Since:
      com.adobe.cq.wcm.core.components.models 12.9.0