DocumentContentFormat Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. ai. documentintelligence. models. DocumentContentFormat
- com.
- com.
public final class DocumentContentFormat
extends ExpandableStringEnum<DocumentContentFormat>
Format of the content in analyzed result.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Document |
MARKDOWN
Markdown representation of the document content with section headings, tables, etc. |
static final
Document |
TEXT
Plain text representation of the document content without any formatting. |
Constructor Summary
Constructor | Description |
---|---|
DocumentContentFormat() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Document |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Document |
fromString(String name)
Creates or finds a Document |
static
Collection<Document |
values()
Gets known Document |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
MARKDOWN
public static final DocumentContentFormat MARKDOWN
Markdown representation of the document content with section headings, tables, etc.
TEXT
public static final DocumentContentFormat TEXT
Plain text representation of the document content without any formatting.
Constructor Details
DocumentContentFormat
@Deprecated
public DocumentContentFormat()
Deprecated
Creates a new instance of DocumentContentFormat value.
Method Details
fromString
public static DocumentContentFormat fromString(String name)
Creates or finds a DocumentContentFormat from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known DocumentContentFormat values.
Returns:
Applies to
Azure SDK for Java