Xindice API
version 1.1

org.apache.xindice.client.xmldb.services
Class XUpdateQueryServiceImpl

java.lang.Object
  extended by org.apache.xindice.client.xmldb.CommonConfigurable
      extended by org.apache.xindice.client.xmldb.services.QueryService
          extended by org.apache.xindice.client.xmldb.services.XUpdateQueryServiceImpl
All Implemented Interfaces:
org.xmldb.api.base.Configurable, org.xmldb.api.base.Service, org.xmldb.api.modules.XUpdateQueryService

public class XUpdateQueryServiceImpl
extends QueryService
implements org.xmldb.api.modules.XUpdateQueryService

XML:DB XUpdateQueryService implementation that uses XML-RPC communication with server

Version:
$Revision: 511426 $, $Date: 2007-02-25 04:25:02 +0100 (Sun, 25 Feb 2007) $
Author:
James Bates

Field Summary
 
Fields inherited from class org.apache.xindice.client.xmldb.services.QueryService
queryLang
 
Fields inherited from class org.apache.xindice.client.xmldb.CommonConfigurable
config
 
Fields inherited from interface org.xmldb.api.modules.XUpdateQueryService
SERVICE_NAME
 
Constructor Summary
XUpdateQueryServiceImpl()
          Creates new XUpdateQueryService
 
Method Summary
 long update(String query)
          Performs an XUpdate operation on the entire collection
 long updateResource(String name, String query)
          Preforms an XUpdate operation on the specified document
 
Methods inherited from class org.apache.xindice.client.xmldb.services.QueryService
clearNamespaces, getName, getNamespace, getVersion, query, queryResource, removeNamespace, setCollection, setNamespace
 
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.Service
getName, getVersion, setCollection
 
Methods inherited from interface org.xmldb.api.base.Configurable
getProperty, setProperty
 

Constructor Detail

XUpdateQueryServiceImpl

public XUpdateQueryServiceImpl()
Creates new XUpdateQueryService

Method Detail

update

public long update(String query)
            throws org.xmldb.api.base.XMLDBException
Performs an XUpdate operation on the entire collection

Specified by:
update in interface org.xmldb.api.modules.XUpdateQueryService
Throws:
org.xmldb.api.base.XMLDBException

updateResource

public long updateResource(String name,
                           String query)
                    throws org.xmldb.api.base.XMLDBException
Preforms an XUpdate operation on the specified document

Specified by:
updateResource in interface org.xmldb.api.modules.XUpdateQueryService
Throws:
org.xmldb.api.base.XMLDBException

Xindice API
version 1.1

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