perfsonar-dev - perfsonar: r2618 - branches/perfsonarui/src/org/perfsonar/perfsonarui/ippm
Subject: perfsonar development work
List archive
- From:
- To:
- Subject: perfsonar: r2618 - branches/perfsonarui/src/org/perfsonar/perfsonarui/ippm
- Date: Thu, 9 Aug 2007 11:48:37 -0400
Author: nina
Date: 2007-08-09 11:48:37 -0400 (Thu, 09 Aug 2007)
New Revision: 2618
Modified:
branches/perfsonarui/src/org/perfsonar/perfsonarui/ippm/IPPMRequest.java
Log:
Updated to use select namespace for parameters
Modified:
branches/perfsonarui/src/org/perfsonar/perfsonarui/ippm/IPPMRequest.java
===================================================================
--- branches/perfsonarui/src/org/perfsonar/perfsonarui/ippm/IPPMRequest.java
2007-08-09 14:35:28 UTC (rev 2617)
+++ branches/perfsonarui/src/org/perfsonar/perfsonarui/ippm/IPPMRequest.java
2007-08-09 15:48:37 UTC (rev 2618)
@@ -67,6 +67,8 @@
protected static String[][] URI_nmwgt =
{{"nmwgt","http://ggf.org/ns/nmwg/topology/2.0/"}};
protected static String[][] URI_nmwg =
{{"nmwg","http://ggf.org/ns/nmwg/base/2.0/"}};
protected static String[][] URI_nmwgm =
{{"nmwgm","http://ggf.org/ns/nmwg/time/2.0/"}};
+ protected static String[][] URI_nmwgs =
{{"select","http://ggf.org/ns/nmwg/ops/select/2.0/"}};
+
protected static String[][] URI_perfsonar = {
{"perfsonar","http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/"}
};
@@ -75,6 +77,7 @@
protected Namespace nmwg = null;
protected Namespace nmwgt = null;
protected Namespace nmwgm = null;
+ protected Namespace nmwgs = null;
protected Namespace perfsonar = null;
protected int version=0; //nmwgv2
@@ -90,6 +93,7 @@
if (nmwgt == null) nmwgt =
Namespace.getNamespace(URI_nmwgt[version][0],URI_nmwgt[version][1]);
if (perfsonar == null) perfsonar =
Namespace.getNamespace(URI_perfsonar[version][0],URI_perfsonar[version][1]);
if (nmwgm == null) nmwgm =
Namespace.getNamespace(URI_nmwgm[version][0],URI_nmwgm[version][1]);
+ if (nmwgs == null) nmwgs =
Namespace.getNamespace(URI_nmwgs[version][0],URI_nmwgs[version][1]);
}
@Override
@@ -457,6 +461,7 @@
MesgElem.addNamespaceDeclaration(perfsonar);
MesgElem.addNamespaceDeclaration(nmwgt);
MesgElem.addNamespaceDeclaration(nmwgm);
+ MesgElem.addNamespaceDeclaration(nmwgs);
Element MetElem = null;
@@ -493,7 +498,7 @@
NmwgtElem.addContent(IfAddrElem);
}
*/
- Element params = new Element(E_PARAMETERS, nmwg);
+ Element params = new Element(E_PARAMETERS, nmwgs);
Element param = new Element(E_PARAMETER, nmwg);
param.setAttribute("name", IPPMUserData.NMWG_STARTTIME);
param.addContent(userData.getStartTime());
- perfsonar: r2618 - branches/perfsonarui/src/org/perfsonar/perfsonarui/ippm, svnlog, 08/09/2007
Archive powered by MHonArc 2.6.16.