Class XMLChar


  • public class XMLChar
    extends Object
    Class from Xerces
    • Field Detail

      • CHARS

        private static final byte[] CHARS
        Character flags.
    • Constructor Detail

      • XMLChar

        public XMLChar()
    • Method Detail

      • isValid

        public static boolean isValid​(int c)
        Returns true if the specified character is valid. This method also checks the surrogate character range from 0x10000 to 0x10FFFF.

        If the program chooses to apply the mask directly to the CHARS array, then they are responsible for checking the surrogate character range.

        Parameters:
        c - The character to check.