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:
- CVS $Revision: 1.7 $, $Date: 2004/02/08 02:43:02 $
- Author:
- James Bates
Field Summary |
protected java.lang.String |
queryLang
|
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 java.lang.String queryLang
QueryService
public QueryService()
getVersion
public java.lang.String getVersion()
- Specified by:
getVersion
in interface org.xmldb.api.base.Service
getName
public java.lang.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(java.lang.String name,
java.lang.String query)
throws org.xmldb.api.base.XMLDBException
clearNamespaces
public void clearNamespaces()
getNamespace
public java.lang.String getNamespace(java.lang.String prefix)
setNamespace
public void setNamespace(java.lang.String prefix,
java.lang.String namespaceURI)
query
public org.xmldb.api.base.ResourceSet query(java.lang.String query)
throws org.xmldb.api.base.XMLDBException
removeNamespace
public void removeNamespace(java.lang.String prefix)
throws org.xmldb.api.base.XMLDBException
Copyright (c) 1999-2004 The Apache Software Foundation. All Rights Reserved.