Class ParagraphRole
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ParagraphRole>
com.azure.ai.formrecognizer.documentanalysis.models.ParagraphRole
Semantic role of the paragraph.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ParagraphRole
Static value footnote for ParagraphRole.static final ParagraphRole
Static value formulaBlock for ParagraphRole.static final ParagraphRole
Static value pageFooter for ParagraphRole.static final ParagraphRole
Static value pageHeader for ParagraphRole.static final ParagraphRole
Static value pageNumber for ParagraphRole.static final ParagraphRole
Static value sectionHeading for ParagraphRole.static final ParagraphRole
Static value title for ParagraphRole. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ParagraphRole
fromString
(String name) Creates or finds a ParagraphRole from its string representation.static Collection<ParagraphRole>
values()
Gets known ParagraphRole values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
PAGE_HEADER
Static value pageHeader for ParagraphRole. -
PAGE_FOOTER
Static value pageFooter for ParagraphRole. -
PAGE_NUMBER
Static value pageNumber for ParagraphRole. -
TITLE
Static value title for ParagraphRole. -
SECTION_HEADING
Static value sectionHeading for ParagraphRole. -
FOOTNOTE
Static value footnote for ParagraphRole. -
FORMULA_BLOCK
Static value formulaBlock for ParagraphRole.
-
-
Constructor Details
-
ParagraphRole
Deprecated.Use thefromString(String)
factory method.Creates a new instance of ParagraphRole value.
-
-
Method Details
-
fromString
Creates or finds a ParagraphRole from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding ParagraphRole.
-
values
Gets known ParagraphRole values.- Returns:
- known ParagraphRole values.
-
fromString(String)
factory method.