Package com.adobe.cq.wcm.style
Interface ContentPolicyStyleInfo
-
@ProviderType public interface ContentPolicyStyleInfo
AContentPolicyStyleInfo
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getDefaultCssClasses()
Retrieves the default CSS classes defined at the content policy of a component.java.lang.String
getDefaultHtmlElement()
Retrieves the default HTML element that is applied at the content policy of a component.java.util.List<StyleGroupInfo>
getStyleGroups()
Retrieves the list of style groups defined at the content policy of a component.
-
-
-
Method Detail
-
getStyleGroups
@Nonnull java.util.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 java.lang.String getDefaultCssClasses()
Retrieves the default CSS classes defined at the content policy of a component.- Returns:
- the CSS classes if defined,
null
otherwise - Since:
- com.adobe.cq.wcm.style 2.1.0
-
getDefaultHtmlElement
@Nullable java.lang.String getDefaultHtmlElement()
Retrieves the default HTML element that is applied at the content policy of a component.- Returns:
- the HTML element if defined,
null
otherwise - Since:
- com.adobe.cq.wcm.style 2.1.0
-
-