Interface IHTMLExtension

All Known Implementing Classes:
HTMLExtension

public interface IHTMLExtension
Extension interface for HTML report
Author:
hengsin
  • Method Details

    • getClassPrefix

      String getClassPrefix()
      Get CSS class prefix for HTML report element
      Returns:
      CSS class prefix for HTML report element
    • getStyleURL

      String getStyleURL()
      Get URL to report CSS
      Returns:
      URL to report CSS
    • getScriptURL

      String getScriptURL()
      Get URL to report javascript
      Returns:
      URL to report javascript
    • extendRowElement

      void extendRowElement(org.apache.ecs.ConcreteElement row, PrintData printData)
      Apply customization to row
      Parameters:
      row -
      printData -
    • extendIDColumn

      void extendIDColumn(int row, org.apache.ecs.ConcreteElement columnElement, org.apache.ecs.xhtml.a href, PrintDataElement dataElement)
      Apply customization to ID element
      Parameters:
      row -
      columnElement -
      href - link for ID column
      dataElement -
    • setWebAttribute

      void setWebAttribute(org.apache.ecs.xhtml.body reportBody)
      Add attributes to reportBody
      Parameters:
      reportBody -
    • getFullPathStyle

      String getFullPathStyle()
      Get absolute local file path to CSS file (typically for embedding the file content to HTML report)
      Returns:
      absolute local file path to CSS file
    • getWebFontLinks

      String getWebFontLinks()
      Get one or more links (<link ... >) to web font
      Returns:
      one or more links for web font