Class XmlChars

java.lang.Object
org.libxmq.imp.xml.XmlChars

public final class XmlChars extends Object
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 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.