Package com.adobe.cq.wcm.style
Interface StyleInfo
A
StyleInfo provides methods for retrieving style information.
It represents a style resource defined in a content policy below a cq:styles node.- Since:
- com.adobe.cq.wcm.style 1.0.0
-
Method Details
-
getId
Retrieves the style ID.- Returns:
- the unique style ID if it exists,
nullotherwise - Since:
- com.adobe.cq.wcm.style 1.0.0
-
getLabel
Retrieves the readable name of the style.- Returns:
- the readable name of the style if it exists,
nullotherwise - Since:
- com.adobe.cq.wcm.style 1.0.0
-
getCssClasses
Retrieves the CSS style classes defined as a string for the style.- Returns:
- the CSS style classes string if it exists,
nullotherwise - Since:
- com.adobe.cq.wcm.style 1.0.0
-
getHtmlElement
Retrieves the HTML element defined for the style.- Returns:
- the HTML element if it exists,
nullotherwise - Since:
- com.adobe.cq.wcm.style 1.0.0
-