Xindice API
version 1.2m1

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

java.lang.Object
  extended byorg.apache.xindice.client.xmldb.CommonConfigurable
      extended byorg.apache.xindice.client.xmldb.services.QueryService
          extended byorg.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: 541508 $, $Date: 2007-05-24 21:54:12 -0400 (Thu, 24 May 2007) $
Author:
James Bates

Field Summary
 
Fields inherited from class org.apache.xindice.client.xmldb.services.QueryService
queryLang
 
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.2m1

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