Class XmlUnicode
java.lang.Object
org.libxmq.imp.xml.XmlUnicode
The Unicode (4.0.1, like libxml2) general categories and blocks used by the XML Schemas
regular expressions (port of xml_unicode.c). The functions return 1 if the code point
is in the category, 0 if not.
-
Method Summary
Modifier and TypeMethodDescriptionstatic intucsIsBlock(int code, String block) Port of xmlUCSIsBlock (xmlregexp.c).static intucsIsCatC(int code) Is the code point in the Unicode general category C.static intucsIsCatCc(int code) Is the code point in the Unicode general category Cc.static intucsIsCatCf(int code) Is the code point in the Unicode general category Cf.static intucsIsCatCo(int code) Is the code point in the Unicode general category Co.static intucsIsCatL(int code) Is the code point in the Unicode general category L.static intucsIsCatLl(int code) Is the code point in the Unicode general category Ll.static intucsIsCatLm(int code) Is the code point in the Unicode general category Lm.static intucsIsCatLo(int code) Is the code point in the Unicode general category Lo.static intucsIsCatLt(int code) Is the code point in the Unicode general category Lt.static intucsIsCatLu(int code) Is the code point in the Unicode general category Lu.static intucsIsCatM(int code) Is the code point in the Unicode general category M.static intucsIsCatMc(int code) Is the code point in the Unicode general category Mc.static intucsIsCatMe(int code) Is the code point in the Unicode general category Me.static intucsIsCatMn(int code) Is the code point in the Unicode general category Mn.static intucsIsCatN(int code) Is the code point in the Unicode general category N.static intucsIsCatNd(int code) Is the code point in the Unicode general category Nd.static intucsIsCatNl(int code) Is the code point in the Unicode general category Nl.static intucsIsCatNo(int code) Is the code point in the Unicode general category No.static intucsIsCatP(int code) Is the code point in the Unicode general category P.static intucsIsCatPc(int code) Is the code point in the Unicode general category Pc.static intucsIsCatPd(int code) Is the code point in the Unicode general category Pd.static intucsIsCatPe(int code) Is the code point in the Unicode general category Pe.static intucsIsCatPf(int code) Is the code point in the Unicode general category Pf.static intucsIsCatPi(int code) Is the code point in the Unicode general category Pi.static intucsIsCatPo(int code) Is the code point in the Unicode general category Po.static intucsIsCatPs(int code) Is the code point in the Unicode general category Ps.static intucsIsCatS(int code) Is the code point in the Unicode general category S.static intucsIsCatSc(int code) Is the code point in the Unicode general category Sc.static intucsIsCatSk(int code) Is the code point in the Unicode general category Sk.static intucsIsCatSm(int code) Is the code point in the Unicode general category Sm.static intucsIsCatSo(int code) Is the code point in the Unicode general category So.static intucsIsCatZ(int code) Is the code point in the Unicode general category Z.static intucsIsCatZl(int code) Is the code point in the Unicode general category Zl.static intucsIsCatZp(int code) Is the code point in the Unicode general category Zp.static intucsIsCatZs(int code) Is the code point in the Unicode general category Zs.
-
Method Details
-
ucsIsCatC
public static int ucsIsCatC(int code) Is the code point in the Unicode general category C.- Parameters:
code- UCS code point- Returns:
- 1 if true, 0 otherwise
-
ucsIsCatCc
public static int ucsIsCatCc(int code) Is the code point in the Unicode general category Cc.- Parameters:
code- UCS code point- Returns:
- 1 if true, 0 otherwise
-
ucsIsCatCf
public static int ucsIsCatCf(int code) Is the code point in the Unicode general category Cf.- Parameters:
code- UCS code point- Returns:
- 1 if true, 0 otherwise
-
ucsIsCatCo
public static int ucsIsCatCo(int code) Is the code point in the Unicode general category Co.- Parameters:
code- UCS code point- Returns:
- 1 if true, 0 otherwise
-
ucsIsCatL
public static int ucsIsCatL(int code) Is the code point in the Unicode general category L.- Parameters:
code- UCS code point- Returns:
- 1 if true, 0 otherwise
-
ucsIsCatLl
public static int ucsIsCatLl(int code) Is the code point in the Unicode general category Ll.- Parameters:
code- UCS code point- Returns:
- 1 if true, 0 otherwise
-
ucsIsCatLm
public static int ucsIsCatLm(int code) Is the code point in the Unicode general category Lm.- Parameters:
code- UCS code point- Returns:
- 1 if true, 0 otherwise
-
ucsIsCatLo
public static int ucsIsCatLo(int code) Is the code point in the Unicode general category Lo.- Parameters:
code- UCS code point- Returns:
- 1 if true, 0 otherwise
-
ucsIsCatLt
public static int ucsIsCatLt(int code) Is the code point in the Unicode general category Lt.- Parameters:
code- UCS code point- Returns:
- 1 if true, 0 otherwise
-
ucsIsCatLu
public static int ucsIsCatLu(int code) Is the code point in the Unicode general category Lu.- Parameters:
code- UCS code point- Returns:
- 1 if true, 0 otherwise
-
ucsIsCatM
public static int ucsIsCatM(int code) Is the code point in the Unicode general category M.- Parameters:
code- UCS code point- Returns:
- 1 if true, 0 otherwise
-
ucsIsCatMc
public static int ucsIsCatMc(int code) Is the code point in the Unicode general category Mc.- Parameters:
code- UCS code point- Returns:
- 1 if true, 0 otherwise
-
ucsIsCatMe
public static int ucsIsCatMe(int code) Is the code point in the Unicode general category Me.- Parameters:
code- UCS code point- Returns:
- 1 if true, 0 otherwise
-
ucsIsCatMn
public static int ucsIsCatMn(int code) Is the code point in the Unicode general category Mn.- Parameters:
code- UCS code point- Returns:
- 1 if true, 0 otherwise
-
ucsIsCatN
public static int ucsIsCatN(int code) Is the code point in the Unicode general category N.- Parameters:
code- UCS code point- Returns:
- 1 if true, 0 otherwise
-
ucsIsCatNd
public static int ucsIsCatNd(int code) Is the code point in the Unicode general category Nd.- Parameters:
code- UCS code point- Returns:
- 1 if true, 0 otherwise
-
ucsIsCatNl
public static int ucsIsCatNl(int code) Is the code point in the Unicode general category Nl.- Parameters:
code- UCS code point- Returns:
- 1 if true, 0 otherwise
-
ucsIsCatNo
public static int ucsIsCatNo(int code) Is the code point in the Unicode general category No.- Parameters:
code- UCS code point- Returns:
- 1 if true, 0 otherwise
-
ucsIsCatP
public static int ucsIsCatP(int code) Is the code point in the Unicode general category P.- Parameters:
code- UCS code point- Returns:
- 1 if true, 0 otherwise
-
ucsIsCatPc
public static int ucsIsCatPc(int code) Is the code point in the Unicode general category Pc.- Parameters:
code- UCS code point- Returns:
- 1 if true, 0 otherwise
-
ucsIsCatPd
public static int ucsIsCatPd(int code) Is the code point in the Unicode general category Pd.- Parameters:
code- UCS code point- Returns:
- 1 if true, 0 otherwise
-
ucsIsCatPe
public static int ucsIsCatPe(int code) Is the code point in the Unicode general category Pe.- Parameters:
code- UCS code point- Returns:
- 1 if true, 0 otherwise
-
ucsIsCatPf
public static int ucsIsCatPf(int code) Is the code point in the Unicode general category Pf.- Parameters:
code- UCS code point- Returns:
- 1 if true, 0 otherwise
-
ucsIsCatPi
public static int ucsIsCatPi(int code) Is the code point in the Unicode general category Pi.- Parameters:
code- UCS code point- Returns:
- 1 if true, 0 otherwise
-
ucsIsCatPo
public static int ucsIsCatPo(int code) Is the code point in the Unicode general category Po.- Parameters:
code- UCS code point- Returns:
- 1 if true, 0 otherwise
-
ucsIsCatPs
public static int ucsIsCatPs(int code) Is the code point in the Unicode general category Ps.- Parameters:
code- UCS code point- Returns:
- 1 if true, 0 otherwise
-
ucsIsCatS
public static int ucsIsCatS(int code) Is the code point in the Unicode general category S.- Parameters:
code- UCS code point- Returns:
- 1 if true, 0 otherwise
-
ucsIsCatSc
public static int ucsIsCatSc(int code) Is the code point in the Unicode general category Sc.- Parameters:
code- UCS code point- Returns:
- 1 if true, 0 otherwise
-
ucsIsCatSk
public static int ucsIsCatSk(int code) Is the code point in the Unicode general category Sk.- Parameters:
code- UCS code point- Returns:
- 1 if true, 0 otherwise
-
ucsIsCatSm
public static int ucsIsCatSm(int code) Is the code point in the Unicode general category Sm.- Parameters:
code- UCS code point- Returns:
- 1 if true, 0 otherwise
-
ucsIsCatSo
public static int ucsIsCatSo(int code) Is the code point in the Unicode general category So.- Parameters:
code- UCS code point- Returns:
- 1 if true, 0 otherwise
-
ucsIsCatZ
public static int ucsIsCatZ(int code) Is the code point in the Unicode general category Z.- Parameters:
code- UCS code point- Returns:
- 1 if true, 0 otherwise
-
ucsIsCatZl
public static int ucsIsCatZl(int code) Is the code point in the Unicode general category Zl.- Parameters:
code- UCS code point- Returns:
- 1 if true, 0 otherwise
-
ucsIsCatZp
public static int ucsIsCatZp(int code) Is the code point in the Unicode general category Zp.- Parameters:
code- UCS code point- Returns:
- 1 if true, 0 otherwise
-
ucsIsCatZs
public static int ucsIsCatZs(int code) Is the code point in the Unicode general category Zs.- Parameters:
code- UCS code point- Returns:
- 1 if true, 0 otherwise
-
ucsIsBlock
Port of xmlUCSIsBlock (xmlregexp.c). Check whether the character is part of the UCS Block.- Parameters:
code- UCS code pointblock- UCS block name- Returns:
- 1 if true, 0 if false and -1 on unknown block
-