org.apache.xindice.client.xmldb.services
Class XUpdateQueryServiceImpl
java.lang.Object
|
+--org.apache.xindice.client.xmldb.CommonConfigurable
|
+--org.apache.xindice.client.xmldb.services.QueryService
|
+--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-24 22:25:02 -0500 (Sat, 24 Feb 2007) $
- Author:
- James Bates
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 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 |
XUpdateQueryServiceImpl
public XUpdateQueryServiceImpl()
- Creates new XUpdateQueryService
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
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
Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.