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
.
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 © 2004 The Ozone Database Project - www.ozone-db.org. All Rights Reserved.