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
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>libxml++: xmlpp::RelaxNGSchema Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygen-extra.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">libxml++
 <span id="projectnumber">2.40.1</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="classes.html"><span>Class Index</span></a></li>
<li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespacexmlpp.html">xmlpp</a></li><li class="navelem"><a class="el" href="classxmlpp_1_1RelaxNGSchema.html">RelaxNGSchema</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pro-methods">Protected Member Functions</a> |
<a href="classxmlpp_1_1RelaxNGSchema-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">xmlpp::RelaxNGSchema Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Represents a RelaxNG schema for validating XML files.
<a href="classxmlpp_1_1RelaxNGSchema.html#details">More...</a></p>
<p><code>#include <libxml++/relaxngschema.h></code></p>
<div class="dynheader">
Inheritance diagram for xmlpp::RelaxNGSchema:</div>
<div class="dyncontent">
<div class="center"><img src="classxmlpp_1_1RelaxNGSchema__inherit__graph.png" border="0" usemap="#xmlpp_1_1RelaxNGSchema_inherit__map" alt="Inheritance graph"/></div>
<map name="xmlpp_1_1RelaxNGSchema_inherit__map" id="xmlpp_1_1RelaxNGSchema_inherit__map">
<area shape="rect" id="node2" href="classxmlpp_1_1SchemaBase.html" title="Base class for schemas, used for validation of XML files. " alt="" coords="15,80,170,107"/><area shape="rect" id="node3" href="classxmlpp_1_1NonCopyable.html" title="A base for classes which cannot be copied. " alt="" coords="15,5,170,32"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a747dee0d21f943513e3d8f8460e6b2fd"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1RelaxNGSchema.html#a747dee0d21f943513e3d8f8460e6b2fd">RelaxNGSchema</a> ()</td></tr>
<tr class="separator:a747dee0d21f943513e3d8f8460e6b2fd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7d309a12c26a9548c28616f4c273e001"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1RelaxNGSchema.html#a7d309a12c26a9548c28616f4c273e001">RelaxNGSchema</a> (_xmlRelaxNG* schema)</td></tr>
<tr class="memdesc:a7d309a12c26a9548c28616f4c273e001"><td class="mdescLeft"> </td><td class="mdescRight">Create a schema from the underlying libxml schema element. <a href="#a7d309a12c26a9548c28616f4c273e001">More...</a><br /></td></tr>
<tr class="separator:a7d309a12c26a9548c28616f4c273e001"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aab5fb6f11d406dd7f0e867d9868307ea"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1RelaxNGSchema.html#aab5fb6f11d406dd7f0e867d9868307ea">RelaxNGSchema</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& filename)</td></tr>
<tr class="memdesc:aab5fb6f11d406dd7f0e867d9868307ea"><td class="mdescLeft"> </td><td class="mdescRight">Create a schema from a schema definition file. <a href="#aab5fb6f11d406dd7f0e867d9868307ea">More...</a><br /></td></tr>
<tr class="separator:aab5fb6f11d406dd7f0e867d9868307ea"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac262630e9f267e2f7dc380ea42598cad"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1RelaxNGSchema.html#ac262630e9f267e2f7dc380ea42598cad">RelaxNGSchema</a> (const <a class="el" href="classxmlpp_1_1Document.html">Document</a>* document)</td></tr>
<tr class="memdesc:ac262630e9f267e2f7dc380ea42598cad"><td class="mdescLeft"> </td><td class="mdescRight">Create a schema from an XML document. <a href="#ac262630e9f267e2f7dc380ea42598cad">More...</a><br /></td></tr>
<tr class="separator:ac262630e9f267e2f7dc380ea42598cad"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7c7ec7550409cbcaeb3c8344064516f9"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1RelaxNGSchema.html#a7c7ec7550409cbcaeb3c8344064516f9">~RelaxNGSchema</a> () override</td></tr>
<tr class="separator:a7c7ec7550409cbcaeb3c8344064516f9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a93dd73cce2d068b08e1afdbe6588761a"><td class="memItemLeft" align="right" valign="top">_xmlRelaxNG* </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1RelaxNGSchema.html#a93dd73cce2d068b08e1afdbe6588761a">cobj</a> ()</td></tr>
<tr class="memdesc:a93dd73cce2d068b08e1afdbe6588761a"><td class="mdescLeft"> </td><td class="mdescRight">Access the underlying libxml implementation. <a href="#a93dd73cce2d068b08e1afdbe6588761a">More...</a><br /></td></tr>
<tr class="separator:a93dd73cce2d068b08e1afdbe6588761a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab14b665829f052f619bdca07d087b62d"><td class="memItemLeft" align="right" valign="top">const _xmlRelaxNG* </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1RelaxNGSchema.html#ab14b665829f052f619bdca07d087b62d">cobj</a> () const </td></tr>
<tr class="memdesc:ab14b665829f052f619bdca07d087b62d"><td class="mdescLeft"> </td><td class="mdescRight">Access the underlying libxml implementation. <a href="#ab14b665829f052f619bdca07d087b62d">More...</a><br /></td></tr>
<tr class="separator:ab14b665829f052f619bdca07d087b62d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a547d258651169796055ccc76179c129b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1RelaxNGSchema.html#a547d258651169796055ccc76179c129b">parse_document</a> (const <a class="el" href="classxmlpp_1_1Document.html">Document</a>* document) override</td></tr>
<tr class="memdesc:a547d258651169796055ccc76179c129b"><td class="mdescLeft"> </td><td class="mdescRight">Parse a schema definition from a document. <a href="#a547d258651169796055ccc76179c129b">More...</a><br /></td></tr>
<tr class="separator:a547d258651169796055ccc76179c129b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a735972ba9f69987339980572df8f7106"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1RelaxNGSchema.html#a735972ba9f69987339980572df8f7106">parse_file</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& filename) override</td></tr>
<tr class="memdesc:a735972ba9f69987339980572df8f7106"><td class="mdescLeft"> </td><td class="mdescRight">Parse a schema definition file. <a href="#a735972ba9f69987339980572df8f7106">More...</a><br /></td></tr>
<tr class="separator:a735972ba9f69987339980572df8f7106"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a26056dc0eed317f27ae45207a957d63b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1RelaxNGSchema.html#a26056dc0eed317f27ae45207a957d63b">parse_memory</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& contents) override</td></tr>
<tr class="memdesc:a26056dc0eed317f27ae45207a957d63b"><td class="mdescLeft"> </td><td class="mdescRight">Parse a schema definition from a string. <a href="#a26056dc0eed317f27ae45207a957d63b">More...</a><br /></td></tr>
<tr class="separator:a26056dc0eed317f27ae45207a957d63b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classxmlpp_1_1SchemaBase"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classxmlpp_1_1SchemaBase')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classxmlpp_1_1SchemaBase.html">xmlpp::SchemaBase</a></td></tr>
<tr class="memitem:a2ffebf4094ac35b6c3a5c85099a738fc inherit pub_methods_classxmlpp_1_1SchemaBase"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SchemaBase.html#a2ffebf4094ac35b6c3a5c85099a738fc">SchemaBase</a> ()</td></tr>
<tr class="separator:a2ffebf4094ac35b6c3a5c85099a738fc inherit pub_methods_classxmlpp_1_1SchemaBase"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a746df1307fcddeb3bbbf1f2ac834d79b inherit pub_methods_classxmlpp_1_1SchemaBase"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SchemaBase.html#a746df1307fcddeb3bbbf1f2ac834d79b">~SchemaBase</a> () override</td></tr>
<tr class="separator:a746df1307fcddeb3bbbf1f2ac834d79b inherit pub_methods_classxmlpp_1_1SchemaBase"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a0b53e1bc6c2600a30694560f23464a78"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1RelaxNGSchema.html#a0b53e1bc6c2600a30694560f23464a78">parse_context</a> (_xmlRelaxNGParserCtxt* context)</td></tr>
<tr class="separator:a0b53e1bc6c2600a30694560f23464a78"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af6f16231680d5749926ecaab71b248be"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1RelaxNGSchema.html#af6f16231680d5749926ecaab71b248be">release_underlying</a> ()</td></tr>
<tr class="separator:af6f16231680d5749926ecaab71b248be"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Represents a RelaxNG schema for validating XML files. </p>
<p>RelaxNG = REgular LAnguage for XML Next Generation</p>
<dl class="since_2_38"><dt><b><a class="el" href="since_2_38.html#_since_2_38000001">Since libxml++ 2.38:</a></b></dt><dd></dd></dl>
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a class="anchor" id="a747dee0d21f943513e3d8f8460e6b2fd"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">xmlpp::RelaxNGSchema::RelaxNGSchema </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a7d309a12c26a9548c28616f4c273e001"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">xmlpp::RelaxNGSchema::RelaxNGSchema </td>
<td>(</td>
<td class="paramtype">_xmlRelaxNG * </td>
<td class="paramname"><em>schema</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Create a schema from the underlying libxml schema element. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">schema</td><td>A pointer to the libxml schema element. The <a class="el" href="classxmlpp_1_1RelaxNGSchema.html" title="Represents a RelaxNG schema for validating XML files. ">RelaxNGSchema</a> takes ownership of the _xmlRelaxNG. The caller must not deallocate it. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="aab5fb6f11d406dd7f0e867d9868307ea"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">xmlpp::RelaxNGSchema::RelaxNGSchema </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
<td class="paramname"><em>filename</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Create a schema from a schema definition file. </p>
<p>The schema must be defined with XML syntax (.rng file). The compact syntax (.rnc file) is not supported. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">filename</td><td>The URL of the schema. </td></tr>
</table>
</dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classxmlpp_1_1parse__error.html" title="This exception will be thrown when the parser encounters an error in the XML document. ">xmlpp::parse_error</a></td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ac262630e9f267e2f7dc380ea42598cad"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">xmlpp::RelaxNGSchema::RelaxNGSchema </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classxmlpp_1_1Document.html">Document</a>* </td>
<td class="paramname"><em>document</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Create a schema from an XML document. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">document</td><td>A preparsed document tree, containing the schema definition. </td></tr>
</table>
</dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classxmlpp_1_1parse__error.html" title="This exception will be thrown when the parser encounters an error in the XML document. ">xmlpp::parse_error</a></td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a7c7ec7550409cbcaeb3c8344064516f9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">xmlpp::RelaxNGSchema::~RelaxNGSchema </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a93dd73cce2d068b08e1afdbe6588761a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">_xmlRelaxNG* xmlpp::RelaxNGSchema::cobj </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Access the underlying libxml implementation. </p>
</div>
</div>
<a class="anchor" id="ab14b665829f052f619bdca07d087b62d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const _xmlRelaxNG* xmlpp::RelaxNGSchema::cobj </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Access the underlying libxml implementation. </p>
</div>
</div>
<a class="anchor" id="a0b53e1bc6c2600a30694560f23464a78"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void xmlpp::RelaxNGSchema::parse_context </td>
<td>(</td>
<td class="paramtype">_xmlRelaxNGParserCtxt * </td>
<td class="paramname"><em>context</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a547d258651169796055ccc76179c129b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void xmlpp::RelaxNGSchema::parse_document </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classxmlpp_1_1Document.html">Document</a>* </td>
<td class="paramname"><em>document</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Parse a schema definition from a document. </p>
<p>If another schema has been parsed before, that schema is replaced by the new one. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">document</td><td>A preparsed document tree, containing the schema definition. </td></tr>
</table>
</dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classxmlpp_1_1parse__error.html" title="This exception will be thrown when the parser encounters an error in the XML document. ">xmlpp::parse_error</a></td><td></td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="classxmlpp_1_1SchemaBase.html#a0591e2b2adcb6cdceeb422526c133024">xmlpp::SchemaBase</a>.</p>
</div>
</div>
<a class="anchor" id="a735972ba9f69987339980572df8f7106"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void xmlpp::RelaxNGSchema::parse_file </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
<td class="paramname"><em>filename</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Parse a schema definition file. </p>
<p>The schema must be defined with XML syntax (.rng file). The compact syntax (.rnc file) is not supported.</p>
<p>If another schema has been parsed before, that schema is replaced by the new one. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">filename</td><td>The URL of the schema. </td></tr>
</table>
</dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classxmlpp_1_1parse__error.html" title="This exception will be thrown when the parser encounters an error in the XML document. ">xmlpp::parse_error</a></td><td></td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="classxmlpp_1_1SchemaBase.html#a75a4aa5f3972f1dd88af46de3f3307fc">xmlpp::SchemaBase</a>.</p>
</div>
</div>
<a class="anchor" id="a26056dc0eed317f27ae45207a957d63b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void xmlpp::RelaxNGSchema::parse_memory </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
<td class="paramname"><em>contents</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Parse a schema definition from a string. </p>
<p>The schema must be defined with XML syntax. The compact syntax is not supported.</p>
<p>If another schema has been parsed before, that schema is replaced by the new one. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">contents</td><td>The schema definition as a string. </td></tr>
</table>
</dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classxmlpp_1_1parse__error.html" title="This exception will be thrown when the parser encounters an error in the XML document. ">xmlpp::parse_error</a></td><td></td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="classxmlpp_1_1SchemaBase.html#a8aaacd840324840bf0cee30cff1832c5">xmlpp::SchemaBase</a>.</p>
</div>
</div>
<a class="anchor" id="af6f16231680d5749926ecaab71b248be"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void xmlpp::RelaxNGSchema::release_underlying </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Oct 28 2015 14:41:04 for libxml++ by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
|