uddi4r 0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. data/README +19 -0
  2. data/doc/classes/Uddi4r/BindingDetail.html +120 -0
  3. data/doc/classes/Uddi4r/BindingTemplate.html +120 -0
  4. data/doc/classes/Uddi4r/BusinessDetail.html +120 -0
  5. data/doc/classes/Uddi4r/BusinessEntity.html +120 -0
  6. data/doc/classes/Uddi4r/BusinessInfo.html +120 -0
  7. data/doc/classes/Uddi4r/BusinessList.html +120 -0
  8. data/doc/classes/Uddi4r/BusinessService.html +120 -0
  9. data/doc/classes/Uddi4r/CategoryBag.html +120 -0
  10. data/doc/classes/Uddi4r/Client.html +651 -0
  11. data/doc/classes/Uddi4r/Connection.html +331 -0
  12. data/doc/classes/Uddi4r/DiscoveryURLs.html +157 -0
  13. data/doc/classes/Uddi4r/FindQualifiers.html +157 -0
  14. data/doc/classes/Uddi4r/IdentifierBag.html +120 -0
  15. data/doc/classes/Uddi4r/KeyedReference.html +120 -0
  16. data/doc/classes/Uddi4r/Model.html +296 -0
  17. data/doc/classes/Uddi4r/OverviewDoc.html +120 -0
  18. data/doc/classes/Uddi4r/RelatedBusinessesList.html +120 -0
  19. data/doc/classes/Uddi4r/ServiceDetail.html +120 -0
  20. data/doc/classes/Uddi4r/ServiceInfo.html +120 -0
  21. data/doc/classes/Uddi4r/ServiceList.html +120 -0
  22. data/doc/classes/Uddi4r/SoapBuilder.html +356 -0
  23. data/doc/classes/Uddi4r/TModel.html +120 -0
  24. data/doc/classes/Uddi4r/TModelBag.html +155 -0
  25. data/doc/classes/Uddi4r/TModelDetail.html +120 -0
  26. data/doc/classes/Uddi4r/TModelInstanceInfo.html +120 -0
  27. data/doc/classes/Uddi4r.html +154 -0
  28. data/doc/created.rid +1 -0
  29. data/doc/files/README.html +147 -0
  30. data/doc/files/lib/client_rb.html +117 -0
  31. data/doc/files/lib/connection_rb.html +119 -0
  32. data/doc/files/lib/models_rb.html +115 -0
  33. data/doc/files/lib/soap_builder_rb.html +108 -0
  34. data/doc/fr_class_index.html +52 -0
  35. data/doc/fr_file_index.html +31 -0
  36. data/doc/fr_method_index.html +54 -0
  37. data/doc/index.html +24 -0
  38. data/doc/rdoc-style.css +208 -0
  39. data/lib/client.rb +203 -0
  40. data/lib/connection.rb +74 -0
  41. data/lib/models.rb +207 -0
  42. data/lib/soap_builder.rb +89 -0
  43. data/test/fixtures/business_service.xml +40 -0
  44. data/test/fixtures/test_uddi_servers.rb +31 -0
  45. data/test/test_client.rb +141 -0
  46. data/test/test_connection.rb +34 -0
  47. data/test/test_model.rb +34 -0
  48. metadata +97 -0
