Class DatatypeLibraryImpl

    • Constructor Detail

      • DatatypeLibraryImpl

        public DatatypeLibraryImpl​(RegexEngine regexEngine)
    • Method Detail

      • createDatatype

        public Datatype createDatatype​(java.lang.String type)
                                throws DatatypeException
        Description copied from interface: DatatypeLibrary
        Gets or creates a pre-defined type. This is just a short-cut of createDatatypeBuilder(typeLocalName).createDatatype(); The callee should throw a DatatypeException in case of an error.
        Specified by:
        createDatatype in interface DatatypeLibrary
        Returns:
        A non-null valid datatype object.
        Throws:
        DatatypeException