|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectscriptella.driver.xpath.XPathQueryExecutor
public class XPathQueryExecutor
Executor for XPath queries.
| Constructor Summary | |
|---|---|
XPathQueryExecutor(org.w3c.dom.Document document,
Resource xpathResource,
scriptella.driver.xpath.XPathExpressionCompiler compiler,
AbstractConnection.StatementCounter counter)
Crates executor to query document using a specified xpath expression. |
|
| Method Summary | |
|---|---|
void |
execute(QueryCallback queryCallback,
ParametersCallback parentParameters)
Executes a query and notifies queryCallback for each found node. |
java.lang.Object |
getParameter(java.lang.String name)
Returns the value of parameter specified by name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XPathQueryExecutor(org.w3c.dom.Document document,
Resource xpathResource,
scriptella.driver.xpath.XPathExpressionCompiler compiler,
AbstractConnection.StatementCounter counter)
document - document to query.xpathResource - resource with xpath expression.counter - statement counter.| Method Detail |
|---|
public void execute(QueryCallback queryCallback,
ParametersCallback parentParameters)
queryCallback - callback to notify for each found node.parentParameters - parent parameters to inherit.public java.lang.Object getParameter(java.lang.String name)
ParametersCallbackThe callback internally delegates a call to parent callbacks if the parameter cannot be found.
getParameter in interface ParametersCallbackname - parameter name. Providers are allowed (but not required) to ignore a case of the name parameter
to comply with their internal model. For example JDBC drivers are case-insensitive to column names.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||