[MOBY-guts] biomoby commit

Paul Gordon gordonp at pub.open-bio.org
Tue Feb 15 17:47:40 UTC 2005


gordonp
Tue Feb 15 12:47:40 EST 2005
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/client
In directory pub.open-bio.org:/tmp/cvs-serv6945

Modified Files:
	MobyRequest.java 
Log Message:
Added conveinece method to create XML envelope when you only have one input request to process

moby-live/Java/src/main/org/biomoby/client MobyRequest.java,1.6,1.7
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/MobyRequest.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/MobyRequest.java	2005/02/03 22:37:30	1.6
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/MobyRequest.java	2005/02/15 17:47:39	1.7
@@ -543,6 +543,11 @@
 	return domDoc.getDocumentElement();
     }
 
+    public String convertMOBYDataToMOBYRequest(MobyDataInstance data, MobyDataSecondaryInstance[] secondary) throws MobyException{
+        MobyDataInstance[] mdsis = new MobyDataInstance[1];
+        mdsis[0] = data;
+        return convertMOBYDataToMOBYRequest(mdsis, secondary);
+    }
 
     /**
      * @param data the array of input parameters to put in a MOBY XML request




More information about the MOBY-guts mailing list