Class Parser


  • public class Parser
    extends java.lang.Object
    XPath parser
    Version:
    $Revision: 652845 $ $Date: 2008-05-02 12:46:46 -0500 (Fri, 02 May 2008) $
    Author:
    Dmitri Plotnikov
    • Constructor Summary

      Constructors 
      Constructor Description
      Parser()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.Object parseExpression​(java.lang.String expression, Compiler compiler)
      Parses the XPath expression.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Parser

        public Parser()
    • Method Detail

      • parseExpression

        public static java.lang.Object parseExpression​(java.lang.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