Package com.adobe.cq.wcm.style
Interface StyleInfo
-
@ProviderType public interface StyleInfo
AStyleInfo
provides methods for retrieving style information. It represents a style resource defined in a content policy below acq:styles
node.- Since:
- com.adobe.cq.wcm.style 1.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getCssClasses()
Retrieves the CSS style classes defined as a string for the style.String
getHtmlElement()
Retrieves the HTML element defined for the style.String
getId()
Retrieves the style ID.String
getLabel()
Retrieves the readable name of the style.
-
-
-
Method Detail
-
getId
@Nullable String getId()
Retrieves the style ID.- Returns:
- the unique style ID if it exists,
null
otherwise - Since:
- com.adobe.cq.wcm.style 1.0.0
-
getLabel
@Nullable String getLabel()
Retrieves the readable name of the style.- Returns:
- the readable name of the style if it exists,
null
otherwise - Since:
- com.adobe.cq.wcm.style 1.0.0
-
getCssClasses
@Nullable String getCssClasses()
Retrieves the CSS style classes defined as a string for the style.- Returns:
- the CSS style classes string if it exists,
null
otherwise - Since:
- com.adobe.cq.wcm.style 1.0.0
-
-