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>
Defines values for ParagraphRole.
  • 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.
  • Constructor Details

    • ParagraphRole

      public ParagraphRole()
  • 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()
      Returns:
      known ParagraphRole values.