Interface HtmlWriteOptions.ElementCreator

  • Enclosing class:
    HtmlWriteOptions

    public static interface HtmlWriteOptions.ElementCreator
    • Method Detail

      • create

        org.jsoup.nodes.Element create​(String elementName,
                                       tech.tablesaw.columns.Column<?> column,
                                       Integer row)
        Called for each element created. Used as a hook to add classes or other attributes to the element.
        Parameters:
        elementName - element type to create. E.g. table, thead, tbody, tr, th, td
        column - the column this table cell corresponds to. null if not a td or th
        row - the row this table cell corresponds to. null if not a td or tr in table body
        Returns:
        HTML element
      • create

        default org.jsoup.nodes.Element create​(String elementName)