Class DocumentContentFormat
java.lang.Object
com.azure.core.util.ExpandableStringEnum<DocumentContentFormat>
com.azure.ai.documentintelligence.models.DocumentContentFormat
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class DocumentContentFormat
extends com.azure.core.util.ExpandableStringEnum<DocumentContentFormat>
Format of the content in analyzed result.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final DocumentContentFormat
Markdown representation of the document content with section headings, tables, etc.static final DocumentContentFormat
Plain text representation of the document content without any formatting. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DocumentContentFormat
fromString
(String name) Creates or finds a DocumentContentFormat from its string representation.static Collection
<DocumentContentFormat> values()
Gets known DocumentContentFormat values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
TEXT
Plain text representation of the document content without any formatting. -
MARKDOWN
Markdown representation of the document content with section headings, tables, etc.
-
-
Constructor Details
-
DocumentContentFormat
Deprecated.Use thefromString(String)
factory method.Creates a new instance of DocumentContentFormat value.
-
-
Method Details
-
fromString
Creates or finds a DocumentContentFormat from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding DocumentContentFormat.
-
values
Gets known DocumentContentFormat values.- Returns:
- known DocumentContentFormat values.
-
fromString(String)
factory method.