1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
|
package org.jruby.ext.nokogiri;
import org.jruby.Ruby;
import org.jruby.RubyClass;
import org.jruby.RubyModule;
import org.jruby.RubyObject;
import org.jruby.anno.JRubyMethod;
import org.jruby.runtime.ObjectAllocator;
import org.jruby.runtime.Visibility;
import org.jruby.runtime.builtin.IRubyObject;
public class Nokogiri {
public static void init(Ruby ruby) {
init_xml_document(ruby);
init_html_document(ruby);
init_xml_node(ruby);
init_xml_text(ruby);
init_xml_cdata(ruby);
init_xml_comment(ruby);
init_xml_node_set(ruby);
init_xml_xpath_context(ruby);
init_xml_xpath(ruby);
init_xml_sax_parser(ruby);
init_xml_reader(ruby);
init_xml_dtd(ruby);
init_html_sax_parser(ruby);
init_xslt_stylesheet(ruby);
init_xml_syntax_error(ruby);
}
public static void init_xml_document(Ruby ruby) {
RubyModule nokogiri = ruby.defineModule("Nokogiri");
RubyModule xml = nokogiri.defineModuleUnder("XML");
RubyClass node = xml.defineClassUnder("Node", ruby.getObject(), XML_NODE_ALLOCATOR);
RubyClass document = xml.defineClassUnder("Document", node, XML_DOCUMENT_ALLOCATOR);
document.defineAnnotatedMethods(XmlDocument.class);
document.undefineMethod("parent");
}
public static void init_html_document(Ruby ruby) {
RubyModule htmlDoc = ruby.getClassFromPath("Nokogiri::HTML::Document");
htmlDoc.defineAnnotatedMethods(HtmlDocument.class);
}
public static void init_xml_node(Ruby ruby) {
RubyModule xmlNode = ruby.getClassFromPath("Nokogiri::XML::Node");
xmlNode.defineAnnotatedMethods(XmlNode.class);
}
public static void init_xml_text(Ruby ruby) {
RubyClass node = (RubyClass)ruby.getClassFromPath("Nokogiri::XML::Node");
RubyModule nokoXml = ruby.getClassFromPath("Nokogiri::XML");
RubyModule xmlNode = nokoXml.defineClassUnder("Text", node, XML_TEXT_ALLOCATOR);
xmlNode.defineAnnotatedMethods(XmlText.class);
}
public static void init_xml_cdata(Ruby ruby) {
RubyClass text = (RubyClass)ruby.getClassFromPath("Nokogiri::XML::Text");
RubyModule nokoXml = ruby.getClassFromPath("Nokogiri::XML");
RubyModule xmlNode = nokoXml.defineClassUnder("CDATA", text, XML_CDATA_ALLOCATOR);
xmlNode.defineAnnotatedMethods(XmlCdata.class);
}
public static void init_xml_comment(Ruby ruby) {
RubyClass node = (RubyClass)ruby.getClassFromPath("Nokogiri::XML::Node");
RubyModule nokoXml = ruby.getClassFromPath("Nokogiri::XML");
RubyModule xmlNode = nokoXml.defineClassUnder("Comment", node, XML_COMMENT_ALLOCATOR);
xmlNode.defineAnnotatedMethods(XmlComment.class);
}
public static void init_xml_node_set(Ruby ruby) {
RubyClass nodeSet = (RubyClass)ruby.getClassFromPath("Nokogiri::XML::NodeSet");
nodeSet.setAllocator(XML_NODESET_ALLOCATOR);
nodeSet.defineAnnotatedMethods(XmlNodeSet.class);
}
public static void init_xml_xpath_context(Ruby ruby) {
RubyModule nokoXml = ruby.getClassFromPath("Nokogiri::XML");
RubyClass xpathContext = nokoXml.defineClassUnder("XPathContext", ruby.getObject(), XML_XPATHCONTEXT_ALLOCATOR);
xpathContext.defineAnnotatedMethods(XpathContext.class);
}
public static void init_xml_xpath(Ruby ruby) {
RubyModule nokoXml = ruby.getClassFromPath("Nokogiri::XML");
RubyClass xpathContext = nokoXml.defineClassUnder("XPath", ruby.getObject(), XML_XPATH_ALLOCATOR);
xpathContext.defineAnnotatedMethods(Xpath.class);
}
public static void init_xml_sax_parser(Ruby ruby) {
RubyClass saxParser = (RubyClass)ruby.getClassFromPath("Nokogiri::XML::SAX::Parser");
saxParser.setAllocator(XML_SAXPARSER_ALLOCATOR);
saxParser.defineAnnotatedMethods(SaxParser.class);
}
public static void init_xml_reader(Ruby ruby) {
RubyModule nokoXml = ruby.getClassFromPath("Nokogiri::XML");
RubyClass reader = nokoXml.defineClassUnder("Reader", ruby.getObject(), XML_READER_ALLOCATOR);
reader.defineAnnotatedMethods(Reader.class);
}
public static void init_xml_dtd(Ruby ruby) {
RubyClass node = (RubyClass)ruby.getClassFromPath("Nokogiri::XML::Node");
RubyModule nokoXml = ruby.getClassFromPath("Nokogiri::XML");
RubyClass xpathContext = nokoXml.defineClassUnder("DTD", node, XML_DTD_ALLOCATOR);
xpathContext.defineAnnotatedMethods(DTD.class);
}
public static void init_html_sax_parser(Ruby ruby) {
RubyClass saxParser = (RubyClass)ruby.getClassFromPath("Nokogiri::HTML::SAX::Parser");
saxParser.setAllocator(HTML_SAXPARSER_ALLOCATOR);
saxParser.defineAnnotatedMethods(HtmlSaxParser.class);
}
public static void init_xslt_stylesheet(Ruby ruby) {
RubyClass stylesheet = (RubyClass)ruby.getClassFromPath("Nokogiri::XSLT::Stylesheet");
stylesheet.defineAnnotatedMethods(XsltStylesheet.class);
}
public static void init_xml_syntax_error(Ruby ruby) {
RubyModule nokoXml = ruby.getClassFromPath("Nokogiri::XML");
RubyClass syntaxError = nokoXml.defineClassUnder("SyntaxError", ruby.getSyntaxError(), XML_SYNTAXERROR_ALLOCATOR);
syntaxError.defineAnnotatedMethods(SyntaxError.class);
}
private static ObjectAllocator XML_NODE_ALLOCATOR = new ObjectAllocator() {
public IRubyObject allocate(Ruby runtime, RubyClass klazz) {
throw new UnsupportedOperationException("Not supported yet.");
}
};
private static ObjectAllocator XML_TEXT_ALLOCATOR = new ObjectAllocator() {
public IRubyObject allocate(Ruby runtime, RubyClass klazz) {
throw new UnsupportedOperationException("Not supported yet.");
}
};
private static ObjectAllocator XML_CDATA_ALLOCATOR = new ObjectAllocator() {
public IRubyObject allocate(Ruby runtime, RubyClass klazz) {
throw new UnsupportedOperationException("Not supported yet.");
}
};
private static ObjectAllocator XML_COMMENT_ALLOCATOR = new ObjectAllocator() {
public IRubyObject allocate(Ruby runtime, RubyClass klazz) {
throw new UnsupportedOperationException("Not supported yet.");
}
};
private static ObjectAllocator XML_NODESET_ALLOCATOR = new ObjectAllocator() {
public IRubyObject allocate(Ruby runtime, RubyClass klazz) {
throw new UnsupportedOperationException("Not supported yet.");
}
};
private static ObjectAllocator XML_XPATHCONTEXT_ALLOCATOR = new ObjectAllocator() {
public IRubyObject allocate(Ruby runtime, RubyClass klazz) {
throw new UnsupportedOperationException("Not supported yet.");
}
};
private static ObjectAllocator XML_XPATH_ALLOCATOR = new ObjectAllocator() {
public IRubyObject allocate(Ruby runtime, RubyClass klazz) {
throw new UnsupportedOperationException("Not supported yet.");
}
};
private static ObjectAllocator XML_READER_ALLOCATOR = new ObjectAllocator() {
public IRubyObject allocate(Ruby runtime, RubyClass klazz) {
throw new UnsupportedOperationException("Not supported yet.");
}
};
private static ObjectAllocator XML_DTD_ALLOCATOR = new ObjectAllocator() {
public IRubyObject allocate(Ruby runtime, RubyClass klazz) {
throw new UnsupportedOperationException("Not supported yet.");
}
};
private static ObjectAllocator XML_SAXPARSER_ALLOCATOR = new ObjectAllocator() {
public IRubyObject allocate(Ruby runtime, RubyClass klazz) {
throw new UnsupportedOperationException("Not supported yet.");
}
};
private static ObjectAllocator HTML_SAXPARSER_ALLOCATOR = new ObjectAllocator() {
public IRubyObject allocate(Ruby runtime, RubyClass klazz) {
throw new UnsupportedOperationException("Not supported yet.");
}
};
private static ObjectAllocator XML_SYNTAXERROR_ALLOCATOR = new ObjectAllocator() {
public IRubyObject allocate(Ruby runtime, RubyClass klazz) {
throw new UnsupportedOperationException("Not supported yet.");
}
};
private static ObjectAllocator XML_DOCUMENT_ALLOCATOR = new ObjectAllocator() {
public IRubyObject allocate(Ruby runtime, RubyClass klazz) {
throw new UnsupportedOperationException("Not supported yet.");
}
};
public static class XmlDocument extends RubyObject {
public XmlDocument(Ruby ruby, RubyClass klass) {
super(ruby, klass);
}
@JRubyMethod(meta = true)
public static IRubyObject read_memory(IRubyObject cls, IRubyObject[] args) {
return cls.getRuntime().getNil();
}
@JRubyMethod(meta = true)
public static IRubyObject read_io(IRubyObject cls, IRubyObject[] args) {
return cls.getRuntime().getNil();
}
@JRubyMethod(meta = true)
public static IRubyObject rbNew(IRubyObject cls, IRubyObject[] args) {
return cls.getRuntime().getNil();
}
@JRubyMethod(meta = true)
public static IRubyObject substitute_entities_set(IRubyObject cls, IRubyObject arg) {
return cls.getRuntime().getNil();
}
@JRubyMethod(meta = true)
public static IRubyObject load_external_subsets_set(IRubyObject cls, IRubyObject arg) {
return cls.getRuntime().getNil();
}
@JRubyMethod
public IRubyObject root() {
return getRuntime().getNil();
}
@JRubyMethod
public IRubyObject root_set(IRubyObject arg) {
return getRuntime().getNil();
}
@JRubyMethod
public IRubyObject serialize() {
return getRuntime().getNil();
}
}
public static class HtmlDocument {
@JRubyMethod(meta = true)
public static IRubyObject read_memory(IRubyObject cls, IRubyObject[] args) {
return cls.getRuntime().getNil();
}
@JRubyMethod
public static IRubyObject type(IRubyObject htmlDoc) {
return htmlDoc.getRuntime().getNil();
}
@JRubyMethod
public static IRubyObject serialize(IRubyObject htmlDoc) {
return htmlDoc.getRuntime().getNil();
}
}
public static class XmlNode {
@JRubyMethod(meta = true)
public static IRubyObject rbNew(IRubyObject cls, IRubyObject[] args) {
return cls.getRuntime().getNil();
}
@JRubyMethod(meta = true)
public static IRubyObject new_from_str(IRubyObject cls, IRubyObject[] args) {
return cls.getRuntime().getNil();
}
@JRubyMethod
public static IRubyObject name(IRubyObject xmlNode) {
return xmlNode.getRuntime().getNil();
}
@JRubyMethod
public static IRubyObject name_set(IRubyObject xmlNode, IRubyObject arg) {
return xmlNode.getRuntime().getNil();
}
@JRubyMethod
public static IRubyObject parent(IRubyObject xmlNode) {
return xmlNode.getRuntime().getNil();
}
@JRubyMethod
public static IRubyObject parent_set(IRubyObject xmlNode, IRubyObject arg) {
return xmlNode.getRuntime().getNil();
}
@JRubyMethod
public static IRubyObject child(IRubyObject xmlNode) {
return xmlNode.getRuntime().getNil();
}
@JRubyMethod
public static IRubyObject next_sibling(IRubyObject xmlNode) {
return xmlNode.getRuntime().getNil();
}
@JRubyMethod
public static IRubyObject previous_sibling(IRubyObject xmlNode) {
return xmlNode.getRuntime().getNil();
}
@JRubyMethod
public static IRubyObject replace(IRubyObject xmlNode, IRubyObject arg) {
return xmlNode.getRuntime().getNil();
}
@JRubyMethod
public static IRubyObject type(IRubyObject xmlNode) {
return xmlNode.getRuntime().getNil();
}
@JRubyMethod
public static IRubyObject content(IRubyObject xmlNode) {
return xmlNode.getRuntime().getNil();
}
@JRubyMethod
public static IRubyObject path(IRubyObject xmlNode) {
return xmlNode.getRuntime().getNil();
}
@JRubyMethod
public static IRubyObject key_p(IRubyObject xmlNode, IRubyObject arg) {
return xmlNode.getRuntime().getNil();
}
@JRubyMethod
public static IRubyObject blank_p(IRubyObject xmlNode) {
return xmlNode.getRuntime().getNil();
}
@JRubyMethod(name = "[]=")
public static IRubyObject op_aset(IRubyObject xmlNode, IRubyObject arg1, IRubyObject arg2) {
return xmlNode.getRuntime().getNil();
}
@JRubyMethod
public static IRubyObject remove_attribute(IRubyObject xmlNode, IRubyObject arg1) {
return xmlNode.getRuntime().getNil();
}
@JRubyMethod
public static IRubyObject attributes(IRubyObject xmlNode) {
return xmlNode.getRuntime().getNil();
}
@JRubyMethod
public static IRubyObject namespaces(IRubyObject xmlNode) {
return xmlNode.getRuntime().getNil();
}
@JRubyMethod
public static IRubyObject add_previous_sibling(IRubyObject xmlNode, IRubyObject arg) {
return xmlNode.getRuntime().getNil();
}
@JRubyMethod
public static IRubyObject add_next_sibling(IRubyObject xmlNode, IRubyObject arg) {
return xmlNode.getRuntime().getNil();
}
@JRubyMethod
public static IRubyObject encode_special_chars(IRubyObject xmlNode, IRubyObject arg) {
return xmlNode.getRuntime().getNil();
}
@JRubyMethod
public static IRubyObject to_xml(IRubyObject xmlNode) {
return xmlNode.getRuntime().getNil();
}
@JRubyMethod
public static IRubyObject dup(IRubyObject xmlNode) {
return xmlNode.getRuntime().getNil();
}
@JRubyMethod
public static IRubyObject unlink(IRubyObject xmlNode) {
return xmlNode.getRuntime().getNil();
}
@JRubyMethod
public static IRubyObject internal_subset(IRubyObject xmlNode) {
return xmlNode.getRuntime().getNil();
}
@JRubyMethod
public static IRubyObject pointer_id(IRubyObject xmlNode) {
return xmlNode.getRuntime().getNil();
}
@JRubyMethod(visibility = Visibility.PRIVATE)
public static IRubyObject native_content_set(IRubyObject xmlNode, IRubyObject arg) {
return xmlNode.getRuntime().getNil();
}
@JRubyMethod(visibility = Visibility.PRIVATE)
public static IRubyObject get(IRubyObject xmlNode) {
return xmlNode.getRuntime().getNil();
}
}
public static class XmlText extends RubyObject {
public XmlText(Ruby ruby, RubyClass rubyClass) {
super(ruby, rubyClass);
}
@JRubyMethod(name = "new", meta = true)
public static IRubyObject rbNew(IRubyObject cls, IRubyObject arg1, IRubyObject arg2) {
return cls.getRuntime().getNil();
}
}
public static class XmlCdata extends RubyObject {
public XmlCdata(Ruby ruby, RubyClass rubyClass) {
super(ruby, rubyClass);
}
@JRubyMethod(name = "new", meta = true)
public static IRubyObject rbNew(IRubyObject cls, IRubyObject arg1, IRubyObject arg2) {
return cls.getRuntime().getNil();
}
}
public static class XmlComment extends RubyObject {
public XmlComment(Ruby ruby, RubyClass rubyClass) {
super(ruby, rubyClass);
}
@JRubyMethod(name = "new", meta = true)
public static IRubyObject rbNew(IRubyObject cls, IRubyObject arg1, IRubyObject arg2) {
return cls.getRuntime().getNil();
}
}
public static class XmlNodeSet extends RubyObject {
public XmlNodeSet(Ruby ruby, RubyClass rubyClass) {
super(ruby, rubyClass);
}
@JRubyMethod
public IRubyObject length() {
return getRuntime().getNil();
}
@JRubyMethod(name = "[]")
public IRubyObject op_aref(IRubyObject arg1) {
return getRuntime().getNil();
}
@JRubyMethod
public IRubyObject push(IRubyObject arg1) {
return getRuntime().getNil();
}
}
public static class XpathContext extends RubyObject {
public XpathContext(Ruby ruby, RubyClass rubyClass) {
super(ruby, rubyClass);
}
@JRubyMethod(name = "new", meta = true)
public static IRubyObject rbNew(IRubyObject cls, IRubyObject arg1) {
return cls.getRuntime().getNil();
}
@JRubyMethod
public IRubyObject evaluate(IRubyObject arg1) {
return getRuntime().getNil();
}
@JRubyMethod
public IRubyObject register_ns(IRubyObject arg1, IRubyObject arg2) {
return getRuntime().getNil();
}
}
public static class Xpath extends RubyObject {
public Xpath(Ruby ruby, RubyClass rubyClass) {
super(ruby, rubyClass);
}
@JRubyMethod(name = "node=")
public IRubyObject node_set() {
return getRuntime().getNil();
}
}
public static class SaxParser extends RubyObject {
public SaxParser(Ruby ruby, RubyClass rubyClass) {
super(ruby, rubyClass);
}
@JRubyMethod
public IRubyObject parse_memory(IRubyObject arg1) {
return getRuntime().getNil();
}
@JRubyMethod(visibility = Visibility.PRIVATE)
public IRubyObject native_parse_file(IRubyObject arg1) {
return getRuntime().getNil();
}
@JRubyMethod(visibility = Visibility.PRIVATE)
public IRubyObject native_parse_io(IRubyObject arg1, IRubyObject arg2) {
return getRuntime().getNil();
}
}
public static class HtmlSaxParser extends RubyObject {
public HtmlSaxParser(Ruby ruby, RubyClass rubyClass) {
super(ruby, rubyClass);
}
@JRubyMethod(visibility = Visibility.PRIVATE)
public IRubyObject native_parse_memory(IRubyObject arg1, IRubyObject arg2) {
return getRuntime().getNil();
}
@JRubyMethod(visibility = Visibility.PRIVATE)
public IRubyObject native_parse_file(IRubyObject arg1, IRubyObject arg2) {
return getRuntime().getNil();
}
}
public static class Reader extends RubyObject {
public Reader(Ruby ruby, RubyClass rubyClass) {
super(ruby, rubyClass);
}
@JRubyMethod(meta = true)
public static IRubyObject from_memory(IRubyObject cls, IRubyObject args[]) {
return cls.getRuntime().getNil();
}
@JRubyMethod
public IRubyObject read() {
return getRuntime().getNil();
}
@JRubyMethod
public IRubyObject state() {
return getRuntime().getNil();
}
@JRubyMethod
public IRubyObject name() {
return getRuntime().getNil();
}
@JRubyMethod
public IRubyObject local_name() {
return getRuntime().getNil();
}
@JRubyMethod
public IRubyObject namespace_uri() {
return getRuntime().getNil();
}
@JRubyMethod
public IRubyObject prefix() {
return getRuntime().getNil();
}
@JRubyMethod
public IRubyObject value() {
return getRuntime().getNil();
}
@JRubyMethod
public IRubyObject lang() {
return getRuntime().getNil();
}
@JRubyMethod
public IRubyObject xml_version() {
return getRuntime().getNil();
}
@JRubyMethod
public IRubyObject encoding() {
return getRuntime().getNil();
}
@JRubyMethod
public IRubyObject depth() {
return getRuntime().getNil();
}
@JRubyMethod
public IRubyObject attribute_count() {
return getRuntime().getNil();
}
@JRubyMethod
public IRubyObject attribute(IRubyObject arg) {
return getRuntime().getNil();
}
@JRubyMethod
public IRubyObject attribute_at(IRubyObject arg) {
return getRuntime().getNil();
}
@JRubyMethod
public IRubyObject attributes() {
return getRuntime().getNil();
}
@JRubyMethod(name = "attributes?")
public IRubyObject attributes_p() {
return getRuntime().getNil();
}
@JRubyMethod(name = "value?")
public IRubyObject value_p() {
return getRuntime().getNil();
}
}
public static class DTD extends RubyObject {
public DTD(Ruby ruby, RubyClass rubyClass) {
super(ruby, rubyClass);
}
@JRubyMethod
public IRubyObject notations() {
return getRuntime().getNil();
}
@JRubyMethod
public IRubyObject elements() {
return getRuntime().getNil();
}
@JRubyMethod
public IRubyObject attributes() {
return getRuntime().getNil();
}
@JRubyMethod
public IRubyObject entities() {
return getRuntime().getNil();
}
}
public static class XsltStylesheet extends RubyObject {
public XsltStylesheet(Ruby ruby, RubyClass rubyClass) {
super(ruby, rubyClass);
}
@JRubyMethod(meta = true)
public static IRubyObject parse_stylesheet_doc(IRubyObject cls, IRubyObject arg1) {
return cls.getRuntime().getNil();
}
@JRubyMethod
public IRubyObject serialize(IRubyObject arg1) {
return getRuntime().getNil();
}
@JRubyMethod
public IRubyObject apply_to(IRubyObject[] args) {
return getRuntime().getNil();
}
}
public static class SyntaxError extends RubyObject {
public SyntaxError(Ruby ruby, RubyClass rubyClass) {
super(ruby, rubyClass);
}
@JRubyMethod
public IRubyObject message(IRubyObject arg1) {
return getRuntime().getNil();
}
@JRubyMethod
public IRubyObject domain(IRubyObject[] args) {
return getRuntime().getNil();
}
@JRubyMethod
public IRubyObject code(IRubyObject[] args) {
return getRuntime().getNil();
}
@JRubyMethod
public IRubyObject level(IRubyObject[] args) {
return getRuntime().getNil();
}
@JRubyMethod
public IRubyObject file(IRubyObject[] args) {
return getRuntime().getNil();
}
@JRubyMethod
public IRubyObject line(IRubyObject[] args) {
return getRuntime().getNil();
}
@JRubyMethod
public IRubyObject str1(IRubyObject[] args) {
return getRuntime().getNil();
}
@JRubyMethod
public IRubyObject str2(IRubyObject[] args) {
return getRuntime().getNil();
}
@JRubyMethod
public IRubyObject str3(IRubyObject[] args) {
return getRuntime().getNil();
}
@JRubyMethod
public IRubyObject int1(IRubyObject[] args) {
return getRuntime().getNil();
}
@JRubyMethod
public IRubyObject column(IRubyObject[] args) {
return getRuntime().getNil();
}
}
}
|