com.caucho.xml2
Class XmlChar

java.lang.Object
  extended by com.caucho.xml2.XmlChar

public class XmlChar
extends java.lang.Object

XmlChar contains the XML character classes


Method Summary
static boolean[] getAsciiNameCharArray()
          Returns a boolean array testing for ascii name characters.
static boolean isChar(int ch)
           
static boolean isNameChar(int ch)
          Returns true if the character is an XML name character.
static boolean isNameStart(int ch)
           
static boolean isWhitespace(int ch)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isWhitespace

public static boolean isWhitespace(int ch)

isChar

public static boolean isChar(int ch)

isNameStart

public static boolean isNameStart(int ch)

getAsciiNameCharArray

public static boolean[] getAsciiNameCharArray()
Returns a boolean array testing for ascii name characters.


isNameChar

public static boolean isNameChar(int ch)
Returns true if the character is an XML name character.