Package com.adobe.cq.wcm.style
Interface ContentPolicyStyleInfo
A
ContentPolicyStyleInfo provides 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
Modifier and TypeMethodDescriptionRetrieves the default CSS classes defined at the content policy of a component.Retrieves the default HTML element that is applied at the content policy of a component.Retrieves the list of style groups defined at the content policy of a component.
-
Method Details
-
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
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
-
getDefaultHtmlElement
Retrieves the default HTML element that is applied at the content policy of a component.- Returns:
- the HTML element if defined,
nullotherwise - Since:
- com.adobe.cq.wcm.style 2.1.0
-