|
||||||||||
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.xpath.XPParser
public class XPParser
XPath Processor, containing the XPath parser. The parse()
method
evaluates the query and returns the parsed expression.
Field Summary |
---|
Fields inherited from class org.basex.query.QueryParser |
---|
file, ql, qm, qp, qu |
Constructor Summary | |
---|---|
XPParser(java.lang.String q)
Constructor. |
Method Summary | |
---|---|
XPContext |
parse()
Parses the query and returns a query context. |
XPContext |
parse(boolean end)
Parses the query and returns a query context. |
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 |
Constructor Detail |
---|
public XPParser(java.lang.String q)
q
- queryMethod Detail |
---|
public final XPContext parse() throws QueryException
QueryException
- parsing exceptionpublic final XPContext parse(boolean end) throws QueryException
end
- if true, input must be completely evaluated
QueryException
- parsing exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |