[MOBY-guts] biomoby commit
Mark Wilkinson
mwilkinson at pub.open-bio.org
Tue May 4 23:54:16 UTC 2004
mwilkinson
Tue May 4 19:54:16 EDT 2004
Update of /home/repository/moby/moby-live/Perl/MOBY
In directory pub.open-bio.org:/tmp/cvs-serv18504/Perl/MOBY
Modified Files:
CommonSubs.pm CommonSubs.html
Log Message:
fixing and improving documentation for the service input parser
moby-live/Perl/MOBY CommonSubs.pm,1.50,1.51 CommonSubs.html,1.11,1.12
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOBY/CommonSubs.pm,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- /home/repository/moby/moby-live/Perl/MOBY/CommonSubs.pm 2004/05/03 20:51:15 1.50
+++ /home/repository/moby/moby-live/Perl/MOBY/CommonSubs.pm 2004/05/04 23:54:16 1.51
@@ -263,6 +263,41 @@
<mobyData...>...</mobyData>
b. \@article XML:DOM nodes for Collections
+ for example, the input message:
+
+ <mobyData queryID = '1'>
+ <Simple>
+ <Object namespace=blah id=blah/>
+ </Simple>
+ </mobyData>
+ <mobyData queryID = '2'>
+ <Simple>
+ <Object namespace=blah id=blah/>
+ </Simple>
+ </mobyData>
+
+ will become:
+ (note that SIMPLE, COLLECTION, and SECONDARY are exported constants from this module)
+
+ @inputs = ([SIMPLE, 1, $DOM], [SIMPLE, 2, $DOM]) # the <Simple> block
+
+ for example, the input message:
+
+ <mobyData queryID = '1'>
+ <Collection>
+ <Simple>
+ <Object namespace=blah id=blah/>
+ </Simple>
+ <Simple>
+ <Object namespace=blah id=blah/>
+ </Simple>
+ </Collection>
+ </mobyData>
+
+ will become:
+
+ @inputs = ( [COLLECTION, 1, [$DOM, $DOM]] ) # the <Simple> block
+
=cut
@@ -314,7 +349,7 @@
<Object namespace=blah id=blah/>
</Simple>
<Parameter articleName='cutoff'>
- <default>10</default>
+ <Value>10</Value>
</Parameter>
</mobyData>
@@ -344,7 +379,7 @@
</Simple>
</Collection>
<Parameter articleName='cutoff'>
- <default>10</default>
+ <Value>10</Value>
</Parameter>
</mobyData>
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOBY/CommonSubs.html,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- /home/repository/moby/moby-live/Perl/MOBY/CommonSubs.html 2004/05/03 20:51:15 1.11
+++ /home/repository/moby/moby-live/Perl/MOBY/CommonSubs.html 2004/05/04 23:54:16 1.12
@@ -218,6 +218,41 @@
a. $article XML::DOM node for Simples
<mobyData...>...</mobyData>
b. \@article XML:DOM nodes for Collections</pre>
+<pre>
+ for example, the input message:
+
+ <mobyData queryID = '1'>
+ <Simple>
+ <Object namespace=blah id=blah/>
+ </Simple>
+ </mobyData>
+ <mobyData queryID = '2'>
+ <Simple>
+ <Object namespace=blah id=blah/>
+ </Simple>
+ </mobyData></pre>
+<pre>
+ will become:
+ (note that SIMPLE, COLLECTION, and SECONDARY are exported constants from this module)</pre>
+<pre>
+ @inputs = ([SIMPLE, 1, $DOM], [SIMPLE, 2, $DOM]) # the <Simple> block</pre>
+<pre>
+ for example, the input message:
+
+ <mobyData queryID = '1'>
+ <Collection>
+ <Simple>
+ <Object namespace=blah id=blah/>
+ </Simple>
+ <Simple>
+ <Object namespace=blah id=blah/>
+ </Simple>
+ </Collection>
+ </mobyData></pre>
+<pre>
+ will become:</pre>
+<pre>
+ @inputs = ( [COLLECTION, 1, [$DOM, $DOM]] ) # the <Simple> block</pre>
<p>
</p>
<h2><a name="complexserviceinputparser">complexServiceInputParser</a></h2>
@@ -242,7 +277,7 @@
<Object namespace=blah id=blah/>
</Simple>
<Parameter articleName='cutoff'>
- <default>10</default>
+ <Value>10</Value>
</Parameter>
</mobyData></pre>
<pre>
@@ -271,7 +306,7 @@
</Simple>
</Collection>
<Parameter articleName='cutoff'>
- <default>10</default>
+ <Value>10</Value>
</Parameter>
</mobyData></pre>
<pre>
More information about the MOBY-guts
mailing list