org.xmldb.api.reference.modules
public class XPathQueryServiceImpl extends SimpleXPathQueryService
Service that enables the execution of
XPath queries within the context of a Collection.
| Constructor Summary | |
|---|---|
| XPathQueryServiceImpl() | |
| Method Summary | |
|---|---|
| String | getName()
Returns the name associated with the Configurable object.
|
| String | getVersion()
Gets the Version attribute of the Service object
|
| ResourceSet | query(String query)
Run an XPath query againt the Collection. |
| void | setCollection(Collection col)
Sets the Collection attribute of the Service object
|
Returns: the name of the object.
Returns: The Version value
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.
Parameters: col The new Collection value