Interface ScriptAttribute
- All Superinterfaces:
Attribute
- All Known Implementing Classes:
ScriptAttributeImpl
This attribute stores the UTR #24 script value for a token of text.
- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
Method Summary
-
Method Details
-
getCode
int getCode()Get the numeric code for this script value. This is the constant value fromUScript
.- Returns:
- numeric code
-
setCode
void setCode(int code) Set the numeric code for this script value. This is the constant value fromUScript
.- Parameters:
code
- numeric code
-
getName
String getName()Get the full name.- Returns:
- UTR #24 full name.
-
getShortName
String getShortName()Get the abbreviated name.- Returns:
- UTR #24 abbreviated name.
-