DocumentSection Class
- java.
lang. Object - com.
azure. ai. documentintelligence. models. DocumentSection
- com.
Implements
public final class DocumentSection
implements JsonSerializable<DocumentSection>
An object representing a section in the document.
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Document |
fromJson(JsonReader jsonReader)
Reads an instance of Document |
List<String> |
getElements()
Get the elements property: Child elements of the section. |
List<Document |
getSpans()
Get the spans property: Location of the section in the reading order concatenated content. |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static DocumentSection fromJson(JsonReader jsonReader)
Reads an instance of DocumentSection from the JsonReader.
Parameters:
Returns:
Throws:
getElements
public List
Get the elements property: Child elements of the section.
Returns:
getSpans
public List
Get the spans property: Location of the section in the reading order concatenated content.
Returns:
toJson
Applies to
Azure SDK for Java