java.lang.Object
com.azure.core.util.ExpandableStringEnum<ParagraphRole>
com.azure.ai.formrecognizer.documentanalysis.models.ParagraphRole

public final class ParagraphRole extends com.azure.core.util.ExpandableStringEnum<ParagraphRole>
Semantic role of the paragraph.
  • Field Details

    • PAGE_NUMBER

      public static final ParagraphRole PAGE_NUMBER
      Static value pageNumber for ParagraphRole.
    • TITLE

      public static final ParagraphRole TITLE
      Static value title for ParagraphRole.
    • SECTION_HEADING

      public static final ParagraphRole SECTION_HEADING
      Static value sectionHeading for ParagraphRole.
    • FOOTNOTE

      public static final ParagraphRole FOOTNOTE
      Static value footnote for ParagraphRole.
    • FORMULA_BLOCK

      public static final ParagraphRole FORMULA_BLOCK
      Static value formulaBlock for ParagraphRole.
  • Constructor Details

    • ParagraphRole

      @Deprecated public ParagraphRole()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of ParagraphRole value.
  • Method Details

    • fromString

      public static ParagraphRole fromString(String name)
      Creates or finds a ParagraphRole from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding ParagraphRole.
    • values

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