Class XPathXmlCheck

    • Constructor Detail

      • XPathXmlCheck

        public XPathXmlCheck()
    • Method Detail

      • precompileXPathExpressions

        public abstract void precompileXPathExpressions​(XmlCheckContext context)
        Will be called only once by XmlCheck. Using XmlCheckContext.compile(String), should compile all the fixed XPath expressions which will be re-used when analyzing files.
        Parameters:
        context -
      • scanFileWithXPathExpressions

        public abstract void scanFileWithXPathExpressions​(XmlCheckContext context)
        Will be called for each file.
        Parameters:
        context -
      • reportIssue

        public void reportIssue​(Node node,
                                String message)
      • reportIssueOnFile

        public void reportIssueOnFile​(String message)