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 create() method evaluates the query and returns a query context.

Author:
Workgroup DBIS, University of Konstanz 2005-08, 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 create()
          Parses the specified query and returns the query context.
 
Methods inherited from class org.basex.query.QueryProcessor
compile, det, getInfo, parse, prog, query, queryNodes, tit
 
Methods inherited from class org.basex.core.Progress
checkStop, detail, progress, progress, stop, title
 
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

create

public XPContext create()
                 throws QueryException
Description copied from class: QueryProcessor
Parses the specified query and returns the query context.

Returns:
query expression
Throws:
QueryException - query exception