|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.core.Progress
org.basex.query.QueryProcessor
org.basex.query.xquery.XQueryProcessor
public final class XQueryProcessor
This is the main class of the XQuery Processor.
Field Summary | |
---|---|
XQContext |
ctx
XQuery context reference. |
Fields inherited from class org.basex.query.QueryProcessor |
---|
query |
Constructor Summary | |
---|---|
XQueryProcessor(java.lang.String qu)
XQuery Constructor. |
|
XQueryProcessor(java.lang.String qu,
IO f)
XQuery Constructor. |
Method Summary | |
---|---|
QueryContext |
create()
Parses the specified query and returns the query context. |
void |
module(java.lang.String ns,
java.lang.String file)
Adds a module reference. |
void |
parse(java.lang.String in)
Parses the specified input. |
void |
setQuery(java.lang.String qu)
Sets a new query. |
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 |
Field Detail |
---|
public XQContext ctx
Constructor Detail |
---|
public XQueryProcessor(java.lang.String qu)
qu
- querypublic XQueryProcessor(java.lang.String qu, IO f)
qu
- queryf
- query file referenceMethod Detail |
---|
public QueryContext create() throws QueryException
QueryProcessor
QueryException
- query exceptionpublic void parse(java.lang.String in) throws QueryException
in
- input to be parsed
QueryException
- query exceptionpublic void module(java.lang.String ns, java.lang.String file)
ns
- module namespacefile
- file namepublic void setQuery(java.lang.String qu)
qu
- query
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |