DocumentTable Class
- java.
lang. Object - com.
azure. ai. contentunderstanding. models. DocumentTable
- com.
Implements
public final class DocumentTable
implements JsonSerializable<DocumentTable>
Table in a document, consisting table cells arranged in a rectangular layout.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Document |
fromJson(JsonReader jsonReader)
Reads an instance of Document |
|
Document |
getCaption()
Get the caption property: Table caption. |
|
List<Document |
getCells()
Get the cells property: Cells contained within the table. |
| int |
getColumnCount()
Get the column |
|
List<Document |
getFootnotes()
Get the footnotes property: List of table footnotes. |
|
Semantic |
getRole()
Get the role property: Semantic role of the table. |
| int |
getRowCount()
Get the row |
| String |
getSource()
Get the source property: Encoded source that identifies the position of the table in the content. |
|
Content |
getSpan()
Get the span property: Span of the table in the markdown content. |
|
Json |
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:
Returns:
Throws:
getCaption
public DocumentCaption getCaption()
Get the caption property: Table caption.
Returns:
getCells
public List<DocumentTableCell> getCells()
Get the cells property: Cells contained within the table.
Returns:
getColumnCount
public int getColumnCount()
Get the columnCount property: Number of columns in the table.
Returns:
getFootnotes
public List<DocumentFootnote> getFootnotes()
Get the footnotes property: List of table footnotes.
Returns:
getRole
public SemanticRole getRole()
Get the role property: Semantic role of the table.
Returns:
getRowCount
public int getRowCount()
Get the rowCount property: Number of rows in the table.
Returns:
getSource
public String getSource()
Get the source property: Encoded source that identifies the position of the table in the content.
Returns:
getSpan
public ContentSpan getSpan()
Get the span property: Span of the table in the markdown content.
Returns: