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 Details

    • TEXT

      public static final DocumentContentFormat TEXT
      Plain text representation of the document content without any formatting.
    • MARKDOWN

      public static final DocumentContentFormat MARKDOWN
      Markdown representation of the document content with section headings, tables, etc.
  • Constructor Details

    • DocumentContentFormat

      @Deprecated public DocumentContentFormat()
      Deprecated.
      Use the fromString(String) factory method.
      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:
      name - a name to look for.
      Returns:
      the corresponding DocumentContentFormat.
    • values

      public static Collection<DocumentContentFormat> values()
      Gets known DocumentContentFormat values.
      Returns:
      known DocumentContentFormat values.