org.apache.commons.jxpath.ri
Class Parser

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

public class Parser
extends Object

XPath parser

Version:
$Revision: 652845 $ $Date: 2008-05-02 12:46:46 -0500 (Fri, 02 May 2008) $
Author:
Dmitri Plotnikov

Constructor Summary
Parser()
           
 
Method Summary
static Object parseExpression(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 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


Copyright © 2001-2008 The Apache Software Foundation. All Rights Reserved.