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 Detail

      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
    • Method Detail

      • 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