Package org.gephi.project.io
Class XMLChar
- java.lang.Object
-
- org.gephi.project.io.XMLChar
-
public class XMLChar extends Object
Class from Xerces
-
-
Field Summary
Fields Modifier and Type Field Description private static byte[]
CHARS
Character flags.static int
MASK_VALID
Valid character mask.
-
Constructor Summary
Constructors Constructor Description XMLChar()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isValid(int c)
Returns true if the specified character is valid.
-
-
-
Field Detail
-
MASK_VALID
public static final int MASK_VALID
Valid character mask.- See Also:
- Constant Field Values
-
CHARS
private static final byte[] CHARS
Character flags.
-
-
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.
-
-