libxml-ruby 0.8.1-x86-mswin32-60 → 0.8.2-x86-mswin32-60
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +21 -0
- data/RAKEFILE +213 -0
- data/README +32 -11
- data/doc/rdoc/classes/LibXML.html +4 -0
- data/doc/rdoc/classes/LibXML/XML.html +7 -0
- data/doc/rdoc/classes/LibXML/XML/Attr.html +187 -177
- data/doc/rdoc/classes/LibXML/XML/Attributes.html +62 -61
- data/doc/rdoc/classes/LibXML/XML/Document.html +318 -254
- data/doc/rdoc/classes/LibXML/XML/Dtd.html +62 -8
- data/doc/rdoc/classes/LibXML/XML/Error.html +6 -0
- data/doc/rdoc/classes/LibXML/XML/HTMLParser.html +59 -41
- data/doc/rdoc/classes/LibXML/XML/InputCallbacks.html +12 -6
- data/doc/rdoc/classes/LibXML/XML/NS.html +65 -50
- data/doc/rdoc/classes/LibXML/XML/Node.html +671 -630
- data/doc/rdoc/classes/LibXML/XML/Node/FailedModify.html +12 -0
- data/doc/rdoc/classes/LibXML/XML/Node/Set.html +64 -60
- data/doc/rdoc/classes/LibXML/XML/Node/SetNamespace.html +12 -0
- data/doc/rdoc/classes/LibXML/XML/Node/UnknownType.html +12 -0
- data/doc/rdoc/classes/LibXML/XML/Parser.html +407 -383
- data/doc/rdoc/classes/LibXML/XML/Parser/Context.html +241 -219
- data/doc/rdoc/classes/LibXML/XML/Parser/ParseError.html +12 -0
- data/doc/rdoc/classes/LibXML/XML/Reader.html +421 -331
- data/doc/rdoc/classes/LibXML/XML/RelaxNG.html +237 -0
- data/doc/rdoc/classes/LibXML/XML/SaxParser.html +79 -60
- data/doc/rdoc/classes/LibXML/XML/Schema.html +109 -22
- data/doc/rdoc/classes/LibXML/XML/State.html +6 -0
- data/doc/rdoc/classes/LibXML/XML/XInclude.html +6 -0
- data/doc/rdoc/classes/LibXML/XML/XInclude/Error.html +6 -0
- data/doc/rdoc/classes/LibXML/XML/XPath.html +4 -48
- data/doc/rdoc/classes/LibXML/XML/XPath/Context.html +6 -5
- data/doc/rdoc/classes/LibXML/XML/XPath/InvalidPath.html +61 -0
- data/doc/rdoc/classes/LibXML/XML/XPath/Object.html +12 -8
- data/doc/rdoc/classes/LibXML/XML/XPointer.html +14 -8
- data/doc/rdoc/classes/LibXML/XML/XPointer/Context.html +6 -0
- data/doc/rdoc/classes/LibXML/XML/XPointer/Context/InvalidPath.html +6 -0
- data/doc/rdoc/classes/LibXML/XML/XPointer/InvalidExpression.html +13 -0
- data/doc/rdoc/created.rid +1 -1
- data/doc/rdoc/files/CHANGES.html +38 -10
- data/doc/rdoc/files/LICENSE.html +1 -1
- data/doc/rdoc/files/README.html +57 -23
- data/doc/rdoc/files/VERSION.html +1 -1
- data/doc/rdoc/files/ext/libxml/cbg_c.html +1 -1
- data/doc/rdoc/files/ext/libxml/libxml_c.html +1 -1
- data/doc/rdoc/files/ext/libxml/ruby_xml_attr_c.html +1 -1
- data/doc/rdoc/files/ext/libxml/ruby_xml_attributes_c.html +1 -1
- data/doc/rdoc/files/ext/libxml/ruby_xml_document_c.html +1 -1
- data/doc/rdoc/files/ext/libxml/ruby_xml_dtd_c.html +1 -1
- data/doc/rdoc/files/ext/libxml/ruby_xml_html_parser_c.html +1 -1
- data/doc/rdoc/files/ext/libxml/ruby_xml_input_cbg_c.html +1 -1
- data/doc/rdoc/files/ext/libxml/ruby_xml_node_c.html +1 -1
- data/doc/rdoc/files/ext/libxml/ruby_xml_node_set_c.html +1 -1
- data/doc/rdoc/files/ext/libxml/ruby_xml_ns_c.html +1 -1
- data/doc/rdoc/files/ext/libxml/ruby_xml_parser_c.html +1 -1
- data/doc/rdoc/files/ext/libxml/ruby_xml_parser_context_c.html +1 -1
- data/doc/rdoc/files/ext/libxml/ruby_xml_reader_c.html +1 -1
- data/doc/rdoc/{classes/XML.html → files/ext/libxml/ruby_xml_relaxng_c.html} +16 -35
- data/doc/rdoc/files/ext/libxml/ruby_xml_sax_parser_c.html +1 -1
- data/doc/rdoc/files/ext/libxml/ruby_xml_schema_c.html +1 -1
- data/doc/rdoc/files/ext/libxml/ruby_xml_state_c.html +1 -1
- data/doc/rdoc/files/ext/libxml/ruby_xml_xinclude_c.html +1 -1
- data/doc/rdoc/files/ext/libxml/ruby_xml_xpath_c.html +1 -1
- data/doc/rdoc/files/ext/libxml/ruby_xml_xpath_context_c.html +1 -1
- data/doc/rdoc/files/ext/libxml/ruby_xml_xpath_object_c.html +1 -1
- data/doc/rdoc/files/ext/libxml/ruby_xml_xpointer_c.html +1 -1
- data/doc/rdoc/files/ext/libxml/ruby_xml_xpointer_context_c.html +1 -1
- data/doc/rdoc/files/lib/libxml/attr_rb.html +1 -1
- data/doc/rdoc/files/lib/libxml/attributes_rb.html +1 -1
- data/doc/rdoc/files/lib/libxml/document_rb.html +1 -1
- data/doc/rdoc/files/lib/libxml/node_rb.html +1 -1
- data/doc/rdoc/files/lib/libxml/node_set_rb.html +1 -1
- data/doc/rdoc/files/lib/libxml/parser_options_rb.html +1 -1
- data/doc/rdoc/files/lib/libxml/parser_rb.html +1 -1
- data/doc/rdoc/files/lib/libxml/properties_rb.html +1 -1
- data/doc/rdoc/files/lib/libxml/tree_rb.html +1 -1
- data/doc/rdoc/files/lib/libxml_rb.html +2 -2
- data/doc/rdoc/files/lib/xml/libxml_rb.html +12 -2
- data/doc/rdoc/files/lib/xml_rb.html +134 -0
- data/doc/rdoc/fr_class_index.html +1 -1
- data/doc/rdoc/fr_file_index.html +2 -0
- data/doc/rdoc/fr_method_index.html +349 -344
- data/ext/libxml/libxml.c +2 -1
- data/ext/libxml/ruby_libxml.h +1 -0
- data/ext/libxml/ruby_xml_attr.c +8 -2
- data/ext/libxml/ruby_xml_attributes.c +5 -5
- data/ext/libxml/ruby_xml_document.c +41 -2
- data/ext/libxml/ruby_xml_dtd.c +169 -169
- data/ext/libxml/ruby_xml_html_parser.c +449 -449
- data/ext/libxml/ruby_xml_input_cbg.c +165 -165
- data/ext/libxml/ruby_xml_node.c +1 -1
- data/ext/libxml/ruby_xml_node_set.c +172 -172
- data/ext/libxml/ruby_xml_ns.c +145 -145
- data/ext/libxml/ruby_xml_parser.c +1398 -1398
- data/ext/libxml/ruby_xml_parser_context.c +697 -697
- data/ext/libxml/ruby_xml_reader.c +44 -0
- data/ext/libxml/ruby_xml_reader.h +14 -14
- data/ext/libxml/ruby_xml_relaxng.c +97 -0
- data/ext/libxml/ruby_xml_relaxng.h +15 -0
- data/ext/libxml/ruby_xml_sax_parser.c +486 -486
- data/ext/libxml/ruby_xml_schema.c +1 -1
- data/ext/libxml/ruby_xml_state.c +4 -4
- data/ext/libxml/ruby_xml_xinclude.c +21 -21
- data/ext/libxml/ruby_xml_xpath.c +89 -89
- data/ext/libxml/ruby_xml_xpath_context.c +283 -283
- data/ext/libxml/ruby_xml_xpath_object.c +5 -5
- data/ext/libxml/ruby_xml_xpointer.c +104 -104
- data/ext/libxml/ruby_xml_xpointer_context.c +22 -22
- data/ext/libxml/version.h +2 -2
- data/ext/libxml/version.h.rej +17 -0
- data/ext/mingw/Rakefile +41 -0
- data/{mingw → lib}/libiconv-2.dll +0 -0
- data/lib/libxml.rb +15 -4
- data/lib/libxml2-2.dll +0 -0
- data/lib/libxml_ruby.dll.a +0 -0
- data/lib/libxml_ruby.so +0 -0
- data/lib/xml.rb +14 -0
- data/lib/xml/libxml.rb +4 -1
- data/test/etc_doc_to_s.rb +1 -1
- data/test/ets_copy_bug.rb +1 -1
- data/test/ets_copy_bug3.rb +1 -1
- data/test/ets_doc_file.rb +1 -1
- data/test/ets_doc_to_s.rb +1 -1
- data/test/ets_node_gc.rb +1 -1
- data/test/ets_tsr.rb +1 -1
- data/test/model/shiporder.rnc +28 -0
- data/test/model/shiporder.rng +86 -0
- data/test/{tc_xml_attributes.rb → tc_attributes.rb} +1 -10
- data/test/{tc_xml_document.rb → tc_document.rb} +1 -1
- data/test/{tc_xml_document_write.rb → tc_document_write.rb} +1 -1
- data/test/{tc_xml_dtd.rb → tc_dtd.rb} +1 -1
- data/test/{tc_xml_html_parser.rb → tc_html_parser.rb} +1 -1
- data/test/{tc_xml_node.rb → tc_node.rb} +1 -1
- data/test/{tc_xml_node_attr.rb → tc_node_attr.rb} +1 -1
- data/test/{tc_xml_node_cdata.rb → tc_node_cdata.rb} +24 -5
- data/test/{tc_xml_node_comment.rb → tc_node_comment.rb} +1 -1
- data/test/{tc_xml_node_copy.rb → tc_node_copy.rb} +1 -1
- data/test/{tc_xml_node_edit.rb → tc_node_edit.rb} +1 -1
- data/test/{tc_xml_node_set.rb → tc_node_set.rb} +1 -1
- data/test/{tc_xml_node_set2.rb → tc_node_set2.rb} +1 -1
- data/test/{tc_xml_node_text.rb → tc_node_text.rb} +1 -1
- data/test/{tc_xml_node_xlink.rb → tc_node_xlink.rb} +2 -2
- data/test/{tc_xml_parser.rb → tc_parser.rb} +1 -1
- data/test/{tc_xml_parser_context.rb → tc_parser_context.rb} +1 -1
- data/test/{tc_xml_properties.rb → tc_properties.rb} +1 -7
- data/test/{tc_xml_reader.rb → tc_reader.rb} +1 -1
- data/test/tc_relaxng.rb +39 -0
- data/test/{tc_xml_sax_parser.rb → tc_sax_parser.rb} +1 -1
- data/test/{tc_xml_schema.rb → tc_schema.rb} +1 -1
- data/test/{tc_xml_traversal.rb → tc_traversal.rb} +1 -1
- data/test/{tc_xml_xinclude.rb → tc_xinclude.rb} +1 -1
- data/test/{tc_xml_xpath.rb → tc_xpath.rb} +1 -1
- data/test/{tc_xml_xpath_context.rb → tc_xpath_context.rb} +1 -1
- data/test/{tc_xml_xpointer.rb → tc_xpointer.rb} +1 -1
- data/test/test_suite.rb +26 -25
- metadata +103 -100
- data/benchmark/depixelate.rb +0 -632
- data/benchmark/hamlet.xml +0 -9055
- data/benchmark/sock_entries.xml +0 -507
- data/benchmark/throughput.rb +0 -39
- data/benchmark/xml_benchmarks.rb +0 -227
- data/mingw/libxml2-2.dll +0 -0
- data/mingw/libxml_ruby.so +0 -0
- data/test/gc.log +0 -0
- data/vc/libxml_ruby.sln +0 -20
- data/vc/libxml_ruby.vcproj +0 -389
@@ -0,0 +1,237 @@
|
|
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: LibXML::XML::RelaxNG</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">LibXML::XML::RelaxNG</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../../../files/ext/libxml/libxml_c.html">
|
59
|
+
ext/libxml/libxml.c
|
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
|
+
<p>
|
83
|
+
call-seq:
|
84
|
+
</p>
|
85
|
+
<pre>
|
86
|
+
XML::RelaxNG.string("relaxng_data") -> "value"
|
87
|
+
</pre>
|
88
|
+
<p>
|
89
|
+
Create a <a href="RelaxNG.html#M000018">new</a> relaxng using the specified
|
90
|
+
string.
|
91
|
+
</p>
|
92
|
+
|
93
|
+
</div>
|
94
|
+
|
95
|
+
|
96
|
+
</div>
|
97
|
+
|
98
|
+
<div id="method-list">
|
99
|
+
<h3 class="section-bar">Methods</h3>
|
100
|
+
|
101
|
+
<div class="name-list">
|
102
|
+
<a href="#M000020">document</a>
|
103
|
+
<a href="#M000019">from_string</a>
|
104
|
+
<a href="#M000018">new</a>
|
105
|
+
</div>
|
106
|
+
</div>
|
107
|
+
|
108
|
+
</div>
|
109
|
+
|
110
|
+
|
111
|
+
<!-- if includes -->
|
112
|
+
|
113
|
+
<div id="section">
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
|
122
|
+
<!-- if method_list -->
|
123
|
+
<div id="methods">
|
124
|
+
<h3 class="section-bar">Public Class methods</h3>
|
125
|
+
|
126
|
+
<div id="method-M000020" class="method-detail">
|
127
|
+
<a name="M000020"></a>
|
128
|
+
|
129
|
+
<div class="method-heading">
|
130
|
+
<a href="#M000020" class="method-signature">
|
131
|
+
<span class="method-name">XML::RelaxNG.document(document) → relaxng<br />
|
132
|
+
</span>
|
133
|
+
</a>
|
134
|
+
</div>
|
135
|
+
|
136
|
+
<div class="method-description">
|
137
|
+
<p>
|
138
|
+
Create a <a href="RelaxNG.html#M000018">new</a> relaxng from the specified
|
139
|
+
<a href="RelaxNG.html#M000020">document</a>.
|
140
|
+
</p>
|
141
|
+
<p><a class="source-toggle" href="#"
|
142
|
+
onclick="toggleCode('M000020-source');return false;">[Source]</a></p>
|
143
|
+
<div class="method-source-code" id="M000020-source">
|
144
|
+
<pre>
|
145
|
+
/*
|
146
|
+
* call-seq:
|
147
|
+
* XML::RelaxNG.document(document) -> relaxng
|
148
|
+
*
|
149
|
+
* Create a new relaxng from the specified document.
|
150
|
+
*/
|
151
|
+
VALUE
|
152
|
+
ruby_xml_relaxng_init_from_document(VALUE class, VALUE document) {
|
153
|
+
|
154
|
+
</pre>
|
155
|
+
</div>
|
156
|
+
</div>
|
157
|
+
</div>
|
158
|
+
|
159
|
+
<div id="method-M000019" class="method-detail">
|
160
|
+
<a name="M000019"></a>
|
161
|
+
|
162
|
+
<div class="method-heading">
|
163
|
+
<a href="#M000019" class="method-signature">
|
164
|
+
<span class="method-name">XML::RelaxNG.string("relaxng_data") → "value"<br />
|
165
|
+
</span>
|
166
|
+
</a>
|
167
|
+
</div>
|
168
|
+
|
169
|
+
<div class="method-description">
|
170
|
+
<p>
|
171
|
+
Create a <a href="RelaxNG.html#M000018">new</a> relaxng using the specified
|
172
|
+
string.
|
173
|
+
</p>
|
174
|
+
<p><a class="source-toggle" href="#"
|
175
|
+
onclick="toggleCode('M000019-source');return false;">[Source]</a></p>
|
176
|
+
<div class="method-source-code" id="M000019-source">
|
177
|
+
<pre>
|
178
|
+
/*
|
179
|
+
* call-seq:
|
180
|
+
* XML::RelaxNG.string("relaxng_data") -> "value"
|
181
|
+
*
|
182
|
+
* Create a new relaxng using the specified string.
|
183
|
+
*/
|
184
|
+
VALUE
|
185
|
+
ruby_xml_relaxng_init_from_string(VALUE self, VALUE relaxng_str) {
|
186
|
+
|
187
|
+
</pre>
|
188
|
+
</div>
|
189
|
+
</div>
|
190
|
+
</div>
|
191
|
+
|
192
|
+
<div id="method-M000018" class="method-detail">
|
193
|
+
<a name="M000018"></a>
|
194
|
+
|
195
|
+
<div class="method-heading">
|
196
|
+
<a href="#M000018" class="method-signature">
|
197
|
+
<span class="method-name">XML::Relaxng.new(relaxng_uri) → relaxng<br />
|
198
|
+
</span>
|
199
|
+
</a>
|
200
|
+
</div>
|
201
|
+
|
202
|
+
<div class="method-description">
|
203
|
+
<p>
|
204
|
+
Create a <a href="RelaxNG.html#M000018">new</a> relaxng from the specified
|
205
|
+
URI.
|
206
|
+
</p>
|
207
|
+
<p><a class="source-toggle" href="#"
|
208
|
+
onclick="toggleCode('M000018-source');return false;">[Source]</a></p>
|
209
|
+
<div class="method-source-code" id="M000018-source">
|
210
|
+
<pre>
|
211
|
+
/*
|
212
|
+
* call-seq:
|
213
|
+
* XML::Relaxng.new(relaxng_uri) -> relaxng
|
214
|
+
*
|
215
|
+
* Create a new relaxng from the specified URI.
|
216
|
+
*/
|
217
|
+
VALUE
|
218
|
+
ruby_xml_relaxng_init_from_uri(VALUE class, VALUE uri) {
|
219
|
+
|
220
|
+
</pre>
|
221
|
+
</div>
|
222
|
+
</div>
|
223
|
+
</div>
|
224
|
+
|
225
|
+
|
226
|
+
</div>
|
227
|
+
|
228
|
+
|
229
|
+
</div>
|
230
|
+
|
231
|
+
|
232
|
+
<div id="validator-badges">
|
233
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
234
|
+
</div>
|
235
|
+
|
236
|
+
</body>
|
237
|
+
</html>
|
@@ -78,6 +78,18 @@
|
|
78
78
|
|
79
79
|
<div id="contextContent">
|
80
80
|
|
81
|
+
<div id="description">
|
82
|
+
<p>
|
83
|
+
call-seq:
|
84
|
+
</p>
|
85
|
+
<pre>
|
86
|
+
callbacks.on_external_subset(name, external_id, system_id)
|
87
|
+
</pre>
|
88
|
+
<p>
|
89
|
+
Called for an external subset event.
|
90
|
+
</p>
|
91
|
+
|
92
|
+
</div>
|
81
93
|
|
82
94
|
|
83
95
|
</div>
|
@@ -86,14 +98,14 @@
|
|
86
98
|
<h3 class="section-bar">Methods</h3>
|
87
99
|
|
88
100
|
<div class="name-list">
|
89
|
-
<a href="#
|
90
|
-
<a href="#
|
91
|
-
<a href="#
|
92
|
-
<a href="#
|
93
|
-
<a href="#
|
94
|
-
<a href="#
|
95
|
-
<a href="#
|
96
|
-
<a href="#
|
101
|
+
<a href="#M000318">callbacks</a>
|
102
|
+
<a href="#M000319">callbacks=</a>
|
103
|
+
<a href="#M000316">filename</a>
|
104
|
+
<a href="#M000317">filename=</a>
|
105
|
+
<a href="#M000315">new</a>
|
106
|
+
<a href="#M000320">parse</a>
|
107
|
+
<a href="#M000321">string</a>
|
108
|
+
<a href="#M000322">string=</a>
|
97
109
|
</div>
|
98
110
|
</div>
|
99
111
|
|
@@ -115,11 +127,11 @@
|
|
115
127
|
<div id="methods">
|
116
128
|
<h3 class="section-bar">Public Class methods</h3>
|
117
129
|
|
118
|
-
<div id="method-
|
119
|
-
<a name="
|
130
|
+
<div id="method-M000315" class="method-detail">
|
131
|
+
<a name="M000315"></a>
|
120
132
|
|
121
133
|
<div class="method-heading">
|
122
|
-
<a href="#
|
134
|
+
<a href="#M000315" class="method-signature">
|
123
135
|
<span class="method-name">XML::SaxParser.new → sax_parser<br />
|
124
136
|
</span>
|
125
137
|
</a>
|
@@ -127,11 +139,12 @@
|
|
127
139
|
|
128
140
|
<div class="method-description">
|
129
141
|
<p>
|
130
|
-
Create a
|
142
|
+
Create a <a href="SaxParser.html#M000315">new</a> <a
|
143
|
+
href="SaxParser.html">XML::SaxParser</a> instance.
|
131
144
|
</p>
|
132
145
|
<p><a class="source-toggle" href="#"
|
133
|
-
onclick="toggleCode('
|
134
|
-
<div class="method-source-code" id="
|
146
|
+
onclick="toggleCode('M000315-source');return false;">[Source]</a></p>
|
147
|
+
<div class="method-source-code" id="M000315-source">
|
135
148
|
<pre>
|
136
149
|
/*
|
137
150
|
* call-seq:
|
@@ -149,11 +162,11 @@ ruby_xml_sax_parser_new(VALUE class) {
|
|
149
162
|
|
150
163
|
<h3 class="section-bar">Public Instance methods</h3>
|
151
164
|
|
152
|
-
<div id="method-
|
153
|
-
<a name="
|
165
|
+
<div id="method-M000318" class="method-detail">
|
166
|
+
<a name="M000318"></a>
|
154
167
|
|
155
168
|
<div class="method-heading">
|
156
|
-
<a href="#
|
169
|
+
<a href="#M000318" class="method-signature">
|
157
170
|
<span class="method-name">sax_parser.callbacks → #<XML::SaxParser::Callbacks subclass><br />
|
158
171
|
</span>
|
159
172
|
</a>
|
@@ -161,11 +174,12 @@ ruby_xml_sax_parser_new(VALUE class) {
|
|
161
174
|
|
162
175
|
<div class="method-description">
|
163
176
|
<p>
|
164
|
-
Obtain the callbacks used by this
|
177
|
+
Obtain the <a href="SaxParser.html#M000318">callbacks</a> used by this
|
178
|
+
parser.
|
165
179
|
</p>
|
166
180
|
<p><a class="source-toggle" href="#"
|
167
|
-
onclick="toggleCode('
|
168
|
-
<div class="method-source-code" id="
|
181
|
+
onclick="toggleCode('M000318-source');return false;">[Source]</a></p>
|
182
|
+
<div class="method-source-code" id="M000318-source">
|
169
183
|
<pre>
|
170
184
|
/*
|
171
185
|
* call-seq:
|
@@ -181,11 +195,11 @@ ruby_xml_sax_parser_callbacks_get(VALUE self) {
|
|
181
195
|
</div>
|
182
196
|
</div>
|
183
197
|
|
184
|
-
<div id="method-
|
185
|
-
<a name="
|
198
|
+
<div id="method-M000319" class="method-detail">
|
199
|
+
<a name="M000319"></a>
|
186
200
|
|
187
201
|
<div class="method-heading">
|
188
|
-
<a href="#
|
202
|
+
<a href="#M000319" class="method-signature">
|
189
203
|
<span class="method-name">sax_parser.callbacks = #<XML::SaxParser::Callbacks subclass><br />
|
190
204
|
</span>
|
191
205
|
</a>
|
@@ -193,14 +207,14 @@ ruby_xml_sax_parser_callbacks_get(VALUE self) {
|
|
193
207
|
|
194
208
|
<div class="method-description">
|
195
209
|
<p>
|
196
|
-
Set the callbacks used by this parser.
|
197
|
-
attributesibute will usually be an object that
|
198
|
-
XML::SaxParser::Callbacks module, overriding the
|
199
|
-
process.
|
210
|
+
Set the <a href="SaxParser.html#M000318">callbacks</a> used by this parser.
|
211
|
+
The value assigned to this attributesibute will usually be an object that
|
212
|
+
extends the the XML::SaxParser::Callbacks module, overriding the <a
|
213
|
+
href="SaxParser.html#M000318">callbacks</a> it wishes to process.
|
200
214
|
</p>
|
201
215
|
<p><a class="source-toggle" href="#"
|
202
|
-
onclick="toggleCode('
|
203
|
-
<div class="method-source-code" id="
|
216
|
+
onclick="toggleCode('M000319-source');return false;">[Source]</a></p>
|
217
|
+
<div class="method-source-code" id="M000319-source">
|
204
218
|
<pre>
|
205
219
|
/*
|
206
220
|
* call-seq:
|
@@ -219,11 +233,11 @@ ruby_xml_sax_parser_callbacks_set(VALUE self, VALUE callbacks) {
|
|
219
233
|
</div>
|
220
234
|
</div>
|
221
235
|
|
222
|
-
<div id="method-
|
223
|
-
<a name="
|
236
|
+
<div id="method-M000316" class="method-detail">
|
237
|
+
<a name="M000316"></a>
|
224
238
|
|
225
239
|
<div class="method-heading">
|
226
|
-
<a href="#
|
240
|
+
<a href="#M000316" class="method-signature">
|
227
241
|
<span class="method-name">sax_parser.filename → "filename"<br />
|
228
242
|
</span>
|
229
243
|
</a>
|
@@ -231,11 +245,12 @@ ruby_xml_sax_parser_callbacks_set(VALUE self, VALUE callbacks) {
|
|
231
245
|
|
232
246
|
<div class="method-description">
|
233
247
|
<p>
|
234
|
-
Obtain the filename this parser reads
|
248
|
+
Obtain the <a href="SaxParser.html#M000316">filename</a> this parser reads
|
249
|
+
from.
|
235
250
|
</p>
|
236
251
|
<p><a class="source-toggle" href="#"
|
237
|
-
onclick="toggleCode('
|
238
|
-
<div class="method-source-code" id="
|
252
|
+
onclick="toggleCode('M000316-source');return false;">[Source]</a></p>
|
253
|
+
<div class="method-source-code" id="M000316-source">
|
239
254
|
<pre>
|
240
255
|
/*
|
241
256
|
* call-seq:
|
@@ -251,11 +266,11 @@ ruby_xml_sax_parser_filename_get(VALUE self) {
|
|
251
266
|
</div>
|
252
267
|
</div>
|
253
268
|
|
254
|
-
<div id="method-
|
255
|
-
<a name="
|
269
|
+
<div id="method-M000317" class="method-detail">
|
270
|
+
<a name="M000317"></a>
|
256
271
|
|
257
272
|
<div class="method-heading">
|
258
|
-
<a href="#
|
273
|
+
<a href="#M000317" class="method-signature">
|
259
274
|
<span class="method-name">sax_parser.filename = "filename"<br />
|
260
275
|
</span>
|
261
276
|
</a>
|
@@ -263,11 +278,12 @@ ruby_xml_sax_parser_filename_get(VALUE self) {
|
|
263
278
|
|
264
279
|
<div class="method-description">
|
265
280
|
<p>
|
266
|
-
Set the filename this parser reads
|
281
|
+
Set the <a href="SaxParser.html#M000316">filename</a> this parser reads
|
282
|
+
from.
|
267
283
|
</p>
|
268
284
|
<p><a class="source-toggle" href="#"
|
269
|
-
onclick="toggleCode('
|
270
|
-
<div class="method-source-code" id="
|
285
|
+
onclick="toggleCode('M000317-source');return false;">[Source]</a></p>
|
286
|
+
<div class="method-source-code" id="M000317-source">
|
271
287
|
<pre>
|
272
288
|
/*
|
273
289
|
* call-seq:
|
@@ -283,11 +299,11 @@ ruby_xml_sax_parser_filename_set(VALUE self, VALUE filename) {
|
|
283
299
|
</div>
|
284
300
|
</div>
|
285
301
|
|
286
|
-
<div id="method-
|
287
|
-
<a name="
|
302
|
+
<div id="method-M000320" class="method-detail">
|
303
|
+
<a name="M000320"></a>
|
288
304
|
|
289
305
|
<div class="method-heading">
|
290
|
-
<a href="#
|
306
|
+
<a href="#M000320" class="method-signature">
|
291
307
|
<span class="method-name">parser.parse → (true|false)<br />
|
292
308
|
</span>
|
293
309
|
</a>
|
@@ -295,12 +311,14 @@ ruby_xml_sax_parser_filename_set(VALUE self, VALUE filename) {
|
|
295
311
|
|
296
312
|
<div class="method-description">
|
297
313
|
<p>
|
298
|
-
Parse the input <a href="../XML.html">XML</a>, generating
|
299
|
-
object registered via
|
314
|
+
Parse the input <a href="../XML.html">XML</a>, generating <a
|
315
|
+
href="SaxParser.html#M000318">callbacks</a> to the object registered via
|
316
|
+
the <tt><a href="SaxParser.html#M000318">callbacks</a></tt>
|
317
|
+
attributesibute.
|
300
318
|
</p>
|
301
319
|
<p><a class="source-toggle" href="#"
|
302
|
-
onclick="toggleCode('
|
303
|
-
<div class="method-source-code" id="
|
320
|
+
onclick="toggleCode('M000320-source');return false;">[Source]</a></p>
|
321
|
+
<div class="method-source-code" id="M000320-source">
|
304
322
|
<pre>
|
305
323
|
/*
|
306
324
|
* call-seq:
|
@@ -317,11 +335,11 @@ ruby_xml_sax_parser_parse(VALUE self) {
|
|
317
335
|
</div>
|
318
336
|
</div>
|
319
337
|
|
320
|
-
<div id="method-
|
321
|
-
<a name="
|
338
|
+
<div id="method-M000321" class="method-detail">
|
339
|
+
<a name="M000321"></a>
|
322
340
|
|
323
341
|
<div class="method-heading">
|
324
|
-
<a href="#
|
342
|
+
<a href="#M000321" class="method-signature">
|
325
343
|
<span class="method-name">parser.string → "xml"<br />
|
326
344
|
</span>
|
327
345
|
</a>
|
@@ -329,11 +347,12 @@ ruby_xml_sax_parser_parse(VALUE self) {
|
|
329
347
|
|
330
348
|
<div class="method-description">
|
331
349
|
<p>
|
332
|
-
Obtain the parser&#
|
350
|
+
Obtain the parser‘s input <a
|
351
|
+
href="SaxParser.html#M000321">string</a>.
|
333
352
|
</p>
|
334
353
|
<p><a class="source-toggle" href="#"
|
335
|
-
onclick="toggleCode('
|
336
|
-
<div class="method-source-code" id="
|
354
|
+
onclick="toggleCode('M000321-source');return false;">[Source]</a></p>
|
355
|
+
<div class="method-source-code" id="M000321-source">
|
337
356
|
<pre>
|
338
357
|
/*
|
339
358
|
* call-seq:
|
@@ -349,11 +368,11 @@ ruby_xml_sax_parser_str_get(VALUE self) {
|
|
349
368
|
</div>
|
350
369
|
</div>
|
351
370
|
|
352
|
-
<div id="method-
|
353
|
-
<a name="
|
371
|
+
<div id="method-M000322" class="method-detail">
|
372
|
+
<a name="M000322"></a>
|
354
373
|
|
355
374
|
<div class="method-heading">
|
356
|
-
<a href="#
|
375
|
+
<a href="#M000322" class="method-signature">
|
357
376
|
<span class="method-name">parser.string = "xml"<br />
|
358
377
|
</span>
|
359
378
|
</a>
|
@@ -361,11 +380,11 @@ ruby_xml_sax_parser_str_get(VALUE self) {
|
|
361
380
|
|
362
381
|
<div class="method-description">
|
363
382
|
<p>
|
364
|
-
Set the parser&#
|
383
|
+
Set the parser‘s input <a href="SaxParser.html#M000321">string</a>.
|
365
384
|
</p>
|
366
385
|
<p><a class="source-toggle" href="#"
|
367
|
-
onclick="toggleCode('
|
368
|
-
<div class="method-source-code" id="
|
386
|
+
onclick="toggleCode('M000322-source');return false;">[Source]</a></p>
|
387
|
+
<div class="method-source-code" id="M000322-source">
|
369
388
|
<pre>
|
370
389
|
/*
|
371
390
|
* call-seq:
|