org.apache.xindice.client.xmldb.services
Class QueryService
java.lang.Object
|
+--org.apache.xindice.client.xmldb.CommonConfigurable
|
+--org.apache.xindice.client.xmldb.services.QueryService
- All Implemented Interfaces:
- org.xmldb.api.base.Configurable, org.xmldb.api.base.Service
- Direct Known Subclasses:
- XPathQueryServiceImpl, XUpdateQueryServiceImpl
- public abstract class QueryService
- extends CommonConfigurable
- implements org.xmldb.api.base.Service
Abstract query service.
Used to implemented both XUpdate and XPath query
service, as the interface for these queries on the XML-RPC API is more
or less identical.
- Version:
- $Revision: 511426 $, $Date: 2007-02-24 22:25:02 -0500 (Sat, 24 Feb 2007) $
- Author:
- James Bates
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.xmldb.api.base.Configurable |
getProperty, setProperty |
queryLang
protected String queryLang
QueryService
public QueryService()
getVersion
public String getVersion()
- Specified by:
getVersion
in interface org.xmldb.api.base.Service
getName
public String getName()
- Specified by:
getName
in interface org.xmldb.api.base.Service
setCollection
public void setCollection(org.xmldb.api.base.Collection collection)
- Specified by:
setCollection
in interface org.xmldb.api.base.Service
queryResource
public org.xmldb.api.base.ResourceSet queryResource(String name,
String query)
throws org.xmldb.api.base.XMLDBException
clearNamespaces
public void clearNamespaces()
getNamespace
public String getNamespace(String prefix)
setNamespace
public void setNamespace(String prefix,
String namespaceURI)
query
public org.xmldb.api.base.ResourceSet query(String query)
throws org.xmldb.api.base.XMLDBException
removeNamespace
public void removeNamespace(String prefix)
throws org.xmldb.api.base.XMLDBException
Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.