Class ParagraphRole
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ParagraphRole>
com.azure.ai.documentintelligence.models.ParagraphRole
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
Semantic role of the paragraph.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ParagraphRoleA note usually placed after the main content on a page.static final ParagraphRoleA block of formulas, often with shared alignment.static final ParagraphRoleText near the bottom edge of the page.static final ParagraphRoleText near the top edge of the page.static final ParagraphRolePage number.static final ParagraphRoleSub heading describing a section of the document.static final ParagraphRoleTop-level title describing the entire document. -
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, getValue, hashCode, toString, values
-
Field Details
-
PAGE_HEADER
Text near the top edge of the page. -
PAGE_FOOTER
Text near the bottom edge of the page. -
PAGE_NUMBER
Page number. -
TITLE
Top-level title describing the entire document. -
SECTION_HEADING
Sub heading describing a section of the document. -
FOOTNOTE
A note usually placed after the main content on a page. -
FORMULA_BLOCK
A block of formulas, often with shared alignment.
-
-
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.