AnalyzeResult Class
- java.
lang. Object - com.
azure. ai. documentintelligence. models. AnalyzeResult
- com.
Implements
public final class AnalyzeResult
implements JsonSerializable<AnalyzeResult>
Document analysis result.
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Analyze |
fromJson(JsonReader jsonReader)
Reads an instance of Analyze |
String |
getApiVersion()
Get the api |
String |
getContent()
Get the content property: Concatenate string representation of all textual and visual elements in reading order. |
Document |
getContentFormat()
Get the content |
List<Analyzed |
getDocuments()
Get the documents property: Extracted documents. |
List<Document |
getFigures()
Get the figures property: Extracted figures. |
List<Document |
getKeyValuePairs()
Get the key |
List<Document |
getLanguages()
Get the languages property: Detected languages. |
String |
getModelId()
Get the model |
List<Document |
getPages()
Get the pages property: Analyzed pages. |
List<Document |
getParagraphs()
Get the paragraphs property: Extracted paragraphs. |
List<Document |
getSections()
Get the sections property: Extracted sections. |
String |
getStringIndexType()
Get the string |
List<Document |
getStyles()
Get the styles property: Extracted font styles. |
List<Document |
getTables()
Get the tables property: Extracted tables. |
List<Document |
getWarnings()
Get the warnings property: List of warnings encountered. |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static AnalyzeResult fromJson(JsonReader jsonReader)
Reads an instance of AnalyzeResult from the JsonReader.
Parameters:
Returns:
Throws:
getApiVersion
public String getApiVersion()
Get the apiVersion property: API version used to produce this result.
Returns:
getContent
public String getContent()
Get the content property: Concatenate string representation of all textual and visual elements in reading order.
Returns:
getContentFormat
public DocumentContentFormat getContentFormat()
Get the contentFormat property: Format of the analyze result top-level content.
Returns:
getDocuments
public List
Get the documents property: Extracted documents.
Returns:
getFigures
public List
Get the figures property: Extracted figures.
Returns:
getKeyValuePairs
public List
Get the keyValuePairs property: Extracted key-value pairs.
Returns:
getLanguages
public List
Get the languages property: Detected languages.
Returns:
getModelId
public String getModelId()
Get the modelId property: Document model ID used to produce this result.
Returns:
getPages
public List
Get the pages property: Analyzed pages.
Returns:
getParagraphs
public List
Get the paragraphs property: Extracted paragraphs.
Returns:
getSections
public List
Get the sections property: Extracted sections.
Returns:
getStringIndexType
public StringIndexType getStringIndexType()
Get the stringIndexType property: Method used to compute string offset and length.
Returns:
getStyles
public List
Get the styles property: Extracted font styles.
Returns:
getTables
public List
Get the tables property: Extracted tables.
Returns:
getWarnings
public List
Get the warnings property: List of warnings encountered.
Returns:
toJson
Applies to
Azure SDK for Java