org.basex.query.xquery
Class XQParser

java.lang.Object
  extended by org.basex.query.xquery.XQParser

public final class XQParser
extends java.lang.Object

XQuery parser.

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

Field Summary
 TokenList modLoaded
          List of loaded modules.
 
Constructor Summary
XQParser(XQContext expr)
          Constructor.
 
Method Summary
 void parse(byte[] q)
          Parses the specified query.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

modLoaded

public TokenList modLoaded
List of loaded modules.

Constructor Detail

XQParser

public XQParser(XQContext expr)
Constructor.

Parameters:
expr - xquery expression
Method Detail

parse

public void parse(byte[] q)
           throws XQException
Parses the specified query.

Parameters:
q - input query
Throws:
XQException - xquery exception