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
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumenumthat defines the possible HTML elements for a page itemstatic enumenumthat defines possible insert positions for a page item. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.since 12.18.0static final StringDeprecated.since 12.18.0static final StringHREF attribute forHtmlPageItem.Element.LINKpage itemsstatic final StringDeprecated.since 12.18.0static final StringSRC attribute forHtmlPageItem.Element.SCRIPTpage items -
Method Summary
Modifier and TypeMethodDescriptionReturns the HTML attributes and values for the page item element.default HtmlPageItem.ElementReturns theHtmlPageItem.Elementtype for the page item.default HtmlPageItem.LocationReturns theHtmlPageItem.Locationwhere the page item should be inserted.
-
Field Details
-
PN_ELEMENT
Deprecated.since 12.18.0Property 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:
-
PN_LOCATION
Deprecated.since 12.18.0Property 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:
-
NN_ATTRIBUTES
Deprecated.since 12.18.0Sub-node that holds the page item's attributes- Since:
- com.adobe.cq.wcm.core.components.models 12.16.0
- See Also:
-
PN_HREF
HREF attribute forHtmlPageItem.Element.LINKpage items- Since:
- com.adobe.cq.wcm.core.components.models 12.16.0
- See Also:
-
PN_SRC
SRC attribute forHtmlPageItem.Element.SCRIPTpage items- Since:
- com.adobe.cq.wcm.core.components.models 12.16.0
- See Also:
-
-
Method Details
-
getElement
Returns theHtmlPageItem.Elementtype for the page item.- Returns:
HtmlPageItem.Elementtype- Since:
- com.adobe.cq.wcm.core.components.models 12.16.0
-
getLocation
Returns theHtmlPageItem.Locationwhere the page item should be inserted.- Returns:
HtmlPageItem.Locationwhere item should be inserted- Since:
- com.adobe.cq.wcm.core.components.models 12.16.0
-
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
-