Class SVRLParser


  • public class SVRLParser
    extends Object
    • Method Detail

      • parse

        public static void parse​(SVRLHandler handler,
                                 File file,
                                 boolean validate)
                          throws org.jdom2.JDOMException,
                                 IOException
        Parses a SVRL result using the provided handler to process SVRL elements.
        Parameters:
        handler - the handler to use to process the SVRL result
        file - the SVRL file
        validate - if true perform schema validation on the SVRL file
        Throws:
        org.jdom2.JDOMException - if an error occured while parsing the SVRL file
        IOException - if an error occurred that prevented the SVRL results from being parsed
      • parse

        public static void parse​(SVRLHandler handler,
                                 org.jdom2.Document document)
        Parses a SVRL result, provided as a JDOM Document, using the provided handler to process SVRL elements.
        Parameters:
        handler - the handler to use to process the SVRL result
        document - the SVRL results