public interface LanguageNavigation extends Component
LanguageNavigation Sling Model used for the /apps/core/wcm/components/languagenavigation component.| Modifier and Type | Field and Description |
|---|---|
static 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 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.
|
| Modifier and Type | Method and Description |
|---|---|
default @NotNull String |
getExportedType()
Returns the type of the resource for which the export is performed.
|
default List<NavigationItem> |
getItems()
Returns the list of language navigation items related to the current page.
|
static final String PN_NAVIGATION_ROOT
static final String PN_STRUCTURE_DEPTH
default List<NavigationItem> getItems()
@NotNull default @NotNull String getExportedType()
ComponentExporterReturns the type of the resource for which the export is performed.
NOTE: methods whose JSON serialization would lead to the same JSON property name (":type") will not be serialized.
getExportedType in interface ComponentgetExportedType in interface ComponentExporterComponentExporter.getExportedType()Copyright © 2010 - 2020 Adobe. All Rights Reserved