Update of /cvsroot/xmldb-org/xapi/src/api/org/xmldb/api/modules
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13717/xmldb.org/xapi/src/api/org/xmldb/api/modules
Modified Files:
CollectionManagementService.java TransactionService.java
XPathQueryService.java XQueryService.java
XUpdateQueryService.java
Log Message:
added constant names to match IDL spec (and strong type coding possible)
Index: XPathQueryService.java
===================================================================
RCS file: /cvsroot/xmldb-org/xapi/src/api/org/xmldb/api/modules/XPathQueryService.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- XPathQueryService.java 12 Jun 2004 20:39:17 -0000 1.2
+++ XPathQueryService.java 25 Jul 2004 17:07:52 -0000 1.3
@@ -61,7 +61,9 @@
* single XML <code>Resource</code> stored in the <code>Collection</code>.
*/
public interface XPathQueryService extends Service {
-
+
+ public static final String SERVICE_NAME = "XPathQueryService";
+
/**
* Sets a namespace mapping in the internal namespace map used to evaluate
* queries. If <code>prefix</code> is null or empty the default namespace is
Index: TransactionService.java
===================================================================
RCS file: /cvsroot/xmldb-org/xapi/src/api/org/xmldb/api/modules/TransactionService.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- TransactionService.java 12 Jun 2004 20:39:17 -0000 1.2
+++ TransactionService.java 25 Jul 2004 17:07:52 -0000 1.3
@@ -61,6 +61,8 @@
* <b>Note: This interface needs much better definition</b>
*/
public interface TransactionService extends Service {
+
+ public static final String SERVICE_NAME = "TransactionService";
/**
* Begin the transaction
*
Index: XQueryService.java
===================================================================
RCS file: /cvsroot/xmldb-org/xapi/src/api/org/xmldb/api/modules/XQueryService.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- XQueryService.java 12 Jun 2004 20:39:17 -0000 1.1
+++ XQueryService.java 25 Jul 2004 17:07:52 -0000 1.2
@@ -58,6 +58,8 @@
public interface XQueryService extends Service {
+ public static final String SERVICE_NAME = "XQueryService";
+
/**
* Sets a namespace mapping in the internal namespace map used to evaluate
* queries. If <code>prefix</code> is null or empty the default namespace is
Index: XUpdateQueryService.java
===================================================================
RCS file: /cvsroot/xmldb-org/xapi/src/api/org/xmldb/api/modules/XUpdateQueryService.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- XUpdateQueryService.java 12 Jun 2004 20:39:17 -0000 1.2
+++ XUpdateQueryService.java 25 Jul 2004 17:07:52 -0000 1.3
@@ -61,6 +61,9 @@
* single document stored in a collection.
*/
public interface XUpdateQueryService extends Service {
+
+ public static final String SERVICE_NAME = "XUpdateQueryService";
+
/**
* Runs a set of XUpdate operations against the collection. All selected
* documents are to be updated and stored back to the repository.
Index: CollectionManagementService.java
===================================================================
RCS file: /cvsroot/xmldb-org/xapi/src/api/org/xmldb/api/modules/CollectionManagementService.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- CollectionManagementService.java 12 Jun 2004 20:39:17 -0000 1.2
+++ CollectionManagementService.java 25 Jul 2004 17:07:52 -0000 1.3
@@ -62,6 +62,8 @@
* to implement this basic functionality.
*/
public interface CollectionManagementService extends Service {
+
+ public static final String SERVICE_NAME = "CollectionManagementService";
/**
* Creates a new <code>Collection</code> in the database. The default
* configuration of the database is determined by the implementer. The
|