Configurable, Service, XPathQueryServicepublic class XPathQueryServiceImpl extends SimpleXPathQueryService
Service that enables the execution of
XPath queries within the context of a Collection.SERVICE_NAME| Constructor | Description |
|---|---|
XPathQueryServiceImpl() |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getName() |
Returns the name associated with the Configurable object.
|
java.lang.String |
getVersion() |
Gets the Version attribute of the Service object
|
ResourceSet |
query(java.lang.String query) |
Run an XPath query againt the
Collection. |
void |
setCollection(Collection col) |
Sets the Collection attribute of the Service object
|
getProperty, setPropertyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetProperty, setPropertyclearNamespaces, getNamespace, queryResource, removeNamespace, setNamespacepublic java.lang.String getName()
throws XMLDBException
getName in interface ServicegetName in class SimpleXPathQueryServiceXMLDBException - with expected error codes.ErrorCodes.VENDOR_ERROR for any vendor
specific errors that occur.public java.lang.String getVersion()
throws XMLDBException
getVersion in interface ServicegetVersion in class SimpleXPathQueryServiceXMLDBException - with expected error codes.ErrorCodes.VENDOR_ERROR for any vendor
specific errors that occur.public void setCollection(Collection col) throws XMLDBException
setCollection in interface ServicesetCollection in class SimpleXPathQueryServicecol - The new Collection valueXMLDBException - with expected error codes.ErrorCodes.VENDOR_ERROR for any vendor
specific errors that occur.public ResourceSet query(java.lang.String query) throws XMLDBException
Collection. The result is a
ResourceIterator containing the results of the query.query in interface XPathQueryServicequery in class SimpleXPathQueryServicequery - The XPath query string to use.XMLDBException - with expected error codes.ErrorCodes.VENDOR_ERROR for any vendor
specific errors that occur.Copyright (C) XML:DB Initiative. All rights reserved.%lt;/font>