Class Datatypes


  • public final class Datatypes
    extends Object
    Basic automata for representing common datatypes related to Unicode, XML, and XML Schema.
    • Method Detail

      • main

        public static void main​(String[] args)
        Invoke during compilation to pre-build automata. Automata are stored in the directory specified by the system property dk.brics.automaton.datatypes. (Default: build, relative to the current working directory.)
      • isUnicodeBlockName

        public static boolean isUnicodeBlockName​(String name)
        Checks whether the given string is the name of a Unicode block (see get(String)).
      • isUnicodeCategoryName

        public static boolean isUnicodeCategoryName​(String name)
        Checks whether the given string is the name of a Unicode category (see get(String)).
      • isXMLName

        public static boolean isXMLName​(String name)
        Checks whether the given string is the name of an XML / XML Schema automaton (see get(String)).
      • exists

        public static boolean exists​(String name)
        Checks whether a given automaton is available.
        Parameters:
        name - automaton name
        Returns:
        true if the automaton is available