Class StringIndexType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<StringIndexType>
com.azure.ai.documentintelligence.models.StringIndexType
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class StringIndexType
extends com.azure.core.util.ExpandableStringEnum<StringIndexType>
Method used to compute string offset and length.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringIndexTypeUser-perceived display character, or grapheme cluster, as defined by Unicode 8.0.0.static final StringIndexTypeCharacter unit represented by a single unicode code point.static final StringIndexTypeCharacter unit represented by a 16-bit Unicode code unit. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringIndexTypefromString(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, getValue, 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. -
UTF16_CODE_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.