Xindice API
version 1.1

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

Field Summary
protected  String queryLang
           
 
Fields inherited from class org.apache.xindice.client.xmldb.CommonConfigurable
config
 
Constructor Summary
QueryService()
           
 
Method Summary
 void clearNamespaces()
           
 String getName()
           
 String getNamespace(String prefix)
           
 String getVersion()
           
 org.xmldb.api.base.ResourceSet query(String query)
           
 org.xmldb.api.base.ResourceSet queryResource(String name, String query)
           
 void removeNamespace(String prefix)
           
 void setCollection(org.xmldb.api.base.Collection collection)
           
 void setNamespace(String prefix, String namespaceURI)
           
 
Methods inherited from class org.apache.xindice.client.xmldb.CommonConfigurable
getProperty, setProperty
 
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
 

Field Detail

queryLang

protected String queryLang
Constructor Detail

QueryService

public QueryService()
Method Detail

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

Xindice API
version 1.1

Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.