|
Xindice API version 1.2m1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
QueryResolver is an interface that has to be implemented to actually perfrom query resolution. Xindice provides an XPathQueryResolver to handle XPath queries against sets of Documents in a Collection.
Method Summary | |
Query |
compileQuery(Collection context,
String query,
NamespaceMap nsMap,
Key[] keys)
compileQuery compiles a Query against the specified Collection context and returns the compiled Query. |
String |
getQueryStyle()
getQueryStyle returns the Query style supported by this Resolver. |
NodeSet |
query(Collection context,
String query,
NamespaceMap nsMap,
Key[] keys)
query compiles a Query against the specified Collection context and returns the query results. |
void |
setQueryEngine(QueryEngine engine)
setQueryEngine hands a reference for the QueryEngine to the Resolver. |
Methods inherited from interface org.apache.xindice.util.Configurable |
getConfig, setConfig |
Method Detail |
public void setQueryEngine(QueryEngine engine)
engine
- The QueryEnginepublic String getQueryStyle()
public Query compileQuery(Collection context, String query, NamespaceMap nsMap, Key[] keys) throws QueryException
context
- The Collection Contextquery
- The QuerynsMap
- The namespace Map (if any)keys
- The initial Key set to use (if any)
QueryException
public NodeSet query(Collection context, String query, NamespaceMap nsMap, Key[] keys) throws QueryException
context
- The Collection Contextquery
- The QuerynsMap
- The namespace Map (if any)keys
- The initial Key set to use (if any)
QueryException
|
Xindice API version 1.2m1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |