public final class XPathParser extends Object
Parses the given XPath query and starts the execution of the XPath request. The given query is send to the scanner that categorizes the symbols by creating tokens. The parser receives this tokens, checks the grammar according to the EBNF given on http://www.w3.org/TR/xquery-xpath-parsing/.Then it constitutes the query execution chain.
Constructor and Description |
---|
XPathParser(INodeReadTrx rtx,
String mQuery)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
AbsAxis |
getQueryPipeline()
Returns a queue containing all pipelines (chains of nested axis and
filters) to execute the query.
|
void |
parseQuery()
Starts parsing the query.
|
public XPathParser(INodeReadTrx rtx, String mQuery)
rtx
- The transaction.mQuery
- The query to process.public void parseQuery() throws TTXPathException
TTXPathException
public AbsAxis getQueryPipeline()
Copyright © 2013. All Rights Reserved.