DocumentContentSegment Class
- java.
lang. Object - com.
azure. ai. contentunderstanding. models. DocumentContentSegment
- com.
Implements
public final class DocumentContentSegment
implements JsonSerializable<DocumentContentSegment>
Detected document content segment.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Document |
fromJson(JsonReader jsonReader)
Reads an instance of Document |
| String |
getCategory()
Get the category property: Classified content category. |
| int |
getEndPageNumber()
Get the end |
| String |
getSegmentId()
Get the segment |
|
Content |
getSpan()
Get the span property: Span of the segment in the markdown content. |
| int |
getStartPageNumber()
Get the start |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static DocumentContentSegment fromJson(JsonReader jsonReader)
Reads an instance of DocumentContentSegment from the JsonReader.
Parameters:
Returns:
Throws:
getCategory
public String getCategory()
Get the category property: Classified content category.
Returns:
getEndPageNumber
public int getEndPageNumber()
Get the endPageNumber property: End page number (1-indexed) of the segment.
Returns:
getSegmentId
public String getSegmentId()
Get the segmentId property: Segment identifier.
Returns:
getSpan
public ContentSpan getSpan()
Get the span property: Span of the segment in the markdown content.
Returns:
getStartPageNumber
public int getStartPageNumber()
Get the startPageNumber property: Start page number (1-indexed) of the segment.
Returns: