ParagraphRole Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. ai. formrecognizer. documentanalysis. models. ParagraphRole
- com.
- com.
public final class ParagraphRole
extends ExpandableStringEnum<ParagraphRole>
Semantic role of the paragraph.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Paragraph |
FOOTNOTE
A note usually placed after the main content on a page. |
static final
Paragraph |
FORMULA_BLOCK
A block of formulas, often with shared alignment. |
static final
Paragraph |
PAGE_FOOTER
Text near the bottom edge of the page. |
static final
Paragraph |
PAGE_HEADER
Text near the top edge of the page. |
static final
Paragraph |
PAGE_NUMBER
Page number. |
static final
Paragraph |
SECTION_HEADING
Sub heading describing a section of the document. |
static final
Paragraph |
TITLE
Top-level title describing the entire document. |
Constructor Summary
Constructor | Description |
---|---|
ParagraphRole() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Paragraph |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Paragraph |
fromString(String name)
Creates or finds a Paragraph |
static
Collection<Paragraph |
values()
Gets known Paragraph |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
FOOTNOTE
public static final ParagraphRole FOOTNOTE
A note usually placed after the main content on a page.
FORMULA_BLOCK
public static final ParagraphRole FORMULA_BLOCK
A block of formulas, often with shared alignment.
PAGE_FOOTER
public static final ParagraphRole PAGE_FOOTER
Text near the bottom edge of the page.
PAGE_HEADER
public static final ParagraphRole PAGE_HEADER
Text near the top edge of the page.
PAGE_NUMBER
public static final ParagraphRole PAGE_NUMBER
Page number.
SECTION_HEADING
public static final ParagraphRole SECTION_HEADING
Sub heading describing a section of the document.
TITLE
public static final ParagraphRole TITLE
Top-level title describing the entire document.
Constructor Details
ParagraphRole
@Deprecated
public ParagraphRole()
Deprecated
Creates a new instance of ParagraphRole value.
Method Details
fromString
public static ParagraphRole fromString(String name)
Creates or finds a ParagraphRole from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known ParagraphRole values.
Returns:
Applies to
Azure SDK for Java