Annotation Type HtmlPageItemConfig


public @interface HtmlPageItemConfig
Context-aware configuration holding information on an item to be included in pages: - scripts - links - meta This configuration is meant to be used as a context-aware resource. See Context-Aware Resources
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Returns the type of element that should be rendered.
    Returns the location of where the element should be rendered.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The attributes to render as part of the element.
  • Element Details

    • element

      String element
      Returns the type of element that should be rendered.
      Returns:
      The type of element to render
      Since:
      com.adobe.cq.wcm.core.components.config 2.0.0
    • location

      String location
      Returns the location of where the element should be rendered.
      Returns:
      The location where to render the element
      Since:
      com.adobe.cq.wcm.core.components.config 2.0.0
    • attributes

      AttributeConfig[] attributes
      The attributes to render as part of the element.
      Returns:
      The attributes of the element to render
      Since:
      com.adobe.cq.wcm.core.components.config 2.0.0
      Default:
      {}