Class DocumentTable
java.lang.Object
com.azure.ai.documentintelligence.models.DocumentTable
- All Implemented Interfaces:
com.azure.json.JsonSerializable<DocumentTable>
public final class DocumentTable
extends Object
implements com.azure.json.JsonSerializable<DocumentTable>
A table object consisting table cells arranged in a rectangular layout.
-
Method Summary
Modifier and TypeMethodDescriptionstatic DocumentTablefromJson(com.azure.json.JsonReader jsonReader) Reads an instance of DocumentTable from the JsonReader.Get the boundingRegions property: Bounding regions covering the table.Get the caption property: Caption associated with the table.getCells()Get the cells property: Cells contained within the table.intGet the columnCount property: Number of columns in the table.Get the footnotes property: List of footnotes associated with the table.intGet the rowCount property: Number of rows in the table.getSpans()Get the spans property: Location of the table in the reading order concatenated content.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
getRowCount
public int getRowCount()Get the rowCount property: Number of rows in the table.- Returns:
- the rowCount value.
-
getColumnCount
public int getColumnCount()Get the columnCount property: Number of columns in the table.- Returns:
- the columnCount value.
-
getCells
Get the cells property: Cells contained within the table.- Returns:
- the cells value.
-
getBoundingRegions
Get the boundingRegions property: Bounding regions covering the table.- Returns:
- the boundingRegions value.
-
getSpans
Get the spans property: Location of the table in the reading order concatenated content.- Returns:
- the spans value.
-
getCaption
Get the caption property: Caption associated with the table.- Returns:
- the caption value.
-
getFootnotes
Get the footnotes property: List of footnotes associated with the table.- Returns:
- the footnotes value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<DocumentTable>- Throws:
IOException
-
fromJson
Reads an instance of DocumentTable from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of DocumentTable if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the DocumentTable.
-