Class AbstractComponentImpl
java.lang.Object
com.adobe.cq.wcm.core.components.util.AbstractComponentImpl
- All Implemented Interfaces:
ComponentExporter,Component
Abstract class that can be used as a base class for
Component implementations.-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AbstractComponentImpl
public AbstractComponentImpl()
-
-
Method Details
-
getId
Description copied from interface:ComponentReturns the HTML id of the the component's root element -
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 interfaceComponent- Specified by:
getExportedTypein interfaceComponentExporter- Returns:
- the type of the component
- See Also:
-
getData
-
getAppliedCssClasses
- Specified by:
getAppliedCssClassesin interfaceComponent- Returns:
- The component styles/css class names
-