org.apache.jackrabbit.commons.query
Class QueryObjectModelBuilderRegistry
java.lang.Object
org.apache.jackrabbit.commons.query.QueryObjectModelBuilderRegistry
public class QueryObjectModelBuilderRegistry
- extends Object
Implements a central access to QueryObjectModelBuilder instances.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryObjectModelBuilderRegistry
public QueryObjectModelBuilderRegistry()
getQueryObjectModelBuilder
public static QueryObjectModelBuilder getQueryObjectModelBuilder(String language)
throws InvalidQueryException
- Returns the
QueryObjectModelBuilder
for
language
.
- Parameters:
language
- the language of the query statement.
- Returns:
- the
QueryObjectModelBuilder
for
language
.
- Throws:
InvalidQueryException
- if there is no query object model builder
for language
.
getSupportedLanguages
public static String[] getSupportedLanguages()
- Returns the set of query languages supported by all registered
QueryObjectModelBuilder
implementations.
- Returns:
- String array containing the names of the supported languages.
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.