AnnotationFormat Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. ai. contentunderstanding. models. AnnotationFormat
- com.
- com.
public final class AnnotationFormat
extends ExpandableStringEnum<AnnotationFormat>
Representation format of annotations in analyze result markdown.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Annotation |
MARKDOWN
Represent basic annotation information using markdown formatting. |
|
static final
Annotation |
NONE
Do not represent annotations. |
Constructor Summary
| Constructor | Description |
|---|---|
| AnnotationFormat() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Annotation |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Annotation |
fromString(String name)
Creates or finds a Annotation |
|
static
Collection<Annotation |
values()
Gets known Annotation |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
MARKDOWN
public static final AnnotationFormat MARKDOWN
Represent basic annotation information using markdown formatting.
NONE
public static final AnnotationFormat NONE
Do not represent annotations.
Constructor Details
AnnotationFormat
@Deprecated
public AnnotationFormat()
Deprecated
Creates a new instance of AnnotationFormat value.
Method Details
fromString
public static AnnotationFormat fromString(String name)
Creates or finds a AnnotationFormat from its string representation.
Parameters:
Returns:
values
public static Collection<AnnotationFormat> values()
Gets known AnnotationFormat values.
Returns: