public class TokenizerUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static int[] |
HEXADECIMAL
The set of the valid hexadecimal characters.
|
protected static int[] |
IDENTIFIER_START
The set of the valid identifier start characters.
|
protected static int[] |
NAME
The set of the valid name characters.
|
protected static int[] |
STRING
The set of the valid string characters.
|
protected static int[] |
URI
The set of the valid uri characters.
|
Modifier | Constructor and Description |
---|---|
protected |
TokenizerUtil()
This class does not need to be instantiated.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
isCSSHexadecimalCharacter(char c)
Tests whether the given character is a valid hexadecimal character.
|
static boolean |
isCSSIdentifierNMStartCharacter(char c)
Tests whether the given character is a valid identifier nmstart character.
|
static boolean |
isCSSIdentifierStartCharacter(char c)
Tests whether the given character is a valid identifier start character.
|
static boolean |
isCSSNameCharacter(char c)
Tests whether the given character is a valid name character.
|
static boolean |
isCSSSpace(char c)
Tests whether the given character is a valid space.
|
static boolean |
isCSSStringCharacter(char c)
Tests whether the given character is a valid string character.
|
static boolean |
isCSSURICharacter(char c)
Tests whether the given character is a valid URI character.
|
protected static final int[] IDENTIFIER_START
protected static final int[] NAME
protected static final int[] HEXADECIMAL
protected static final int[] STRING
protected static final int[] URI
protected TokenizerUtil()
public static boolean isCSSSpace(char c)
public static boolean isCSSIdentifierStartCharacter(char c)
public static boolean isCSSIdentifierNMStartCharacter(char c)
public static boolean isCSSNameCharacter(char c)
public static boolean isCSSHexadecimalCharacter(char c)
public static boolean isCSSStringCharacter(char c)
public static boolean isCSSURICharacter(char c)