org.xmldb.api.modules
Interface XPathQueryService

All Superinterfaces:
Configurable, Service

public interface XPathQueryService
extends Service

XPathQueryService is a Service that enables the execution of XPath queries within the context of a Collection.


Method Summary
 ResourceIterator query(java.lang.String query)
          Run an XPath query againt the Collection.
 
Methods inherited from interface org.xmldb.api.base.Service
getVersion, setCollection
 
Methods inherited from interface org.xmldb.api.base.Configurable
getName, getProperty, setProperty
 

Method Detail

query

public ResourceIterator query(java.lang.String query)
                       throws XMLDBException
Run an XPath query againt the Collection. The result is a ResourceIterator containing the results of the query.

Parameters:
query - The XPath query string to use.
Returns:
A ResourceIterator containing the results of the query.
Throws:
XMLDBException - with expected error codes.
ErrorCodes.VENDOR_ERROR for any vendor specific errors that occur.


Copyright © 2002 The Ozone Database Project - www.ozone-db.org. All Rights Reserved.