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
FieldsModifier and TypeFieldDescriptionstatic final ParagraphRoleStatic value footnote for ParagraphRole.static final ParagraphRoleStatic value formulaBlock for ParagraphRole.static final ParagraphRoleStatic value pageFooter for ParagraphRole.static final ParagraphRoleStatic value pageHeader for ParagraphRole.static final ParagraphRoleStatic value pageNumber for ParagraphRole.static final ParagraphRoleStatic value sectionHeading for ParagraphRole.static final ParagraphRoleStatic value title for ParagraphRole. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ParagraphRolefromString(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.