|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectumich.cac.queryengine.xindice.XIndiceQueryEngine
Responsible for connecting and querying the Xindice database collection.
Constructor Summary | |
XIndiceQueryEngine(DataSource dataSource)
Constructor. |
Method Summary | |
boolean |
connect()
Connect to the database. |
void |
dispose()
Close any resources (like database connections) that were acquired) |
protected org.xmldb.api.base.Collection |
getCollection()
Get the collection from Xindice, must be connected first |
java.util.Vector |
query(java.lang.String xpath)
Perform an XPATH query using XML:DB against the current collection and return a vector of Node results from the query. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XIndiceQueryEngine(DataSource dataSource)
dataSource
- DataSource objected read by the QueryEngineDigesterMethod Detail |
protected org.xmldb.api.base.Collection getCollection()
public boolean connect()
connect
in interface QueryEngine
public void dispose()
dispose
in interface QueryEngine
public java.util.Vector query(java.lang.String xpath)
query
in interface QueryEngine
xpath
- The XPATH query to perform
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |