Class XmlChars
java.lang.Object
org.libxmq.imp.xml.XmlChars
The XML 1.0 (4th edition) character classes BaseChar, Ideographic, CombiningChar, Digit and
Extender, like libxml2 IS_LETTER, IS_DIGIT, IS_COMBINING and IS_EXTENDER.
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisBaseChar(int c) Is c a BaseChar?static booleanisCombining(int c) Is c a CombiningChar?static booleanisDigit(int c) Is c a Digit?static booleanisExtender(int c) Is c an Extender?static booleanisIdeographic(int c) Is c an Ideographic?static booleanisLetter(int c) Is c a Letter (BaseChar or Ideographic)?
-
Method Details
-
isBaseChar
public static boolean isBaseChar(int c) Is c a BaseChar?- Parameters:
c- The code point.- Returns:
- True if it is.
-
isIdeographic
public static boolean isIdeographic(int c) Is c an Ideographic?- Parameters:
c- The code point.- Returns:
- True if it is.
-
isLetter
public static boolean isLetter(int c) Is c a Letter (BaseChar or Ideographic)?- Parameters:
c- The code point.- Returns:
- True if it is.
-
isDigit
public static boolean isDigit(int c) Is c a Digit?- Parameters:
c- The code point.- Returns:
- True if it is.
-
isCombining
public static boolean isCombining(int c) Is c a CombiningChar?- Parameters:
c- The code point.- Returns:
- True if it is.
-
isExtender
public static boolean isExtender(int c) Is c an Extender?- Parameters:
c- The code point.- Returns:
- True if it is.
-