Package com.adobe.cq.wcm.style
Interface ContentPolicyStyleInfo
-
@ProviderType public interface ContentPolicyStyleInfo
AContentPolicyStyleInfoprovides methods for retrieving information about the styles defined at the content policy of a component.- Since:
- com.adobe.cq.wcm.style 1.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDefaultCssClasses()Retrieves the default CSS classes defined at the content policy of a component.StringgetDefaultHtmlElement()Retrieves the default HTML element that is applied at the content policy of a component.List<StyleGroupInfo>getStyleGroups()Retrieves the list of style groups defined at the content policy of a component.
-
-
-
Method Detail
-
getStyleGroups
@Nonnull List<StyleGroupInfo> getStyleGroups()
Retrieves the list of style groups defined at the content policy of a component.- Returns:
- the list of the style groups if any, an empty list otherwise
- Since:
- com.adobe.cq.wcm.style 1.0.0
-
getDefaultCssClasses
@Nullable String getDefaultCssClasses()
Retrieves the default CSS classes defined at the content policy of a component.- Returns:
- the CSS classes if defined,
nullotherwise - Since:
- com.adobe.cq.wcm.style 2.1.0
-
-