Package com.adobe.cq.wcm.core.components.models
This package defines the Sling Models exposed by the Adobe Experience Manager Core WCM Components Bundle.
Implementors of this API can choose which API level they support, by implementing all the methods up to a specified version of the API. All the provided interfaces document in which API version they were added. Furthermore, all methods also specify the API version in which they were introduced and deprecated.
All the interfaces from this package provide default methods that throw UnsupportedOperationExceptions.
The reasoning behind this pattern is that implementors can upgrade the bundle without being forced to implement all the
new methods provided by a newer API version, since the interfaces from this package are
ConsumerTypes. An UnsupportedOperationException could be thrown when a
component script would start using the newer API, without the actual implementation to support it. This can happen when an
implementor migrates a
proxy component
to a newer version of the core component it proxies and a custom Sling Model implementation, supporting an older API
version, is bound to this proxy component resource type.
-
ClassDescriptionDefines the
AccordionSling Model used for the/apps/core/wcm/components/accordioncomponent.Defines theBreadcrumbSling Model used for the/apps/core/wcm/components/breadcrumbcomponent.Defines theButtonSling Model used for the/apps/core/wcm/components/buttoncomponent.Defines theCarouselSling Model used for the/apps/core/wcm/components/carouselcomponent.Defines theClientLibrariesSling Model used to collect and include client libraries.A base interface to be extended by components that need to provide access to common properties.This utility model allows looking up the paths of specific files from a collection of components, specified as Sling resource types.A base interface to be extended by all containers.Interface for a single item in a container.Defines theDownloadSling Model used for the/apps/core/wcm/components/downloadcomponent.Defines theEmbedSling Model used for the/apps/core/wcm/components/embedcomponent.Enumeration of the supported embed input types.Defines theExperienceFragmentSling Model used for the/apps/core/wcm/components/experiencefragmentcomponent.This interface defines items that can be included on a page.enumthat defines the possible HTML elements for a page itemenumthat defines possible insert positions for a page item.Defines theImageSling Model used for the/apps/core/wcm/components/imagecomponent.Interface for an image map area, used by theImagemodel.Defines theLanguageNavigationSling Model used for the/apps/core/wcm/components/languagenavigationcomponent.Interface for a single language navigation item, used by theLanguageNavigationmodel.Defines theLayoutContainerSling Model used for the/apps/core/wcm/components/containercomponent.Enumeration of supported layout types for the container componentDefines theListSling Model used for the/apps/core/wcm/components/listcomponent.Defines theNavigationSling Model used for the/apps/core/wcm/components/navigationcomponent.Interface for a single navigation item, used by theBreadcrumbandNavigationmodels.Defines thePageSling Model used for the/apps/core/wcm/components/pagecomponent.A base interface for all containers that contain panels.Interface for a container item that is a panel.Defines thePdfViewercomponent model.Interface for reading progressive web apps configurationDefines theSearchSling Model used for the/apps/core/wcm/components/searchcomponent.Defines theSeparatorSling Model used for the/apps/core/wcm/components/separatorcomponent.Deprecated.The Social Media Sharing component is deprecated since Core Components 2.18.0 and should not be used in new projects.Defines the possible heading levels for table of contents corresponding to 'h1' till 'h6'Defines the possible list types for table of contentsDefines theTabsSling Model used for the/apps/core/wcm/components/tabscomponent.Defines theTeaserSling Model for the/apps/core/wcm/components/teasercomponent.Defines theTextSling Model used for the/apps/core/wcm/components/textcomponent.Defines theTitleSling Model used for the/apps/core/wcm/components/titlecomponent.