Class ParagraphRole
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ParagraphRole>
com.azure.ai.documentintelligence.models.ParagraphRole
Semantic role of the paragraph.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ParagraphRole
A note usually placed after the main content on a page.static final ParagraphRole
A block of formulas, often with shared alignment.static final ParagraphRole
Text near the bottom edge of the page.static final ParagraphRole
Text near the top edge of the page.static final ParagraphRole
Page number.static final ParagraphRole
Sub heading describing a section of the document.static final ParagraphRole
Top-level title describing the entire document. -
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
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.