Class Parser

java.lang.Object
org.apache.commons.jxpath.ri.Parser

public class Parser extends Object
XPath parser.
  • Constructor Details

    • Parser

      Deprecated.
      Will be private in the next major version.
      Constructs a new instance.
  • Method Details

    • parseExpression

      public static Object parseExpression(String expression, Compiler compiler)
      Parses the XPath expression. Throws a JXPathException in case of a syntax error.
      Parameters:
      expression - to parse
      compiler - the compiler
      Returns:
      parsed Object