uddi4r 0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/README +19 -0
- data/doc/classes/Uddi4r/BindingDetail.html +120 -0
- data/doc/classes/Uddi4r/BindingTemplate.html +120 -0
- data/doc/classes/Uddi4r/BusinessDetail.html +120 -0
- data/doc/classes/Uddi4r/BusinessEntity.html +120 -0
- data/doc/classes/Uddi4r/BusinessInfo.html +120 -0
- data/doc/classes/Uddi4r/BusinessList.html +120 -0
- data/doc/classes/Uddi4r/BusinessService.html +120 -0
- data/doc/classes/Uddi4r/CategoryBag.html +120 -0
- data/doc/classes/Uddi4r/Client.html +651 -0
- data/doc/classes/Uddi4r/Connection.html +331 -0
- data/doc/classes/Uddi4r/DiscoveryURLs.html +157 -0
- data/doc/classes/Uddi4r/FindQualifiers.html +157 -0
- data/doc/classes/Uddi4r/IdentifierBag.html +120 -0
- data/doc/classes/Uddi4r/KeyedReference.html +120 -0
- data/doc/classes/Uddi4r/Model.html +296 -0
- data/doc/classes/Uddi4r/OverviewDoc.html +120 -0
- data/doc/classes/Uddi4r/RelatedBusinessesList.html +120 -0
- data/doc/classes/Uddi4r/ServiceDetail.html +120 -0
- data/doc/classes/Uddi4r/ServiceInfo.html +120 -0
- data/doc/classes/Uddi4r/ServiceList.html +120 -0
- data/doc/classes/Uddi4r/SoapBuilder.html +356 -0
- data/doc/classes/Uddi4r/TModel.html +120 -0
- data/doc/classes/Uddi4r/TModelBag.html +155 -0
- data/doc/classes/Uddi4r/TModelDetail.html +120 -0
- data/doc/classes/Uddi4r/TModelInstanceInfo.html +120 -0
- data/doc/classes/Uddi4r.html +154 -0
- data/doc/created.rid +1 -0
- data/doc/files/README.html +147 -0
- data/doc/files/lib/client_rb.html +117 -0
- data/doc/files/lib/connection_rb.html +119 -0
- data/doc/files/lib/models_rb.html +115 -0
- data/doc/files/lib/soap_builder_rb.html +108 -0
- data/doc/fr_class_index.html +52 -0
- data/doc/fr_file_index.html +31 -0
- data/doc/fr_method_index.html +54 -0
- data/doc/index.html +24 -0
- data/doc/rdoc-style.css +208 -0
- data/lib/client.rb +203 -0
- data/lib/connection.rb +74 -0
- data/lib/models.rb +207 -0
- data/lib/soap_builder.rb +89 -0
- data/test/fixtures/business_service.xml +40 -0
- data/test/fixtures/test_uddi_servers.rb +31 -0
- data/test/test_client.rb +141 -0
- data/test/test_connection.rb +34 -0
- data/test/test_model.rb +34 -0
- metadata +97 -0
@@ -0,0 +1,356 @@
|
|
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>Module: Uddi4r::SoapBuilder</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>Module</strong></td>
|
53
|
+
<td class="class-name-in-header">Uddi4r::SoapBuilder</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../../files/lib/soap_builder_rb.html">
|
59
|
+
lib/soap_builder.rb
|
60
|
+
</a>
|
61
|
+
<br />
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
|
65
|
+
</table>
|
66
|
+
</div>
|
67
|
+
<!-- banner header -->
|
68
|
+
|
69
|
+
<div id="bodyContent">
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
<div id="contextContent">
|
74
|
+
|
75
|
+
<div id="description">
|
76
|
+
<p>
|
77
|
+
Helper module to be mixed into <a
|
78
|
+
href="Connection.html">Uddi4r::Connection</a>
|
79
|
+
</p>
|
80
|
+
|
81
|
+
</div>
|
82
|
+
|
83
|
+
|
84
|
+
</div>
|
85
|
+
|
86
|
+
<div id="method-list">
|
87
|
+
<h3 class="section-bar">Methods</h3>
|
88
|
+
|
89
|
+
<div class="name-list">
|
90
|
+
<a href="#M000004">create_body</a>
|
91
|
+
<a href="#M000006">create_element</a>
|
92
|
+
<a href="#M000003">create_elements</a>
|
93
|
+
<a href="#M000007">create_operation</a>
|
94
|
+
<a href="#M000001">create_payload</a>
|
95
|
+
<a href="#M000002">create_t_model_bag</a>
|
96
|
+
<a href="#M000005">create_uddi_operation</a>
|
97
|
+
</div>
|
98
|
+
</div>
|
99
|
+
|
100
|
+
</div>
|
101
|
+
|
102
|
+
|
103
|
+
<!-- if includes -->
|
104
|
+
|
105
|
+
<div id="section">
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
|
114
|
+
<!-- if method_list -->
|
115
|
+
<div id="methods">
|
116
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
117
|
+
|
118
|
+
<div id="method-M000004" class="method-detail">
|
119
|
+
<a name="M000004"></a>
|
120
|
+
|
121
|
+
<div class="method-heading">
|
122
|
+
<a href="#M000004" class="method-signature">
|
123
|
+
<span class="method-name">create_body</span><span class="method-args">()</span>
|
124
|
+
</a>
|
125
|
+
</div>
|
126
|
+
|
127
|
+
<div class="method-description">
|
128
|
+
<p>
|
129
|
+
Create an empty DOM element for SOAP Body
|
130
|
+
</p>
|
131
|
+
<p><a class="source-toggle" href="#"
|
132
|
+
onclick="toggleCode('M000004-source');return false;">[Source]</a></p>
|
133
|
+
<div class="method-source-code" id="M000004-source">
|
134
|
+
<pre>
|
135
|
+
<span class="ruby-comment cmt"># File lib/soap_builder.rb, line 39</span>
|
136
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">create_body</span>
|
137
|
+
<span class="ruby-identifier">body</span> = <span class="ruby-constant">REXML</span><span class="ruby-operator">::</span><span class="ruby-constant">Element</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value str">"Body"</span>)
|
138
|
+
<span class="ruby-keyword kw">end</span>
|
139
|
+
</pre>
|
140
|
+
</div>
|
141
|
+
</div>
|
142
|
+
</div>
|
143
|
+
|
144
|
+
<div id="method-M000006" class="method-detail">
|
145
|
+
<a name="M000006"></a>
|
146
|
+
|
147
|
+
<div class="method-heading">
|
148
|
+
<a href="#M000006" class="method-signature">
|
149
|
+
<span class="method-name">create_element</span><span class="method-args">(name, value=nil, attributes={})</span>
|
150
|
+
</a>
|
151
|
+
</div>
|
152
|
+
|
153
|
+
<div class="method-description">
|
154
|
+
<p>
|
155
|
+
Create a DOM element for given name
|
156
|
+
</p>
|
157
|
+
<p><a class="source-toggle" href="#"
|
158
|
+
onclick="toggleCode('M000006-source');return false;">[Source]</a></p>
|
159
|
+
<div class="method-source-code" id="M000006-source">
|
160
|
+
<pre>
|
161
|
+
<span class="ruby-comment cmt"># File lib/soap_builder.rb, line 56</span>
|
162
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">create_element</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">value</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">attributes</span>={})
|
163
|
+
<span class="ruby-identifier">elm</span> = <span class="ruby-constant">REXML</span><span class="ruby-operator">::</span><span class="ruby-constant">Element</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">name</span>)
|
164
|
+
<span class="ruby-identifier">elm</span>.<span class="ruby-identifier">text</span> = <span class="ruby-identifier">value</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">value</span>
|
165
|
+
<span class="ruby-identifier">attributes</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-identifier">elm</span>.<span class="ruby-identifier">add_attribute</span>(<span class="ruby-identifier">k</span>, <span class="ruby-identifier">v</span>) }
|
166
|
+
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">elm</span>
|
167
|
+
<span class="ruby-keyword kw">end</span>
|
168
|
+
</pre>
|
169
|
+
</div>
|
170
|
+
</div>
|
171
|
+
</div>
|
172
|
+
|
173
|
+
<div id="method-M000003" class="method-detail">
|
174
|
+
<a name="M000003"></a>
|
175
|
+
|
176
|
+
<div class="method-heading">
|
177
|
+
<a href="#M000003" class="method-signature">
|
178
|
+
<span class="method-name">create_elements</span><span class="method-args">(name, *values)</span>
|
179
|
+
</a>
|
180
|
+
</div>
|
181
|
+
|
182
|
+
<div class="method-description">
|
183
|
+
<p>
|
184
|
+
Create element array
|
185
|
+
</p>
|
186
|
+
<p><a class="source-toggle" href="#"
|
187
|
+
onclick="toggleCode('M000003-source');return false;">[Source]</a></p>
|
188
|
+
<div class="method-source-code" id="M000003-source">
|
189
|
+
<pre>
|
190
|
+
<span class="ruby-comment cmt"># File lib/soap_builder.rb, line 30</span>
|
191
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">create_elements</span>(<span class="ruby-identifier">name</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">values</span>)
|
192
|
+
<span class="ruby-identifier">elems</span> = []
|
193
|
+
<span class="ruby-identifier">values</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">value</span><span class="ruby-operator">|</span>
|
194
|
+
<span class="ruby-identifier">elems</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">create_element</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">value</span>)
|
195
|
+
<span class="ruby-keyword kw">end</span>
|
196
|
+
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">elems</span>
|
197
|
+
<span class="ruby-keyword kw">end</span>
|
198
|
+
</pre>
|
199
|
+
</div>
|
200
|
+
</div>
|
201
|
+
</div>
|
202
|
+
|
203
|
+
<div id="method-M000007" class="method-detail">
|
204
|
+
<a name="M000007"></a>
|
205
|
+
|
206
|
+
<div class="method-heading">
|
207
|
+
<a href="#M000007" class="method-signature">
|
208
|
+
<span class="method-name">create_operation</span><span class="method-args">(name, attribs={}, *elements)</span>
|
209
|
+
</a>
|
210
|
+
</div>
|
211
|
+
|
212
|
+
<div class="method-description">
|
213
|
+
<p>
|
214
|
+
Create the operation for the SOAP body
|
215
|
+
</p>
|
216
|
+
<table>
|
217
|
+
<tr><td valign="top">name:</td><td>Name of the element
|
218
|
+
|
219
|
+
</td></tr>
|
220
|
+
<tr><td valign="top">attribs:</td><td>Attributes for the element
|
221
|
+
|
222
|
+
</td></tr>
|
223
|
+
<tr><td valign="top">elements:</td><td>Sub elements varargs (items can be nil, Hash,
|
224
|
+
|
225
|
+
</td></tr>
|
226
|
+
</table>
|
227
|
+
<p>
|
228
|
+
Array of Hashes and REXML:Element)
|
229
|
+
</p>
|
230
|
+
<p><a class="source-toggle" href="#"
|
231
|
+
onclick="toggleCode('M000007-source');return false;">[Source]</a></p>
|
232
|
+
<div class="method-source-code" id="M000007-source">
|
233
|
+
<pre>
|
234
|
+
<span class="ruby-comment cmt"># File lib/soap_builder.rb, line 68</span>
|
235
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">create_operation</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">attribs</span>={}, <span class="ruby-operator">*</span><span class="ruby-identifier">elements</span>)
|
236
|
+
<span class="ruby-identifier">operation</span> = <span class="ruby-identifier">create_uddi_operation</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">attribs</span>)
|
237
|
+
<span class="ruby-identifier">elements</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">elem</span><span class="ruby-operator">|</span>
|
238
|
+
<span class="ruby-identifier">add_element</span>(<span class="ruby-identifier">operation</span>, <span class="ruby-identifier">elem</span>)
|
239
|
+
<span class="ruby-keyword kw">end</span>
|
240
|
+
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">operation</span>
|
241
|
+
<span class="ruby-keyword kw">end</span>
|
242
|
+
</pre>
|
243
|
+
</div>
|
244
|
+
</div>
|
245
|
+
</div>
|
246
|
+
|
247
|
+
<div id="method-M000001" class="method-detail">
|
248
|
+
<a name="M000001"></a>
|
249
|
+
|
250
|
+
<div class="method-heading">
|
251
|
+
<a href="#M000001" class="method-signature">
|
252
|
+
<span class="method-name">create_payload</span><span class="method-args">(body)</span>
|
253
|
+
</a>
|
254
|
+
</div>
|
255
|
+
|
256
|
+
<div class="method-description">
|
257
|
+
<p>
|
258
|
+
Create payload for given body (DOM element)
|
259
|
+
</p>
|
260
|
+
<p><a class="source-toggle" href="#"
|
261
|
+
onclick="toggleCode('M000001-source');return false;">[Source]</a></p>
|
262
|
+
<div class="method-source-code" id="M000001-source">
|
263
|
+
<pre>
|
264
|
+
<span class="ruby-comment cmt"># File lib/soap_builder.rb, line 8</span>
|
265
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">create_payload</span>(<span class="ruby-identifier">body</span>)
|
266
|
+
<span class="ruby-identifier">content</span> = <span class="ruby-constant">REXML</span><span class="ruby-operator">::</span><span class="ruby-constant">Document</span>.<span class="ruby-identifier">new</span>()
|
267
|
+
<span class="ruby-identifier">content</span> <span class="ruby-operator"><<</span> <span class="ruby-constant">REXML</span><span class="ruby-operator">::</span><span class="ruby-constant">XMLDecl</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value str">"1.0"</span>, <span class="ruby-value str">"utf-8"</span>)
|
268
|
+
<span class="ruby-identifier">envelope</span> = <span class="ruby-constant">REXML</span><span class="ruby-operator">::</span><span class="ruby-constant">Element</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value str">"Envelope"</span>)
|
269
|
+
<span class="ruby-identifier">envelope</span>.<span class="ruby-identifier">add_attribute</span>(<span class="ruby-value str">"xmlns"</span>, <span class="ruby-value str">"http://schemas.xmlsoap.org/soap/envelope/"</span>)
|
270
|
+
<span class="ruby-identifier">envelope</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">body</span>
|
271
|
+
<span class="ruby-identifier">content</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">envelope</span>
|
272
|
+
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">content</span>
|
273
|
+
<span class="ruby-keyword kw">end</span>
|
274
|
+
</pre>
|
275
|
+
</div>
|
276
|
+
</div>
|
277
|
+
</div>
|
278
|
+
|
279
|
+
<div id="method-M000002" class="method-detail">
|
280
|
+
<a name="M000002"></a>
|
281
|
+
|
282
|
+
<div class="method-heading">
|
283
|
+
<a href="#M000002" class="method-signature">
|
284
|
+
<span class="method-name">create_t_model_bag</span><span class="method-args">(keys)</span>
|
285
|
+
</a>
|
286
|
+
</div>
|
287
|
+
|
288
|
+
<div class="method-description">
|
289
|
+
<p>
|
290
|
+
Creates tModelBag with key
|
291
|
+
</p>
|
292
|
+
<p><a class="source-toggle" href="#"
|
293
|
+
onclick="toggleCode('M000002-source');return false;">[Source]</a></p>
|
294
|
+
<div class="method-source-code" id="M000002-source">
|
295
|
+
<pre>
|
296
|
+
<span class="ruby-comment cmt"># File lib/soap_builder.rb, line 19</span>
|
297
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">create_t_model_bag</span>(<span class="ruby-identifier">keys</span>)
|
298
|
+
<span class="ruby-identifier">bags</span> = []
|
299
|
+
<span class="ruby-identifier">keys</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">key</span><span class="ruby-operator">|</span>
|
300
|
+
<span class="ruby-identifier">t_model_bag</span> = <span class="ruby-constant">REXML</span><span class="ruby-operator">::</span><span class="ruby-constant">Element</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value str">"tModelBag"</span>)
|
301
|
+
<span class="ruby-identifier">t_model_bag</span>.<span class="ruby-identifier">add_element</span>(<span class="ruby-identifier">create_element</span>(<span class="ruby-value str">"tModelKey"</span>, <span class="ruby-identifier">key</span>))
|
302
|
+
<span class="ruby-identifier">bags</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">t_model_bag</span>
|
303
|
+
<span class="ruby-keyword kw">end</span>
|
304
|
+
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">bags</span>
|
305
|
+
<span class="ruby-keyword kw">end</span>
|
306
|
+
</pre>
|
307
|
+
</div>
|
308
|
+
</div>
|
309
|
+
</div>
|
310
|
+
|
311
|
+
<div id="method-M000005" class="method-detail">
|
312
|
+
<a name="M000005"></a>
|
313
|
+
|
314
|
+
<div class="method-heading">
|
315
|
+
<a href="#M000005" class="method-signature">
|
316
|
+
<span class="method-name">create_uddi_operation</span><span class="method-args">(name, attribs={})</span>
|
317
|
+
</a>
|
318
|
+
</div>
|
319
|
+
|
320
|
+
<div class="method-description">
|
321
|
+
<p>
|
322
|
+
Create a template operation element for given name
|
323
|
+
</p>
|
324
|
+
<p><a class="source-toggle" href="#"
|
325
|
+
onclick="toggleCode('M000005-source');return false;">[Source]</a></p>
|
326
|
+
<div class="method-source-code" id="M000005-source">
|
327
|
+
<pre>
|
328
|
+
<span class="ruby-comment cmt"># File lib/soap_builder.rb, line 44</span>
|
329
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">create_uddi_operation</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">attribs</span>={})
|
330
|
+
<span class="ruby-identifier">operation</span> = <span class="ruby-constant">REXML</span><span class="ruby-operator">::</span><span class="ruby-constant">Element</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">name</span>)
|
331
|
+
<span class="ruby-comment cmt"># set UDDI attributes</span>
|
332
|
+
<span class="ruby-identifier">operation</span>.<span class="ruby-identifier">add_attribute</span>(<span class="ruby-value str">"generic"</span>,<span class="ruby-ivar">@version</span>)
|
333
|
+
<span class="ruby-identifier">operation</span>.<span class="ruby-identifier">add_attribute</span>(<span class="ruby-value str">"xmlns"</span>,<span class="ruby-ivar">@uddi_namespace</span>)
|
334
|
+
<span class="ruby-identifier">operation</span>.<span class="ruby-identifier">add_attribute</span>(<span class="ruby-value str">"maxRows"</span>,<span class="ruby-ivar">@max_rows</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@max_rows</span>
|
335
|
+
<span class="ruby-comment cmt"># add passed attributes</span>
|
336
|
+
<span class="ruby-identifier">attribs</span>.<span class="ruby-identifier">each</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-identifier">operation</span>.<span class="ruby-identifier">add_attribute</span>(<span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span>)}
|
337
|
+
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">operation</span>
|
338
|
+
<span class="ruby-keyword kw">end</span>
|
339
|
+
</pre>
|
340
|
+
</div>
|
341
|
+
</div>
|
342
|
+
</div>
|
343
|
+
|
344
|
+
|
345
|
+
</div>
|
346
|
+
|
347
|
+
|
348
|
+
</div>
|
349
|
+
|
350
|
+
|
351
|
+
<div id="validator-badges">
|
352
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
353
|
+
</div>
|
354
|
+
|
355
|
+
</body>
|
356
|
+
</html>
|
@@ -0,0 +1,120 @@
|
|
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::TModel</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::TModel</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 tModel, for more information, see <a
|
86
|
+
href="Model.html">Uddi4r::Model</a>.
|
87
|
+
</p>
|
88
|
+
|
89
|
+
</div>
|
90
|
+
|
91
|
+
|
92
|
+
</div>
|
93
|
+
|
94
|
+
|
95
|
+
</div>
|
96
|
+
|
97
|
+
|
98
|
+
<!-- if includes -->
|
99
|
+
|
100
|
+
<div id="section">
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
<!-- if method_list -->
|
110
|
+
|
111
|
+
|
112
|
+
</div>
|
113
|
+
|
114
|
+
|
115
|
+
<div id="validator-badges">
|
116
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
117
|
+
</div>
|
118
|
+
|
119
|
+
</body>
|
120
|
+
</html>
|
@@ -0,0 +1,155 @@
|
|
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::TModelBag</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::TModelBag</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 tModelBag, 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="#M000027">new</a>
|
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-M000027" class="method-detail">
|
121
|
+
<a name="M000027"></a>
|
122
|
+
|
123
|
+
<div class="method-heading">
|
124
|
+
<a href="#M000027" class="method-signature">
|
125
|
+
<span class="method-name">new</span><span class="method-args">(t_model_keys=nil)</span>
|
126
|
+
</a>
|
127
|
+
</div>
|
128
|
+
|
129
|
+
<div class="method-description">
|
130
|
+
<p><a class="source-toggle" href="#"
|
131
|
+
onclick="toggleCode('M000027-source');return false;">[Source]</a></p>
|
132
|
+
<div class="method-source-code" id="M000027-source">
|
133
|
+
<pre>
|
134
|
+
<span class="ruby-comment cmt"># File lib/models.rb, line 164</span>
|
135
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">t_model_keys</span>=<span class="ruby-keyword kw">nil</span>)
|
136
|
+
<span class="ruby-identifier">t_model_key</span> = <span class="ruby-identifier">t_model_keys</span>
|
137
|
+
<span class="ruby-keyword kw">end</span>
|
138
|
+
</pre>
|
139
|
+
</div>
|
140
|
+
</div>
|
141
|
+
</div>
|
142
|
+
|
143
|
+
|
144
|
+
</div>
|
145
|
+
|
146
|
+
|
147
|
+
</div>
|
148
|
+
|
149
|
+
|
150
|
+
<div id="validator-badges">
|
151
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
152
|
+
</div>
|
153
|
+
|
154
|
+
</body>
|
155
|
+
</html>
|