org.apache.muse.ws.resource.properties.query
Interface QueryExpressionFactory

All Known Implementing Classes:
XPathQueryExpressionFactory

public interface QueryExpressionFactory

QueryExpressionFactory is a means of generating executable QueryExpressions for a set of dialects without having to reference specific dialects or language constructs in the calling code.

Author:
Dan Jemiolo (danj)

Method Summary
 java.util.Collection getDialects()
           
 QueryExpression newInstance(java.lang.String dialect)
           
 

Method Detail

getDialects

public java.util.Collection getDialects()
Returns:
The URIs that represent the query dialects supported by this factory.

newInstance

public QueryExpression newInstance(java.lang.String dialect)
                            throws UnknownQueryExpressionDialectFault
Parameters:
dialect -
Returns:
A QueryExpression object that can be used to evaluate queries for the given dialect.
Throws:
UnknownQueryExpressionDialectFault