Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

oracle.javatools.parser.css
Class TokenizerUtil

java.lang.Object
  extended by oracle.javatools.parser.css.TokenizerUtil

public class TokenizerUtil
extends java.lang.Object

A collection of utility functions for a CSS Tokenizer.


Field Summary
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.
 
Constructor Summary
protected TokenizerUtil()
          This class does not need to be instantiated.
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IDENTIFIER_START

protected static final int[] IDENTIFIER_START
The set of the valid identifier start characters.


NAME

protected static final int[] NAME
The set of the valid name characters.


HEXADECIMAL

protected static final int[] HEXADECIMAL
The set of the valid hexadecimal characters.


STRING

protected static final int[] STRING
The set of the valid string characters.


URI

protected static final int[] URI
The set of the valid uri characters.

Constructor Detail

TokenizerUtil

protected TokenizerUtil()
This class does not need to be instantiated.

Method Detail

isCSSSpace

public static boolean isCSSSpace(char c)
Tests whether the given character is a valid space.


isCSSIdentifierStartCharacter

public static boolean isCSSIdentifierStartCharacter(char c)
Tests whether the given character is a valid identifier start character.


isCSSIdentifierNMStartCharacter

public static boolean isCSSIdentifierNMStartCharacter(char c)
Tests whether the given character is a valid identifier nmstart character.


isCSSNameCharacter

public static boolean isCSSNameCharacter(char c)
Tests whether the given character is a valid name character.


isCSSHexadecimalCharacter

public static boolean isCSSHexadecimalCharacter(char c)
Tests whether the given character is a valid hexadecimal character.


isCSSStringCharacter

public static boolean isCSSStringCharacter(char c)
Tests whether the given character is a valid string character.


isCSSURICharacter

public static boolean isCSSURICharacter(char c)
Tests whether the given character is a valid URI character.


Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

Copyright © 1997, 2011, Oracle. All rights reserved.