Interface HtmlPageItem


  • public interface HtmlPageItem
    This interface defines items that can be included on a page.
    Since:
    com.adobe.cq.wcm.core.components.models 12.16.0
    • Field Detail

      • PN_ELEMENT

        @Deprecated
        static final java.lang.String PN_ELEMENT
        Deprecated.
        since 12.18.0
        Property name that defines the type of the HTML element rendered by the page item
        Since:
        com.adobe.cq.wcm.core.components.models 12.16.0
        See Also:
        Constant Field Values
      • PN_LOCATION

        @Deprecated
        static final java.lang.String PN_LOCATION
        Deprecated.
        since 12.18.0
        Property that defines the location (header or footer) where the page item should be inserted
        Since:
        com.adobe.cq.wcm.core.components.models 12.16.0
        See Also:
        Constant Field Values
      • NN_ATTRIBUTES

        @Deprecated
        static final java.lang.String NN_ATTRIBUTES
        Deprecated.
        since 12.18.0
        Sub-node that holds the page item's attributes
        Since:
        com.adobe.cq.wcm.core.components.models 12.16.0
        See Also:
        Constant Field Values
    • Method Detail

      • getAttributes

        default java.util.Map<java.lang.String,​java.lang.Object> getAttributes()
        Returns the HTML attributes and values for the page item element.
        Returns:
        HTML attributes and values
        Since:
        com.adobe.cq.wcm.core.components.models 12.16.0