uk.co.lakesidetech.springxmldb.dao.exist
Class BaseExistXQueryXMLDBDao

java.lang.Object
  extended byuk.co.lakesidetech.springxmldb.dao.AbstractXMLDBDao
      extended byuk.co.lakesidetech.springxmldb.dao.BaseXQueryXMLDBDao
          extended byuk.co.lakesidetech.springxmldb.dao.exist.BaseExistXQueryXMLDBDao
All Implemented Interfaces:
IXQueryXMLDBDao

public class BaseExistXQueryXMLDBDao
extends BaseXQueryXMLDBDao
implements IXQueryXMLDBDao

eXist doesnt use the same XQueryService defined in the XML:DB api This Dao emulates it be using a wrapped service while this isnt perfect (no compiled expressions) it should allow reuse of code without being tied to eXist

Author:
Stuart Eccles

Field Summary
 
Fields inherited from class uk.co.lakesidetech.springxmldb.dao.BaseXQueryXMLDBDao
XQUERYSERVICE_NAME, XQUERYSERVICE_VERSION
 
Fields inherited from class uk.co.lakesidetech.springxmldb.dao.AbstractXMLDBDao
dataSource, RESOURCETYPE_XMLRESOURCE, XPATHQUERYSERVICE_NAME, XPATHQUERYSERVICE_VERSION, XUPDATEQUERYSERVICE_NAME, XUPDATEQUERYSERVICE_VERSION
 
Constructor Summary
BaseExistXQueryXMLDBDao()
           
 
Method Summary
protected  org.xmldb.api.modules.XQueryService getXQueryServiceFromCollection(org.xmldb.api.base.Collection collection)
          return a XML:DB API XQueryService which is a wrapped eXist XQuery service
 
Methods inherited from class uk.co.lakesidetech.springxmldb.dao.BaseXQueryXMLDBDao
queryWithXQueryCollectionAsString, queryWithXQueryCollectionAsString
 
Methods inherited from class uk.co.lakesidetech.springxmldb.dao.AbstractXMLDBDao
getDataSource, getNameSpaces, getXPathQueryServiceFromCollection, getXUpdateServiceFromCollection, processResourceSetToDocuments, processResourceSetToStrings, setDataSource, setNameSpaces
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface uk.co.lakesidetech.springxmldb.dao.IXQueryXMLDBDao
queryWithXQueryCollectionAsString, queryWithXQueryCollectionAsString
 

Constructor Detail

BaseExistXQueryXMLDBDao

public BaseExistXQueryXMLDBDao()
Method Detail

getXQueryServiceFromCollection

protected org.xmldb.api.modules.XQueryService getXQueryServiceFromCollection(org.xmldb.api.base.Collection collection)
                                                                      throws org.xmldb.api.base.XMLDBException
return a XML:DB API XQueryService which is a wrapped eXist XQuery service

Overrides:
getXQueryServiceFromCollection in class BaseXQueryXMLDBDao
Parameters:
collection -
Returns:
Throws:
org.xmldb.api.base.XMLDBException
See Also:
BaseXQueryXMLDBDao.getXQueryServiceFromCollection(org.xmldb.api.base.Collection)