Interface ScriptAttribute

  • All Superinterfaces:
    Attribute
    All Known Implementing Classes:
    ScriptAttributeImpl

    public interface ScriptAttribute
    extends Attribute
    This attribute stores the UTR #24 script value for a token of text.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getCode()
      Get the numeric code for this script value.
      java.lang.String getName()
      Get the full name.
      java.lang.String getShortName()
      Get the abbreviated name.
      void setCode​(int code)
      Set the numeric code for this script value.
    • Method Detail

      • getCode

        int getCode()
        Get the numeric code for this script value. This is the constant value from UScript.
        Returns:
        numeric code
      • setCode

        void setCode​(int code)
        Set the numeric code for this script value. This is the constant value from UScript.
        Parameters:
        code - numeric code
      • getName

        java.lang.String getName()
        Get the full name.
        Returns:
        UTR #24 full name.
      • getShortName

        java.lang.String getShortName()
        Get the abbreviated name.
        Returns:
        UTR #24 abbreviated name.