|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.basex.query.QueryParser
org.basex.core.CommandParser
public final class CommandParser
This is a parser for command strings, creating Process instances.
Several commands can be formulated in one string and separated by semicolons.
| Field Summary | |
|---|---|
Context |
ctx
Context. |
| Fields inherited from class org.basex.query.QueryParser |
|---|
file, ql, qm, qp, qu |
| Constructor Summary | |
|---|---|
CommandParser(java.lang.String in)
Constructor, parsing the input queries. |
|
CommandParser(java.lang.String in,
Context c)
Constructor, parsing the input queries. |
|
| Method Summary | |
|---|---|
void |
error(StringList comp,
java.lang.String m,
java.lang.Object... e)
Throws an error. |
Process[] |
parse()
Parses the input and returns a command list. |
| 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 Context ctx
| Constructor Detail |
|---|
public CommandParser(java.lang.String in)
in - query input
public CommandParser(java.lang.String in,
Context c)
in - query inputc - context| Method Detail |
|---|
public Process[] parse()
throws QueryException
QueryException - query exception
public void error(StringList comp,
java.lang.String m,
java.lang.Object... e)
throws QueryException
comp - input completionsm - messagee - extension
QueryException - query exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||