Sdílet prostřednictvím


DocumentTable Class

  • java.lang.Object
    • com.azure.ai.documentintelligence.models.DocumentTable

Implements

public final class DocumentTable
implements JsonSerializable<DocumentTable>

A table object consisting table cells arranged in a rectangular layout.

Method Summary

Modifier and Type Method and Description
static DocumentTable fromJson(JsonReader jsonReader)

Reads an instance of DocumentTable from the JsonReader.

List<BoundingRegion> getBoundingRegions()

Get the boundingRegions property: Bounding regions covering the table.

DocumentCaption getCaption()

Get the caption property: Caption associated with the table.

List<DocumentTableCell> getCells()

Get the cells property: Cells contained within the table.

int getColumnCount()

Get the columnCount property: Number of columns in the table.

List<DocumentFootnote> getFootnotes()

Get the footnotes property: List of footnotes associated with the table.

int getRowCount()

Get the rowCount property: Number of rows in the table.

List<DocumentSpan> getSpans()

Get the spans property: Location of the table in the reading order concatenated content.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static DocumentTable fromJson(JsonReader jsonReader)

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:

IOException

- If the deserialized JSON object was missing any required properties.

getBoundingRegions

public List getBoundingRegions()

Get the boundingRegions property: Bounding regions covering the table.

Returns:

the boundingRegions value.

getCaption

public DocumentCaption getCaption()

Get the caption property: Caption associated with the table.

Returns:

the caption value.

getCells

public List getCells()

Get the cells property: Cells contained within the table.

Returns:

the cells value.

getColumnCount

public int getColumnCount()

Get the columnCount property: Number of columns in the table.

Returns:

the columnCount value.

getFootnotes

public List getFootnotes()

Get the footnotes property: List of footnotes associated with the table.

Returns:

the footnotes value.

getRowCount

public int getRowCount()

Get the rowCount property: Number of rows in the table.

Returns:

the rowCount value.

getSpans

public List getSpans()

Get the spans property: Location of the table in the reading order concatenated content.

Returns:

the spans value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to