public class QOMQueryFactory extends Object implements QueryFactory
QOMQueryFactory implements a query factory that creates QOM
 based queries.| Constructor and Description | 
|---|
| QOMQueryFactory(javax.jcr.query.qom.QueryObjectModelFactory qf,
               javax.jcr.ValueFactory vf)Creates a new QOM base query factory. | 
| Modifier and Type | Method and Description | 
|---|---|
| javax.jcr.query.Query | createQuery(String statement,
           String language)Creates a JCR query instance from the given  statementin the
 givenlanguage. | 
| List<String> | getSupportedLanguages() | 
public QOMQueryFactory(javax.jcr.query.qom.QueryObjectModelFactory qf,
               javax.jcr.ValueFactory vf)
qf - the QOM factory.vf - the value factory.public List<String> getSupportedLanguages()
getSupportedLanguages in interface QueryFactorypublic javax.jcr.query.Query createQuery(String statement, String language) throws javax.jcr.query.InvalidQueryException, javax.jcr.RepositoryException
statement in the
 given language.createQuery in interface QueryFactorystatement - the query statement.language - the language of the query statement.javax.jcr.query.InvalidQueryException - if the statement is malformed or the
                               language is not supported.javax.jcr.RepositoryException - if another error occurs.Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.