Class TableUtils


  • public final class TableUtils
    extends Object
    Provides static utility methods for dealing with tables.
    • Method Detail

      • generateRowArrayNode

        public static com.fasterxml.jackson.databind.node.ArrayNode generateRowArrayNode​(TableModel tm)
        Generates a JSON array node from the rows of the given table model.
        Parameters:
        tm - the table model
        Returns:
        the array node representation of rows
      • generateAnnotObjectNode

        public static com.fasterxml.jackson.databind.node.ObjectNode generateAnnotObjectNode​(TableModel tm)
        Generates a JSON object node from the annotations of the given table model.
        Parameters:
        tm - the table model
        Returns:
        the object node representation of the annotations