org.basex.query.xpath
Class XPathProcessor

java.lang.Object
  extended by org.basex.core.Progress
      extended by org.basex.query.QueryProcessor
          extended by org.basex.query.xpath.XPathProcessor

public final class XPathProcessor
extends QueryProcessor

XPath Processor, containing the XPath parser. The parse() method evaluates the query and returns the parsed expression.

Author:
Workgroup DBIS, University of Konstanz 2005-07, ISC License, Tim Petrowsky, Christian Gruen

Field Summary
 
Fields inherited from class org.basex.query.QueryProcessor
query
 
Constructor Summary
XPathProcessor(java.lang.String q)
          XPath Query Constructor.
 
Method Summary
 XPContext parse()
          Parses and compiles the specified query.
 
Methods inherited from class org.basex.query.QueryProcessor
compile, det, getInfo, head, prog, query, queryNodes
 
Methods inherited from class org.basex.core.Progress
detail, header, progress, progress, stop, stopped
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XPathProcessor

public XPathProcessor(java.lang.String q)
XPath Query Constructor.

Parameters:
q - query
Method Detail

parse

public XPContext parse()
                throws ParseException
Description copied from class: QueryProcessor
Parses and compiles the specified query.

Returns:
query expression
Throws:
ParseException