With the current API it is very difficult to build a generic client that
collects the values for bind variables in a query. There should be a method on
the Query that returns the names of the bind variables, which can be used in a
- Returns the names of the bind variables in this query. If this query does
- not contains any bind variables then an empty array is returned.
- @return the names of the bind variables in this query.
- @throws RepositoryException if an error occurs.
- @since JCR 2.0
public String getBindVariableNames() throws RepositoryException;