Class PrototypeDocument

    • Constructor Detail

      • PrototypeDocument

        public PrototypeDocument()
    • Method Detail

      • load

        public Document load​(URL url,
                             List<String> warnings)
                      throws IOException
        Fetches a file, parses it and constructs a model Document.
        Parameters:
        url - the address of the file (can be XML, XTA or TA file)
        warnings - output parameter - list of warnings found by the GUI (not the engine!) during parsing
        Returns:
        the constructed document
        Throws:
        IOException - I/O error.