|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.saxon.expr.number.Alphanumeric
public class Alphanumeric
This class contains static utility methods to test whether a character is alphanumeric, as defined by the rules of xsl:number: that is, whether it is in one of the Unicode categories Nd, Nl, No, Lu, Ll, Lt, Lm or Lo
Method Summary | |
---|---|
static int |
getDigitFamily(int in)
Determine which digit family a decimal digit belongs to: that is, return the corresponding zero digit. |
static int |
getDigitValue(int in)
Determine whether a character represents a decimal digit and if so, which digit. |
static boolean |
isAlphanumeric(int codepoint)
Determine whether a Unicode codepoint is alphanumeric, that is, whether it is in one of the categories Nd, Nl, No, Lu, Ll, Lt, Lm or Lo |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean isAlphanumeric(int codepoint)
codepoint
- the codepoint to be tested
public static int getDigitValue(int in)
in
- the Unicode character being tested.
public static int getDigitFamily(int in)
in
- a Unicode character
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |