marc4j4r 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/doc/ControlFieldImpl.html +58 -153
- data/doc/DataFieldImpl.html +133 -223
- data/doc/Java/OrgMarc4j/MarcReader.html +13 -13
- data/doc/MARC4J4R.html +22 -34
- data/doc/RecordImpl.html +72 -415
- data/doc/SubfieldImpl.html +14 -63
- data/doc/_index.html +1 -76
- data/doc/class_list.html +1 -1
- data/doc/file.README.html +4 -7
- data/doc/index.html +4 -7
- data/doc/method_list.html +24 -168
- data/doc/top-level-namespace.html +3 -3
- data/test/test_marc4j4r.rb +76 -0
- metadata +4 -4
- data/test/readtest.rb +0 -120
- data/test/t.rb +0 -6
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.5
|
data/doc/ControlFieldImpl.html
CHANGED
@@ -72,9 +72,7 @@
|
|
72
72
|
|
73
73
|
|
74
74
|
<dt class="r2 last">Defined in:</dt>
|
75
|
-
<dd class="r2 last">lib/marc4j4r
|
76
|
-
lib/marc4j4r.rb</span>
|
77
|
-
</dd>
|
75
|
+
<dd class="r2 last">lib/marc4j4r.rb</dd>
|
78
76
|
|
79
77
|
</dl>
|
80
78
|
<div class="clear"></div>
|
@@ -82,32 +80,6 @@
|
|
82
80
|
|
83
81
|
|
84
82
|
|
85
|
-
<h2>Class Method Summary</h2>
|
86
|
-
|
87
|
-
<ul class="summary">
|
88
|
-
|
89
|
-
<li class="public ">
|
90
|
-
<span class="summary_signature">
|
91
|
-
|
92
|
-
<a href="#control_tag%3F-class_method" title="control_tag? (class method)">+ (Boolean) <strong>control_tag?</strong>(tag) </a>
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
</span>
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
<span class="summary_desc"></span>
|
105
|
-
|
106
|
-
</li>
|
107
|
-
|
108
|
-
|
109
|
-
</ul>
|
110
|
-
|
111
83
|
<h2>Instance Method Summary</h2>
|
112
84
|
|
113
85
|
<ul class="summary">
|
@@ -115,7 +87,7 @@
|
|
115
87
|
<li class="public ">
|
116
88
|
<span class="summary_signature">
|
117
89
|
|
118
|
-
<a href="#
|
90
|
+
<a href="#to_s-instance_method" title="#to_s (instance method)">- (Object) <strong>to_s</strong> </a>
|
119
91
|
|
120
92
|
|
121
93
|
|
@@ -127,7 +99,10 @@
|
|
127
99
|
|
128
100
|
|
129
101
|
|
130
|
-
<span class="summary_desc"
|
102
|
+
<span class="summary_desc">
|
103
|
+
Pretty-print.
|
104
|
+
|
105
|
+
</span>
|
131
106
|
|
132
107
|
</li>
|
133
108
|
|
@@ -135,7 +110,7 @@
|
|
135
110
|
<li class="public ">
|
136
111
|
<span class="summary_signature">
|
137
112
|
|
138
|
-
<a href="#
|
113
|
+
<a href="#value-instance_method" title="#value (instance method)">- (Object) <strong>value</strong> </a>
|
139
114
|
|
140
115
|
|
141
116
|
|
@@ -147,10 +122,7 @@
|
|
147
122
|
|
148
123
|
|
149
124
|
|
150
|
-
<span class="summary_desc">
|
151
|
-
Pretty-print.
|
152
|
-
|
153
|
-
</span>
|
125
|
+
<span class="summary_desc"></span>
|
154
126
|
|
155
127
|
</li>
|
156
128
|
|
@@ -158,7 +130,7 @@ Pretty-print.
|
|
158
130
|
<li class="public ">
|
159
131
|
<span class="summary_signature">
|
160
132
|
|
161
|
-
<a href="#
|
133
|
+
<a href="#via_tagspec-instance_method" title="#via_tagspec (instance method)">- (Object) <strong>via_tagspec</strong>(tagspec) </a>
|
162
134
|
|
163
135
|
|
164
136
|
|
@@ -178,118 +150,12 @@ Pretty-print.
|
|
178
150
|
</ul>
|
179
151
|
|
180
152
|
|
181
|
-
<div id="class_method_details" class="method_details_list">
|
182
|
-
<h2>Class Method Details</h2>
|
183
|
-
|
184
|
-
|
185
|
-
<div class="method_details first">
|
186
|
-
<p class="signature first" id="control_tag?-class_method">
|
187
|
-
|
188
|
-
+ (<tt>Boolean</tt>) <strong>control_tag?</strong>(tag)
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
</p><div class="docstring">
|
193
|
-
<div class="discussion">
|
194
|
-
|
195
|
-
|
196
|
-
</div>
|
197
|
-
</div>
|
198
|
-
<div class="tags">
|
199
|
-
<h3>Returns:</h3>
|
200
|
-
<ul class="return">
|
201
|
-
|
202
|
-
<li>
|
203
|
-
|
204
|
-
<span class='type'>(<tt>Boolean</tt>)</span>
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
</li>
|
210
|
-
|
211
|
-
</ul>
|
212
|
-
|
213
|
-
</div><table class="source_code">
|
214
|
-
<tr>
|
215
|
-
<td>
|
216
|
-
<pre class="lines">
|
217
|
-
|
218
|
-
|
219
|
-
371
|
220
|
-
372
|
221
|
-
373</pre>
|
222
|
-
</td>
|
223
|
-
<td>
|
224
|
-
<pre class="code"><span class="info file"># File 'lib/marc4j4r.rb', line 371</span>
|
225
|
-
|
226
|
-
<span class='def def kw'>def</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='control_tag? fid id'>control_tag?</span> <span class='tag identifier id'>tag</span>
|
227
|
-
<span class='return return kw'>return</span> <span class='Java constant id'>Java</span><span class='colon2 op'>::</span><span class='org identifier id'>org</span><span class='dot token'>.</span><span class='marc4j identifier id'>marc4j</span><span class='dot token'>.</span><span class='marc identifier id'>marc</span><span class='dot token'>.</span><span class='impl identifier id'>impl</span><span class='dot token'>.</span><span class='Verifier constant id'>Verifier</span><span class='dot token'>.</span><span class='isControlField identifier id'>isControlField</span> <span class='tag identifier id'>tag</span>
|
228
|
-
<span class='end end kw'>end</span>
|
229
|
-
</pre>
|
230
|
-
</td>
|
231
|
-
</tr>
|
232
|
-
</table>
|
233
|
-
</div>
|
234
|
-
|
235
|
-
</div>
|
236
|
-
|
237
153
|
<div id="instance_method_details" class="method_details_list">
|
238
154
|
<h2>Instance Method Details</h2>
|
239
155
|
|
240
156
|
|
241
157
|
<div class="method_details first">
|
242
|
-
<p class="signature first" id="
|
243
|
-
|
244
|
-
- (<tt>Boolean</tt>) <strong>controlField?</strong>
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
</p><div class="docstring">
|
249
|
-
<div class="discussion">
|
250
|
-
|
251
|
-
|
252
|
-
</div>
|
253
|
-
</div>
|
254
|
-
<div class="tags">
|
255
|
-
<h3>Returns:</h3>
|
256
|
-
<ul class="return">
|
257
|
-
|
258
|
-
<li>
|
259
|
-
|
260
|
-
<span class='type'>(<tt>Boolean</tt>)</span>
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
</li>
|
266
|
-
|
267
|
-
</ul>
|
268
|
-
|
269
|
-
</div><table class="source_code">
|
270
|
-
<tr>
|
271
|
-
<td>
|
272
|
-
<pre class="lines">
|
273
|
-
|
274
|
-
|
275
|
-
367
|
276
|
-
368
|
277
|
-
369</pre>
|
278
|
-
</td>
|
279
|
-
<td>
|
280
|
-
<pre class="code"><span class="info file"># File 'lib/marc4j4r.rb', line 367</span>
|
281
|
-
|
282
|
-
<span class='def def kw'>def</span> <span class='controlField? fid id'>controlField?</span>
|
283
|
-
<span class='return return kw'>return</span> <span class='true true kw'>true</span>
|
284
|
-
<span class='end end kw'>end</span>
|
285
|
-
</pre>
|
286
|
-
</td>
|
287
|
-
</tr>
|
288
|
-
</table>
|
289
|
-
</div>
|
290
|
-
|
291
|
-
<div class="method_details ">
|
292
|
-
<p class="signature " id="to_s-instance_method">
|
158
|
+
<p class="signature first" id="to_s-instance_method">
|
293
159
|
|
294
160
|
- (<tt>Object</tt>) <strong>to_s</strong>
|
295
161
|
|
@@ -350,12 +216,12 @@ pretty string
|
|
350
216
|
<pre class="lines">
|
351
217
|
|
352
218
|
|
353
|
-
|
354
|
-
|
355
|
-
|
219
|
+
251
|
220
|
+
252
|
221
|
+
253</pre>
|
356
222
|
</td>
|
357
223
|
<td>
|
358
|
-
<pre class="code"><span class="info file"># File 'lib/marc4j4r.rb', line
|
224
|
+
<pre class="code"><span class="info file"># File 'lib/marc4j4r.rb', line 251</span>
|
359
225
|
|
360
226
|
<span class='def def kw'>def</span> <span class='to_s identifier id'>to_s</span>
|
361
227
|
<span class='return return kw'>return</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='tag identifier id'>tag</span> <span class='plus op'>+</span> <span class='string val'>" "</span> <span class='plus op'>+</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='value identifier id'>value</span>
|
@@ -379,12 +245,12 @@ pretty string
|
|
379
245
|
<pre class="lines">
|
380
246
|
|
381
247
|
|
382
|
-
|
383
|
-
|
384
|
-
|
248
|
+
234
|
249
|
+
235
|
250
|
+
236</pre>
|
385
251
|
</td>
|
386
252
|
<td>
|
387
|
-
<pre class="code"><span class="info file"># File 'lib/marc4j4r.rb', line
|
253
|
+
<pre class="code"><span class="info file"># File 'lib/marc4j4r.rb', line 234</span>
|
388
254
|
|
389
255
|
<span class='def def kw'>def</span> <span class='value identifier id'>value</span>
|
390
256
|
<span class='return return kw'>return</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='data identifier id'>data</span>
|
@@ -393,6 +259,45 @@ pretty string
|
|
393
259
|
</td>
|
394
260
|
</tr>
|
395
261
|
</table>
|
262
|
+
</div>
|
263
|
+
|
264
|
+
<div class="method_details ">
|
265
|
+
<p class="signature " id="via_tagspec-instance_method">
|
266
|
+
|
267
|
+
- (<tt>Object</tt>) <strong>via_tagspec</strong>(tagspec)
|
268
|
+
|
269
|
+
|
270
|
+
|
271
|
+
</p><table class="source_code">
|
272
|
+
<tr>
|
273
|
+
<td>
|
274
|
+
<pre class="lines">
|
275
|
+
|
276
|
+
|
277
|
+
239
|
278
|
+
240
|
279
|
+
241
|
280
|
+
242
|
281
|
+
243
|
282
|
+
244
|
283
|
+
245
|
284
|
+
246</pre>
|
285
|
+
</td>
|
286
|
+
<td>
|
287
|
+
<pre class="code"><span class="info file"># File 'lib/marc4j4r.rb', line 239</span>
|
288
|
+
|
289
|
+
<span class='def def kw'>def</span> <span class='via_tagspec identifier id'>via_tagspec</span><span class='lparen token'>(</span><span class='tagspec identifier id'>tagspec</span><span class='rparen token'>)</span>
|
290
|
+
<span class='return return kw'>return</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='getData identifier id'>getData</span> <span class='unless unless_mod kw'>unless</span> <span class='lparen token'>(</span><span class='tagspec identifier id'>tagspec</span><span class='dot token'>.</span><span class='start identifier id'>start</span><span class='rparen token'>)</span>
|
291
|
+
<span class='len identifier id'>len</span> <span class='assign token'>=</span> <span class='integer val'>1</span>
|
292
|
+
<span class='if if kw'>if</span> <span class='tagspec identifier id'>tagspec</span><span class='dot token'>.</span><span class='end identifier id'>end</span>
|
293
|
+
<span class='len identifier id'>len</span> <span class='assign token'>=</span> <span class='tagspec identifier id'>tagspec</span><span class='dot token'>.</span><span class='end identifier id'>end</span><span class='dot token'>.</span><span class='to_i identifier id'>to_i</span> <span class='minus op'>-</span> <span class='tagspec identifier id'>tagspec</span><span class='dot token'>.</span><span class='start identifier id'>start</span><span class='dot token'>.</span><span class='to_i identifier id'>to_i</span>
|
294
|
+
<span class='end end kw'>end</span>
|
295
|
+
<span class='return return kw'>return</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='getData identifier id'>getData</span><span class='lbrack token'>[</span><span class='tagspec identifier id'>tagspec</span><span class='dot token'>.</span><span class='start identifier id'>start</span><span class='dot token'>.</span><span class='to_i identifier id'>to_i</span> <span class='comma token'>,</span> <span class='len identifier id'>len</span><span class='rbrack token'>]</span>
|
296
|
+
<span class='end end kw'>end</span>
|
297
|
+
</pre>
|
298
|
+
</td>
|
299
|
+
</tr>
|
300
|
+
</table>
|
396
301
|
</div>
|
397
302
|
|
398
303
|
</div>
|
@@ -400,7 +305,7 @@ pretty string
|
|
400
305
|
</div>
|
401
306
|
|
402
307
|
<div id="footer">
|
403
|
-
Generated on
|
308
|
+
Generated on Fri Feb 12 16:38:06 2010 by
|
404
309
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
|
405
310
|
0.5.3 (ruby-1.8.7).
|
406
311
|
</div>
|