java.lang.Object
name.jurgenei.gradle.ooxml.canonical.Table

public class Table extends Object
Canonical table container.
  • Constructor Details

    • Table

      public Table()
    • Table

      public Table(List<Row> rows)
      Creates a table with pre-populated row content.
      Parameters:
      rows - canonical rows.
    • Table

      public Table(String id, List<Row> rows)
      Creates a table with a logical identifier, for example an XLSX worksheet name.
      Parameters:
      id - logical table identifier.
      rows - canonical rows.
    • Table

      public Table(String id, String sourcePath, List<Row> rows)
      Creates a table with a logical identifier and extraction source path.
      Parameters:
      id - logical table identifier.
      sourcePath - source provenance path.
      rows - canonical rows.
  • Method Details

    • getId

      public String getId()
    • getSourcePath

      public String getSourcePath()
      Returns:
      source provenance path.
    • setSourcePath

      public void setSourcePath(String sourcePath)
      Sets source provenance path after extraction.
      Parameters:
      sourcePath - source provenance path.
    • getRows

      public List<Row> getRows()
      Returns:
      canonical rows in document order.