Class XPathSyntax

java.lang.Object
io.jenkins.plugins.xmleditor.core.xpath.XPathSyntax

public final class XPathSyntax extends Object
Syntax check of an XPath 1.0 expression without a document (namespace prefixes are accepted as they are).
  • Method Details

    • check

      public static Optional<String> check(String expression)
      Returns:
      the error message, or empty when the expression compiles