@@ -0,0 +1,331 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>Class: Uddi4r::Connection</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="classHeader">
50
+ <table class="header-table">
51
+ <tr class="top-aligned-row">
52
+ <td><strong>Class</strong></td>
53
+ <td class="class-name-in-header">Uddi4r::Connection</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../files/lib/connection_rb.html">
59
+ lib/connection.rb
60
+ </a>
61
+ <br />
62
+ </td>
63
+ </tr>
64
+
65
+ <tr class="top-aligned-row">
66
+ <td><strong>Parent:</strong></td>
67
+ <td>
68
+ Object
69
+ </td>
70
+ </tr>
71
+ </table>
72
+ </div>
73
+ <!-- banner header -->
74
+
75
+ <div id="bodyContent">
76
+
77
+
78
+
79
+ <div id="contextContent">
80
+
81
+ <div id="description">
82
+ <h1><a href="Connection.html">Connection</a></h1>
83
+ <p>
84
+ This class manages the UDDI connection and SOAP messaging. It also provides
85
+ helper methods for creating SOAP payload and related XML elements.
86
+ </p>
87
+ <h2>Example</h2>
88
+ <p>
89
+ Following example demonstrates the typical browse use-case for UDDI. It
90
+ starts with the findBusiness use-case and drills down to the specific
91
+ binding.
92
+ </p>
93
+ <pre>
94
+ uddi = Uddi4r::UddiClient.new(XMethodsUddi.url)
95
+ biz = uddi.find_business(&quot;chaiwat&quot;).first
96
+ service = biz.service_infos.first
97
+ binding = uddi.find_binding(service.service_key)
98
+ </pre>
99
+
100
+ </div>
101
+
102
+
103
+ </div>
104
+
105
+ <div id="method-list">
106
+ <h3 class="section-bar">Methods</h3>
107
+
108
+ <div class="name-list">
109
+ <a href="#M000025">invoke</a>&nbsp;&nbsp;
110
+ <a href="#M000024">invoke_operation</a>&nbsp;&nbsp;
111
+ <a href="#M000023">max_rows=</a>&nbsp;&nbsp;
112
+ <a href="#M000022">namespace_for</a>&nbsp;&nbsp;
113
+ <a href="#M000021">new</a>&nbsp;&nbsp;
114
+ <a href="#M000026">to_s</a>&nbsp;&nbsp;
115
+ </div>
116
+ </div>
117
+
118
+ </div>
119
+
120
+
121
+ <!-- if includes -->
122
+ <div id="includes">
123
+ <h3 class="section-bar">Included Modules</h3>
124
+
125
+ <div id="includes-list">
126
+ <span class="include-name"><a href="SoapBuilder.html">SoapBuilder</a></span>
127
+ </div>
128
+ </div>
129
+
130
+ <div id="section">
131
+
132
+
133
+
134
+
135
+
136
+
137
+
138
+
139
+ <!-- if method_list -->
140
+ <div id="methods">
141
+ <h3 class="section-bar">Public Class methods</h3>
142
+
143
+ <div id="method-M000022" class="method-detail">
144
+ <a name="M000022"></a>
145
+
146
+ <div class="method-heading">
147
+ <a href="#M000022" class="method-signature">
148
+ <span class="method-name">namespace_for</span><span class="method-args">(version)</span>
149
+ </a>
150
+ </div>
151
+
152
+ <div class="method-description">
153
+ <p>
154
+ Returns fully qualified namespace for given UDDI protocol version
155
+ </p>
156
+ <p><a class="source-toggle" href="#"
157
+ onclick="toggleCode('M000022-source');return false;">[Source]</a></p>
158
+ <div class="method-source-code" id="M000022-source">
159
+ <pre>
160
+ <span class="ruby-comment cmt"># File lib/connection.rb, line 45</span>
161
+ <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">namespace_for</span>(<span class="ruby-identifier">version</span>)
162
+ <span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@@XmlNamespace</span>[<span class="ruby-identifier">version</span>.<span class="ruby-identifier">to_s</span>()] <span class="ruby-operator">||</span> <span class="ruby-identifier">raise</span>(<span class="ruby-node">&quot;Unsupported UDDI version #{version}&quot;</span>)
163
+ <span class="ruby-keyword kw">end</span>
164
+ </pre>
165
+ </div>
166
+ </div>
167
+ </div>
168
+
169
+ <div id="method-M000021" class="method-detail">
170
+ <a name="M000021"></a>
171
+
172
+ <div class="method-heading">
173
+ <a href="#M000021" class="method-signature">
174
+ <span class="method-name">new</span><span class="method-args">(endpoint, version=&quot;2.0&quot;, debug=false)</span>
175
+ </a>
176
+ </div>
177
+
178
+ <div class="method-description">
179
+ <p>
180
+ Create the UDDI connection for given endpoint and protocol version.
181
+ </p>
182
+ <table>
183
+ <tr><td valign="top">endpoint:</td><td>URL to UDDI server as string
184
+
185
+ </td></tr>
186
+ <tr><td valign="top">version:</td><td>UDDI protocol version as string. Default (and only support) is
187
+ &quot;2.0&quot;
188
+
189
+ </td></tr>
190
+ </table>
191
+ <p><a class="source-toggle" href="#"
192
+ onclick="toggleCode('M000021-source');return false;">[Source]</a></p>
193
+ <div class="method-source-code" id="M000021-source">
194
+ <pre>
195
+ <span class="ruby-comment cmt"># File lib/connection.rb, line 34</span>
196
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">endpoint</span>, <span class="ruby-identifier">version</span>=<span class="ruby-value str">&quot;2.0&quot;</span>, <span class="ruby-identifier">debug</span>=<span class="ruby-keyword kw">false</span>)
197
+ <span class="ruby-ivar">@endpoint</span> = <span class="ruby-identifier">endpoint</span>
198
+ <span class="ruby-ivar">@version</span> = <span class="ruby-identifier">version</span>.<span class="ruby-identifier">to_s</span>()
199
+ <span class="ruby-ivar">@uddi_namespace</span> = <span class="ruby-constant">Connection</span>.<span class="ruby-identifier">namespace_for</span>(<span class="ruby-ivar">@version</span>)
200
+ <span class="ruby-identifier">props</span> = <span class="ruby-constant">SOAP</span><span class="ruby-operator">::</span><span class="ruby-constant">Property</span>.<span class="ruby-identifier">new</span>()
201
+ <span class="ruby-identifier">props</span>[<span class="ruby-value str">&quot;wiredump_dev&quot;</span>] = <span class="ruby-constant">STDOUT</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">debug</span>
202
+ <span class="ruby-ivar">@stream_handler</span> = <span class="ruby-constant">SOAP</span><span class="ruby-operator">::</span><span class="ruby-constant">HTTPStreamHandler</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">props</span>)
203
+ <span class="ruby-ivar">@max_rows</span> = <span class="ruby-keyword kw">nil</span>
204
+ <span class="ruby-keyword kw">end</span>
205
+ </pre>
206
+ </div>
207
+ </div>
208
+ </div>
209
+
210
+ <h3 class="section-bar">Public Instance methods</h3>
211
+
212
+ <div id="method-M000025" class="method-detail">
213
+ <a name="M000025"></a>
214
+
215
+ <div class="method-heading">
216
+ <a href="#M000025" class="method-signature">
217
+ <span class="method-name">invoke</span><span class="method-args">(payload)</span>
218
+ </a>
219
+ </div>
220
+
221
+ <div class="method-description">
222
+ <p>
223
+ Uses the connection to transmit given payload (DOM element)
224
+ </p>
225
+ <p><a class="source-toggle" href="#"
226
+ onclick="toggleCode('M000025-source');return false;">[Source]</a></p>
227
+ <div class="method-source-code" id="M000025-source">
228
+ <pre>
229
+ <span class="ruby-comment cmt"># File lib/connection.rb, line 63</span>
230
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">invoke</span>(<span class="ruby-identifier">payload</span>)
231
+ <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">puts</span>(<span class="ruby-identifier">payload</span>) <span class="ruby-keyword kw">unless</span> <span class="ruby-ivar">@endpoint</span>
232
+ <span class="ruby-identifier">data</span> = <span class="ruby-constant">SOAP</span><span class="ruby-operator">::</span><span class="ruby-constant">StreamHandler</span><span class="ruby-operator">::</span><span class="ruby-constant">ConnectionData</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">payload</span>.<span class="ruby-identifier">to_s</span>())
233
+ <span class="ruby-identifier">response</span> = <span class="ruby-ivar">@stream_handler</span>.<span class="ruby-identifier">send</span>(<span class="ruby-ivar">@endpoint</span>, <span class="ruby-identifier">data</span>).<span class="ruby-identifier">receive_string</span>
234
+ <span class="ruby-keyword kw">return</span> <span class="ruby-constant">REXML</span><span class="ruby-operator">::</span><span class="ruby-constant">Document</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">response</span>)
235
+ <span class="ruby-keyword kw">end</span>
236
+ </pre>
237
+ </div>
238
+ </div>
239
+ </div>
240
+
241
+ <div id="method-M000024" class="method-detail">
242
+ <a name="M000024"></a>
243
+
244
+ <div class="method-heading">
245
+ <a href="#M000024" class="method-signature">
246
+ <span class="method-name">invoke_operation</span><span class="method-args">(operation)</span>
247
+ </a>
248
+ </div>
249
+
250
+ <div class="method-description">
251
+ <p>
252
+ Uses the connection to invoke SOAP call for given operation (DOM element)
253
+ </p>
254
+ <p><a class="source-toggle" href="#"
255
+ onclick="toggleCode('M000024-source');return false;">[Source]</a></p>
256
+ <div class="method-source-code" id="M000024-source">
257
+ <pre>
258
+ <span class="ruby-comment cmt"># File lib/connection.rb, line 55</span>
259
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">invoke_operation</span>(<span class="ruby-identifier">operation</span>)
260
+ <span class="ruby-identifier">body</span> = <span class="ruby-identifier">create_body</span>()
261
+ <span class="ruby-identifier">body</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">operation</span>
262
+ <span class="ruby-identifier">payload</span> = <span class="ruby-identifier">create_payload</span>(<span class="ruby-identifier">body</span>)
263
+ <span class="ruby-identifier">invoke</span>(<span class="ruby-identifier">payload</span>)
264
+ <span class="ruby-keyword kw">end</span>
265
+ </pre>
266
+ </div>
267
+ </div>
268
+ </div>
269
+
270
+ <div id="method-M000023" class="method-detail">
271
+ <a name="M000023"></a>
272
+
273
+ <div class="method-heading">
274
+ <a href="#M000023" class="method-signature">
275
+ <span class="method-name">max_rows=</span><span class="method-args">(max_rows)</span>
276
+ </a>
277
+ </div>
278
+
279
+ <div class="method-description">
280
+ <p>
281
+ Set the maximum rows returns by the UDDI server
282
+ </p>
283
+ <p><a class="source-toggle" href="#"
284
+ onclick="toggleCode('M000023-source');return false;">[Source]</a></p>
285
+ <div class="method-source-code" id="M000023-source">
286
+ <pre>
287
+ <span class="ruby-comment cmt"># File lib/connection.rb, line 50</span>
288
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">max_rows=</span>(<span class="ruby-identifier">max_rows</span>)
289
+ <span class="ruby-ivar">@max_rows</span> = <span class="ruby-identifier">max_rows</span>
290
+ <span class="ruby-keyword kw">end</span>
291
+ </pre>
292
+ </div>
293
+ </div>
294
+ </div>
295
+
296
+ <div id="method-M000026" class="method-detail">
297
+ <a name="M000026"></a>
298
+
299
+ <div class="method-heading">
300
+ <a href="#M000026" class="method-signature">
301
+ <span class="method-name">to_s</span><span class="method-args">()</span>
302
+ </a>
303
+ </div>
304
+
305
+ <div class="method-description">
306
+ <p><a class="source-toggle" href="#"
307
+ onclick="toggleCode('M000026-source');return false;">[Source]</a></p>
308
+ <div class="method-source-code" id="M000026-source">
309
+ <pre>
310
+ <span class="ruby-comment cmt"># File lib/connection.rb, line 70</span>
311
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_s</span>
312
+ <span class="ruby-node">&quot;UDDI connection: #{@endpoint}: #{@version} ns:#{@uddi_namespace}&quot;</span>
313
+ <span class="ruby-keyword kw">end</span>
314
+ </pre>
315
+ </div>
316
+ </div>
317
+ </div>
318
+
319
+
320
+ </div>
321
+
322
+
323
+ </div>
324
+
325
+
326
+ <div id="validator-badges">
327
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
328
+ </div>
329
+
330
+ </body>
331
+ </html>
@@ -0,0 +1,157 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>Class: Uddi4r::DiscoveryURLs</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="classHeader">
50
+ <table class="header-table">
51
+ <tr class="top-aligned-row">
52
+ <td><strong>Class</strong></td>
53
+ <td class="class-name-in-header">Uddi4r::DiscoveryURLs</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../files/lib/models_rb.html">
59
+ lib/models.rb
60
+ </a>
61
+ <br />
62
+ </td>
63
+ </tr>
64
+
65
+ <tr class="top-aligned-row">
66
+ <td><strong>Parent:</strong></td>
67
+ <td>
68
+ <a href="Model.html">
69
+ Model
70
+ </a>
71
+ </td>
72
+ </tr>
73
+ </table>
74
+ </div>
75
+ <!-- banner header -->
76
+
77
+ <div id="bodyContent">
78
+
79
+
80
+
81
+ <div id="contextContent">
82
+
83
+ <div id="description">
84
+ <p>
85
+ UDDI discoverURLs, for more information, see <a
86
+ href="Model.html">Uddi4r::Model</a>.
87
+ </p>
88
+
89
+ </div>
90
+
91
+
92
+ </div>
93
+
94
+ <div id="method-list">
95
+ <h3 class="section-bar">Methods</h3>
96
+
97
+ <div class="name-list">
98
+ <a href="#M000028">new</a>&nbsp;&nbsp;
99
+ </div>
100
+ </div>
101
+
102
+ </div>
103
+
104
+
105
+ <!-- if includes -->
106
+
107
+ <div id="section">
108
+
109
+
110
+
111
+
112
+
113
+
114
+
115
+
116
+ <!-- if method_list -->
117
+ <div id="methods">
118
+ <h3 class="section-bar">Public Class methods</h3>
119
+
120
+ <div id="method-M000028" class="method-detail">
121
+ <a name="M000028"></a>
122
+
123
+ <div class="method-heading">
124
+ <a href="#M000028" class="method-signature">
125
+ <span class="method-name">new</span><span class="method-args">(*urls)</span>
126
+ </a>
127
+ </div>
128
+
129
+ <div class="method-description">
130
+ <p><a class="source-toggle" href="#"
131
+ onclick="toggleCode('M000028-source');return false;">[Source]</a></p>
132
+ <div class="method-source-code" id="M000028-source">
133
+ <pre>
134
+ <span class="ruby-comment cmt"># File lib/models.rb, line 189</span>
135
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">urls</span>)
136
+ <span class="ruby-identifier">urls</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">u</span><span class="ruby-operator">|</span>
137
+ <span class="ruby-identifier">discovery_url</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">u</span>
138
+ <span class="ruby-keyword kw">end</span>
139
+ <span class="ruby-keyword kw">end</span>
140
+ </pre>
141
+ </div>
142
+ </div>
143
+ </div>
144
+
145
+
146
+ </div>
147
+
148
+
149
+ </div>
150
+
151
+
152
+ <div id="validator-badges">
153
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
154
+ </div>
155
+
156
+ </body>
157
+ </html>
@@ -0,0 +1,157 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>Class: Uddi4r::FindQualifiers</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="classHeader">
50
+ <table class="header-table">
51
+ <tr class="top-aligned-row">
52
+ <td><strong>Class</strong></td>
53
+ <td class="class-name-in-header">Uddi4r::FindQualifiers</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../files/lib/models_rb.html">
59
+ lib/models.rb
60
+ </a>
61
+ <br />
62
+ </td>
63
+ </tr>
64
+
65
+ <tr class="top-aligned-row">
66
+ <td><strong>Parent:</strong></td>
67
+ <td>
68
+ <a href="Model.html">
69
+ Model
70
+ </a>
71
+ </td>
72
+ </tr>
73
+ </table>
74
+ </div>
75
+ <!-- banner header -->
76
+
77
+ <div id="bodyContent">
78
+
79
+
80
+
81
+ <div id="contextContent">
82
+
83
+ <div id="description">
84
+ <p>
85
+ UDDI findQualifiers, for more information, see <a
86
+ href="Model.html">Uddi4r::Model</a>.
87
+ </p>
88
+
89
+ </div>
90
+
91
+
92
+ </div>
93
+
94
+ <div id="method-list">
95
+ <h3 class="section-bar">Methods</h3>
96
+
97
+ <div class="name-list">
98
+ <a href="#M000008">new</a>&nbsp;&nbsp;
99
+ </div>
100
+ </div>
101
+
102
+ </div>
103
+
104
+
105
+ <!-- if includes -->
106
+
107
+ <div id="section">
108
+
109
+
110
+
111
+
112
+
113
+
114
+
115
+
116
+ <!-- if method_list -->
117
+ <div id="methods">
118
+ <h3 class="section-bar">Public Class methods</h3>
119
+
120
+ <div id="method-M000008" class="method-detail">
121
+ <a name="M000008"></a>
122
+
123
+ <div class="method-heading">
124
+ <a href="#M000008" class="method-signature">
125
+ <span class="method-name">new</span><span class="method-args">(*qualifiers)</span>
126
+ </a>
127
+ </div>
128
+
129
+ <div class="method-description">
130
+ <p><a class="source-toggle" href="#"
131
+ onclick="toggleCode('M000008-source');return false;">[Source]</a></p>
132
+ <div class="method-source-code" id="M000008-source">
133
+ <pre>
134
+ <span class="ruby-comment cmt"># File lib/models.rb, line 200</span>
135
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">qualifiers</span>)
136
+ <span class="ruby-identifier">qualifiers</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">q</span><span class="ruby-operator">|</span>
137
+ <span class="ruby-identifier">find_qualifier</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">q</span>
138
+ <span class="ruby-keyword kw">end</span>
139
+ <span class="ruby-keyword kw">end</span>
140
+ </pre>
141
+ </div>
142
+ </div>
143
+ </div>
144
+
145
+
146
+ </div>
147
+
148
+
149
+ </div>
150
+
151
+
152
+ <div id="validator-badges">
153
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
154
+ </div>
155
+
156
+ </body>
157
+ </html>