Class CssIdentifierEscapeUtil


  • final class CssIdentifierEscapeUtil
    extends java.lang.Object

    Internal class in charge of performing the real escape operations.

    Since:
    1.0.0
    • Field Detail

      • HEXA_CHARS_UPPER

        private static char[] HEXA_CHARS_UPPER
      • BACKSLASH_CHARS_LEN

        private static int BACKSLASH_CHARS_LEN
      • BACKSLASH_CHARS_NO_ESCAPE

        private static char BACKSLASH_CHARS_NO_ESCAPE
      • BACKSLASH_CHARS

        private static char[] BACKSLASH_CHARS
      • ESCAPE_LEVELS

        private static final byte[] ESCAPE_LEVELS
    • Constructor Detail

      • CssIdentifierEscapeUtil

        private CssIdentifierEscapeUtil()
    • Method Detail

      • toCompactHexa

        static char[] toCompactHexa​(int codepoint,
                                    char next,
                                    int level)
      • toSixDigitHexa

        static char[] toSixDigitHexa​(int codepoint,
                                     char next,
                                     int level)
      • codePointAt

        private static int codePointAt​(char c1,
                                       char c2)