Interface LanguageNavigation
-
- All Superinterfaces:
Component
,ComponentExporter
public interface LanguageNavigation extends Component
Defines theLanguageNavigation
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 java.lang.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.static java.lang.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.
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.lang.String
getAccessibilityLabel()
Retrieves an accessibility label that describes the language navigation.default java.util.List<NavigationItem>
getItems()
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 Detail
-
PN_NAVIGATION_ROOT
static final java.lang.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 java.lang.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 java.util.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 java.lang.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
-
-