Class CaseVariants

java.lang.Object
net.sf.saxon.regex.CaseVariants

public class CaseVariants extends Object
This singleton class holds data about the case-variants of Unicode characters. The data is held in the resource file casevariants.xml, which is read on first use; the file has been automatically generated from the Unicode database.
  • Field Details Link icon

    • ROMAN_VARIANTS Link icon

      public static int[] ROMAN_VARIANTS
      Get the case variants of roman letters (A-Z, a-z), other than the letters A-Z and a-z themselves
  • Method Details Link icon

    • getCaseVariants Link icon

      public static int[] getCaseVariants(int code)
      Get the case variants of a character
      Parameters:
      code - the character whose case variants are required
      Returns:
      the case variants of the character, excluding the character itself