Interface Component
- All Superinterfaces:
ComponentExporter
- All Known Subinterfaces:
Accordion,Breadcrumb,Button,Carousel,Container,ContentFragment,ContentFragmentList,Download,Embed,ExperienceFragment,Image,LanguageNavigation,LanguageNavigationItem,LayoutContainer,List,ListItem,Navigation,NavigationItem,Page,PanelContainer,PdfViewer,ProgressBar,Search,Separator,SocialMediaHelper,TableOfContents,Tabs,Teaser,Text,Title
- All Known Implementing Classes:
AbstractComponentImpl
A base interface to be extended by components that need to provide access to common properties.
- Since:
- com.adobe.cq.wcm.core.components.models 12.8.0
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault @Nullable StringReturns the style system information associated with the componentdefault @Nullable ComponentDatagetData()Returns the data layer information associated with the componentdefault @NotNull StringReturns the type of the resource for which the export is performed.default @Nullable StringgetId()Returns the HTML id of the the component's root element
-
Field Details
-
PN_ID
Name of the resource property that indicates the HTML id for the component.- Since:
- com.adobe.cq.wcm.core.components.models 12.8.0
- See Also:
-
-
Method Details
-
getId
Returns the HTML id of the the component's root element- Returns:
- HTML id of the component's root element
- Since:
- com.adobe.cq.wcm.core.components.models 12.8.0
-
getData
Returns the data layer information associated with the component- Returns:
ComponentDataobject associated with the component- Since:
- com.adobe.cq.wcm.core.components.models 12.12.0
-
getAppliedCssClasses
Returns the style system information associated with the component- Returns:
- CSS classes selected by the content author delimited using a SPACE character
- Since:
- com.adobe.cq.wcm.core.components.models 12.20.0
-
getExportedType
Description copied from interface: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.
- Specified by:
getExportedTypein interfaceComponentExporter- Returns:
- the type of the component
- Since:
- com.adobe.cq.wcm.core.components.models 12.8.0
- See Also:
-