|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.query.QueryParser
org.basex.query.xquery.XQParser
public final class XQParser
XQuery parser.
Field Summary | |
---|---|
TokenList |
modLoaded
List of loaded modules. |
Fields inherited from class org.basex.query.QueryParser |
---|
file, ql, qm, qp, qu |
Constructor Summary | |
---|---|
XQParser(XQContext c)
Constructor. |
Method Summary | |
---|---|
void |
module(java.lang.String q)
Parses the specified module. |
void |
parse(java.lang.String q)
Parses the specified query. |
void |
parse(java.lang.String q,
IO f,
Uri u)
Parses the specified query. |
void |
parse(Uri u,
boolean end)
Parses the specified query. |
Methods inherited from class org.basex.query.QueryParser |
---|
consume, consume, consume, consumeWS, curr, curr, ent, found, init, invalidEnt, mark, more, next, quote, rest, valid |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public TokenList modLoaded
Constructor Detail |
---|
public XQParser(XQContext c)
c
- query contextMethod Detail |
---|
public void parse(java.lang.String q) throws XQException
q
- input query
XQException
- xquery exceptionpublic void module(java.lang.String q) throws XQException
q
- input query
XQException
- xquery exceptionpublic void parse(java.lang.String q, IO f, Uri u) throws XQException
q
- input queryf
- optional input fileu
- module uri
XQException
- xquery exceptionpublic void parse(Uri u, boolean end) throws XQException
u
- module uriend
- if true, input must be completely evaluated
XQException
- xquery exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |