Class StringIndexType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<StringIndexType>
com.azure.ai.documentintelligence.models.StringIndexType
public final class StringIndexType
extends com.azure.core.util.ExpandableStringEnum<StringIndexType>
Method used to compute string offset and length.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final StringIndexType
User-perceived display character, or grapheme cluster, as defined by Unicode 8.0.0.static final StringIndexType
Character unit represented by a single unicode code point.static final StringIndexType
Character unit represented by a 16-bit Unicode code unit. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringIndexType
fromString
(String name) Creates or finds a StringIndexType from its string representation.static Collection<StringIndexType>
values()
Gets known StringIndexType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
TEXT_ELEMENTS
User-perceived display character, or grapheme cluster, as defined by Unicode 8.0.0. -
UNICODE_CODE_POINT
Character unit represented by a single unicode code point. Used by Python 3. -
UTF16CODE_UNIT
Character unit represented by a 16-bit Unicode code unit. Used by JavaScript, Java, and .NET.
-
-
Constructor Details
-
StringIndexType
Deprecated.Use thefromString(String)
factory method.Creates a new instance of StringIndexType value.
-
-
Method Details
-
fromString
Creates or finds a StringIndexType from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding StringIndexType.
-
values
Gets known StringIndexType values.- Returns:
- known StringIndexType values.
-
fromString(String)
factory method.