Class ReportHtmlTheme

java.lang.Object
com.shaft.tools.internal.support.ReportHtmlTheme

public final class ReportHtmlTheme extends Object
Shared CSS tokens for SHAFT-generated offline HTML reports.
  • Method Details

    • style

      public static String style()
      Returns the self-contained SHAFT report stylesheet.
      Returns:
      CSS stylesheet for generated reports
    • escapeHtml

      public static String escapeHtml(String value)
      Escapes user-supplied text for safe embedding in generated report HTML.
      Parameters:
      value - raw text, or null
      Returns:
      HTML-escaped text, never null
    • statusClass

      public static String statusClass(String status)
      Maps a report status to a CSS class suffix.
      Parameters:
      status - report status text
      Returns:
      normalized status class