Sophie

Sophie

distrib > Mageia > 6 > x86_64 > media > core-release > by-pkgid > 8594b6a9177d4b36b71e1fccfb3d02cf > files > 142

lib64xml++2.6-devel-2.40.1-2.mga6.x86_64.rpm

<!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::SaxParser 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++
   &#160;<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&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;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&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;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_1SaxParser.html">SaxParser</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="classxmlpp_1_1SaxParser-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">xmlpp::SaxParser Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>SAX XML parser.  
 <a href="classxmlpp_1_1SaxParser.html#details">More...</a></p>

<p><code>#include &lt;libxml++/parsers/saxparser.h&gt;</code></p>
<div class="dynheader">
Inheritance diagram for xmlpp::SaxParser:</div>
<div class="dyncontent">
<div class="center"><img src="classxmlpp_1_1SaxParser__inherit__graph.png" border="0" usemap="#xmlpp_1_1SaxParser_inherit__map" alt="Inheritance graph"/></div>
<map name="xmlpp_1_1SaxParser_inherit__map" id="xmlpp_1_1SaxParser_inherit__map">
<area shape="rect" id="node2" href="classxmlpp_1_1Parser.html" title="XML parser. " alt="" coords="28,80,137,107"/><area shape="rect" id="node3" href="classxmlpp_1_1NonCopyable.html" title="A base for classes which cannot be copied. " alt="" coords="5,5,160,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="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structxmlpp_1_1SaxParser_1_1Attribute.html">Attribute</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Simple structure used in the start_element callback, in which the attributes are a list of name/value pairs.  <a href="structxmlpp_1_1SaxParser_1_1Attribute.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structxmlpp_1_1SaxParser_1_1AttributeHasName.html">AttributeHasName</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This functor is a helper to find an attribute by name in an AttributeList using the standard algorithm <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01659.html#gaaf6e9995ebbd27994d7c73b375f86088">std::find_if</a>.  <a href="structxmlpp_1_1SaxParser_1_1AttributeHasName.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a1cb4e32dd3adf2460f2836bddb59633c"><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00458.html">std::deque</a>&lt; <a class="el" href="structxmlpp_1_1SaxParser_1_1Attribute.html">Attribute</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#a1cb4e32dd3adf2460f2836bddb59633c">AttributeList</a></td></tr>
<tr class="separator:a1cb4e32dd3adf2460f2836bddb59633c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_classxmlpp_1_1Parser"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classxmlpp_1_1Parser')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classxmlpp_1_1Parser.html">xmlpp::Parser</a></td></tr>
<tr class="memitem:a8e7c797006bb5398629cf98f4141e3e6 inherit pub_types_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">typedef unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a8e7c797006bb5398629cf98f4141e3e6">size_type</a></td></tr>
<tr class="separator:a8e7c797006bb5398629cf98f4141e3e6 inherit pub_types_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><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:a66bfaafc79c00197010f8d22b2a39df8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#a66bfaafc79c00197010f8d22b2a39df8">SaxParser</a> (bool use_get_entity=false)</td></tr>
<tr class="separator:a66bfaafc79c00197010f8d22b2a39df8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adeee772a4c78c253ca8657f54c8e79c0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#adeee772a4c78c253ca8657f54c8e79c0">~SaxParser</a> () override</td></tr>
<tr class="separator:adeee772a4c78c253ca8657f54c8e79c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac540859149b064cfce87931ba736f3c5"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#ac540859149b064cfce87931ba736f3c5">finish_chunk_parsing</a> ()</td></tr>
<tr class="memdesc:ac540859149b064cfce87931ba736f3c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finish a chunk-wise parse.  <a href="#ac540859149b064cfce87931ba736f3c5">More...</a><br /></td></tr>
<tr class="separator:ac540859149b064cfce87931ba736f3c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24b4440b0539a0015890182b35396b5d"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#a24b4440b0539a0015890182b35396b5d">parse_chunk</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; chunk)</td></tr>
<tr class="memdesc:a24b4440b0539a0015890182b35396b5d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse a chunk of data.  <a href="#a24b4440b0539a0015890182b35396b5d">More...</a><br /></td></tr>
<tr class="separator:a24b4440b0539a0015890182b35396b5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a501a19205773ac1c843d6007b189860e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#a501a19205773ac1c843d6007b189860e">parse_chunk_raw</a> (const unsigned char* contents, <a class="el" href="classxmlpp_1_1Parser.html#a8e7c797006bb5398629cf98f4141e3e6">size_type</a> bytes_count)</td></tr>
<tr class="memdesc:a501a19205773ac1c843d6007b189860e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse a chunk of data.  <a href="#a501a19205773ac1c843d6007b189860e">More...</a><br /></td></tr>
<tr class="separator:a501a19205773ac1c843d6007b189860e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74e03337f83175847e06d8b45e1df4b0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#a74e03337f83175847e06d8b45e1df4b0">parse_file</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; filename) override</td></tr>
<tr class="memdesc:a74e03337f83175847e06d8b45e1df4b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse an XML document from a file.  <a href="#a74e03337f83175847e06d8b45e1df4b0">More...</a><br /></td></tr>
<tr class="separator:a74e03337f83175847e06d8b45e1df4b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a29d5fb621b39dd7b5cdd0300d606d50f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#a29d5fb621b39dd7b5cdd0300d606d50f">parse_memory</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; contents) override</td></tr>
<tr class="memdesc:a29d5fb621b39dd7b5cdd0300d606d50f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse an XML document from a string.  <a href="#a29d5fb621b39dd7b5cdd0300d606d50f">More...</a><br /></td></tr>
<tr class="separator:a29d5fb621b39dd7b5cdd0300d606d50f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff9643a2764f6d8caee0307abbfcca25"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#aff9643a2764f6d8caee0307abbfcca25">parse_memory_raw</a> (const unsigned char* contents, <a class="el" href="classxmlpp_1_1Parser.html#a8e7c797006bb5398629cf98f4141e3e6">size_type</a> bytes_count)</td></tr>
<tr class="memdesc:aff9643a2764f6d8caee0307abbfcca25"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse an XML document from raw memory.  <a href="#aff9643a2764f6d8caee0307abbfcca25">More...</a><br /></td></tr>
<tr class="separator:aff9643a2764f6d8caee0307abbfcca25"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abbf17aa73c77ae9eb29da7dede2847c7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#abbf17aa73c77ae9eb29da7dede2847c7">parse_stream</a> (<a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01647.html#ga9a51d9b711a836df9c086f3a5e30b8b2">std::istream</a>&amp; in) override</td></tr>
<tr class="memdesc:abbf17aa73c77ae9eb29da7dede2847c7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse an XML document from a stream.  <a href="#abbf17aa73c77ae9eb29da7dede2847c7">More...</a><br /></td></tr>
<tr class="separator:abbf17aa73c77ae9eb29da7dede2847c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classxmlpp_1_1Parser"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classxmlpp_1_1Parser')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classxmlpp_1_1Parser.html">xmlpp::Parser</a></td></tr>
<tr class="memitem:ab2990f22147cb2163eda6e773fb2eb68 inherit pub_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#ab2990f22147cb2163eda6e773fb2eb68">Parser</a> ()</td></tr>
<tr class="separator:ab2990f22147cb2163eda6e773fb2eb68 inherit pub_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ac083cc800cc7699e7b5ad0be160218 inherit pub_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a7ac083cc800cc7699e7b5ad0be160218">~Parser</a> () override</td></tr>
<tr class="separator:a7ac083cc800cc7699e7b5ad0be160218 inherit pub_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a150d49ac4336d910b757ae6fb2cc4b5c inherit pub_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a150d49ac4336d910b757ae6fb2cc4b5c">get_include_default_attributes</a> ()</td></tr>
<tr class="memdesc:a150d49ac4336d910b757ae6fb2cc4b5c inherit pub_methods_classxmlpp_1_1Parser"><td class="mdescLeft">&#160;</td><td class="mdescRight">See <a class="el" href="classxmlpp_1_1Parser.html#a0ae64d2d6f28728786040ba8c8b694a4" title="Set whether default attribute values from the DTD shall be included in the node tree. ">set_include_default_attributes()</a>.  <a href="#a150d49ac4336d910b757ae6fb2cc4b5c">More...</a><br /></td></tr>
<tr class="separator:a150d49ac4336d910b757ae6fb2cc4b5c inherit pub_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4340563d4dc26a4cfe79f9854a5e91a7 inherit pub_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a4340563d4dc26a4cfe79f9854a5e91a7">get_parser_options</a> (int&amp; set_options, int&amp; clear_options)</td></tr>
<tr class="memdesc:a4340563d4dc26a4cfe79f9854a5e91a7 inherit pub_methods_classxmlpp_1_1Parser"><td class="mdescLeft">&#160;</td><td class="mdescRight">See <a class="el" href="classxmlpp_1_1Parser.html#aeab62a7446a6bb460cec3ea3951d12d6" title="Set and/or clear parser option flags. ">set_parser_options()</a>.  <a href="#a4340563d4dc26a4cfe79f9854a5e91a7">More...</a><br /></td></tr>
<tr class="separator:a4340563d4dc26a4cfe79f9854a5e91a7 inherit pub_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae71762868b009ccae8f00c1d34df00e7 inherit pub_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#ae71762868b009ccae8f00c1d34df00e7">get_substitute_entities</a> () const </td></tr>
<tr class="memdesc:ae71762868b009ccae8f00c1d34df00e7 inherit pub_methods_classxmlpp_1_1Parser"><td class="mdescLeft">&#160;</td><td class="mdescRight">See <a class="el" href="classxmlpp_1_1Parser.html#a960e9ee12df9b631c694ca002932cf7f" title="Set whether the parser will automatically substitute entity references with the text of the entities&#39;...">set_substitute_entities()</a>.  <a href="#ae71762868b009ccae8f00c1d34df00e7">More...</a><br /></td></tr>
<tr class="separator:ae71762868b009ccae8f00c1d34df00e7 inherit pub_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9e5523ffa19aa3e76761a0d46040efb inherit pub_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#ad9e5523ffa19aa3e76761a0d46040efb">get_throw_messages</a> () const </td></tr>
<tr class="memdesc:ad9e5523ffa19aa3e76761a0d46040efb inherit pub_methods_classxmlpp_1_1Parser"><td class="mdescLeft">&#160;</td><td class="mdescRight">See <a class="el" href="classxmlpp_1_1Parser.html#a3d491c0479b11e5766849956cd4b4538" title="Set whether the parser will collect and throw error and warning messages. ">set_throw_messages()</a>.  <a href="#ad9e5523ffa19aa3e76761a0d46040efb">More...</a><br /></td></tr>
<tr class="separator:ad9e5523ffa19aa3e76761a0d46040efb inherit pub_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7329d0daf70030bef41b92e6ed22bd63 inherit pub_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a7329d0daf70030bef41b92e6ed22bd63">get_validate</a> () const </td></tr>
<tr class="memdesc:a7329d0daf70030bef41b92e6ed22bd63 inherit pub_methods_classxmlpp_1_1Parser"><td class="mdescLeft">&#160;</td><td class="mdescRight">See <a class="el" href="classxmlpp_1_1Parser.html#a39332721610231ca8c5114e245121cc1" title="By default, the parser will not validate the XML file. ">set_validate()</a>.  <a href="#a7329d0daf70030bef41b92e6ed22bd63">More...</a><br /></td></tr>
<tr class="separator:a7329d0daf70030bef41b92e6ed22bd63 inherit pub_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ae64d2d6f28728786040ba8c8b694a4 inherit pub_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a0ae64d2d6f28728786040ba8c8b694a4">set_include_default_attributes</a> (bool val=true)</td></tr>
<tr class="memdesc:a0ae64d2d6f28728786040ba8c8b694a4 inherit pub_methods_classxmlpp_1_1Parser"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set whether default attribute values from the DTD shall be included in the node tree.  <a href="#a0ae64d2d6f28728786040ba8c8b694a4">More...</a><br /></td></tr>
<tr class="separator:a0ae64d2d6f28728786040ba8c8b694a4 inherit pub_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeab62a7446a6bb460cec3ea3951d12d6 inherit pub_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#aeab62a7446a6bb460cec3ea3951d12d6">set_parser_options</a> (int set_options=0, int clear_options=0)</td></tr>
<tr class="memdesc:aeab62a7446a6bb460cec3ea3951d12d6 inherit pub_methods_classxmlpp_1_1Parser"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set and/or clear parser option flags.  <a href="#aeab62a7446a6bb460cec3ea3951d12d6">More...</a><br /></td></tr>
<tr class="separator:aeab62a7446a6bb460cec3ea3951d12d6 inherit pub_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a960e9ee12df9b631c694ca002932cf7f inherit pub_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a960e9ee12df9b631c694ca002932cf7f">set_substitute_entities</a> (bool val=true)</td></tr>
<tr class="memdesc:a960e9ee12df9b631c694ca002932cf7f inherit pub_methods_classxmlpp_1_1Parser"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set whether the parser will automatically substitute entity references with the text of the entities' definitions.  <a href="#a960e9ee12df9b631c694ca002932cf7f">More...</a><br /></td></tr>
<tr class="separator:a960e9ee12df9b631c694ca002932cf7f inherit pub_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d491c0479b11e5766849956cd4b4538 inherit pub_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a3d491c0479b11e5766849956cd4b4538">set_throw_messages</a> (bool val=true)</td></tr>
<tr class="memdesc:a3d491c0479b11e5766849956cd4b4538 inherit pub_methods_classxmlpp_1_1Parser"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set whether the parser will collect and throw error and warning messages.  <a href="#a3d491c0479b11e5766849956cd4b4538">More...</a><br /></td></tr>
<tr class="separator:a3d491c0479b11e5766849956cd4b4538 inherit pub_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39332721610231ca8c5114e245121cc1 inherit pub_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a39332721610231ca8c5114e245121cc1">set_validate</a> (bool val=true)</td></tr>
<tr class="memdesc:a39332721610231ca8c5114e245121cc1 inherit pub_methods_classxmlpp_1_1Parser"><td class="mdescLeft">&#160;</td><td class="mdescRight">By default, the parser will not validate the XML file.  <a href="#a39332721610231ca8c5114e245121cc1">More...</a><br /></td></tr>
<tr class="separator:a39332721610231ca8c5114e245121cc1 inherit pub_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</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:af6671ab7dbda78730a65dcbb58aa0ec1"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#af6671ab7dbda78730a65dcbb58aa0ec1">on_cdata_block</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; text)</td></tr>
<tr class="separator:af6671ab7dbda78730a65dcbb58aa0ec1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a359b48ea1c15cb39837f680a1f2fb2c2"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#a359b48ea1c15cb39837f680a1f2fb2c2">on_characters</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; characters)</td></tr>
<tr class="separator:a359b48ea1c15cb39837f680a1f2fb2c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acccf558fc47549bdad076201193739f3"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#acccf558fc47549bdad076201193739f3">on_comment</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; text)</td></tr>
<tr class="separator:acccf558fc47549bdad076201193739f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7b3090025892829af91f8c51a06ef7b"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#aa7b3090025892829af91f8c51a06ef7b">on_end_document</a> ()</td></tr>
<tr class="separator:aa7b3090025892829af91f8c51a06ef7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c1c00b47c020e3cd8d623361c6909fa"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#a5c1c00b47c020e3cd8d623361c6909fa">on_end_element</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; name)</td></tr>
<tr class="separator:a5c1c00b47c020e3cd8d623361c6909fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0985199cbdbd9a7ab31b024acf3c2c8"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#ab0985199cbdbd9a7ab31b024acf3c2c8">on_entity_declaration</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; name, <a class="el" href="namespacexmlpp.html#a0fa47f0fb103cf9ea460a2fef3f5be49">XmlEntityType</a> <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib_1_1Unicode.html#a042d1c3fdb1a22daf647211210af80c3">type</a>, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; publicId, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; systemId, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; content)</td></tr>
<tr class="memdesc:ab0985199cbdbd9a7ab31b024acf3c2c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override this to receive information about every entity declaration.  <a href="#ab0985199cbdbd9a7ab31b024acf3c2c8">More...</a><br /></td></tr>
<tr class="separator:ab0985199cbdbd9a7ab31b024acf3c2c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38c3c5f9bad26030acee20d7ddf4936a"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#a38c3c5f9bad26030acee20d7ddf4936a">on_error</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; text)</td></tr>
<tr class="separator:a38c3c5f9bad26030acee20d7ddf4936a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad951cc2b1fe314805c5d735a0d7f467c"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#ad951cc2b1fe314805c5d735a0d7f467c">on_fatal_error</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; text)</td></tr>
<tr class="separator:ad951cc2b1fe314805c5d735a0d7f467c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb20c4424f325655ebd787c2b2268137"><td class="memItemLeft" align="right" valign="top">virtual _xmlEntity*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#aeb20c4424f325655ebd787c2b2268137">on_get_entity</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; name)</td></tr>
<tr class="memdesc:aeb20c4424f325655ebd787c2b2268137"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override this method to resolve entities references in your derived parser, instead of using the default entity resolution, or to be informed when entity references are encountered.  <a href="#aeb20c4424f325655ebd787c2b2268137">More...</a><br /></td></tr>
<tr class="separator:aeb20c4424f325655ebd787c2b2268137"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b453817ac37ea307c2ba023cc938794"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#a4b453817ac37ea307c2ba023cc938794">on_internal_subset</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; name, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; publicId, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; systemId)</td></tr>
<tr class="memdesc:a4b453817ac37ea307c2ba023cc938794"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override this to receive information about the document's DTD and any entity declarations.  <a href="#a4b453817ac37ea307c2ba023cc938794">More...</a><br /></td></tr>
<tr class="separator:a4b453817ac37ea307c2ba023cc938794"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a33932c84e245284414003f668b829f"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#a0a33932c84e245284414003f668b829f">on_start_document</a> ()</td></tr>
<tr class="separator:a0a33932c84e245284414003f668b829f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1496022dd6b58d9af6a4a7a703830a84"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#a1496022dd6b58d9af6a4a7a703830a84">on_start_element</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; name, const <a class="el" href="classxmlpp_1_1SaxParser.html#a1cb4e32dd3adf2460f2836bddb59633c">AttributeList</a>&amp; attributes)</td></tr>
<tr class="separator:a1496022dd6b58d9af6a4a7a703830a84"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab951160501bf3e78901691a79e3d11e8"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#ab951160501bf3e78901691a79e3d11e8">on_warning</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; text)</td></tr>
<tr class="separator:ab951160501bf3e78901691a79e3d11e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a605b572e51939279e83c6949d02355e1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#a605b572e51939279e83c6949d02355e1">release_underlying</a> () override</td></tr>
<tr class="separator:a605b572e51939279e83c6949d02355e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classxmlpp_1_1Parser"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classxmlpp_1_1Parser')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classxmlpp_1_1Parser.html">xmlpp::Parser</a></td></tr>
<tr class="memitem:a9daba11c6746d91153329a9dbd8decc5 inherit pro_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a9daba11c6746d91153329a9dbd8decc5">check_for_exception</a> ()</td></tr>
<tr class="separator:a9daba11c6746d91153329a9dbd8decc5 inherit pro_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad45390ab3d30d1dea26001f2d6a9a2f inherit pro_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#aad45390ab3d30d1dea26001f2d6a9a2f">check_for_validity_messages</a> ()</td></tr>
<tr class="separator:aad45390ab3d30d1dea26001f2d6a9a2f inherit pro_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a860e1cff3da52a4bbb0b17a06475399f inherit pro_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a860e1cff3da52a4bbb0b17a06475399f">handleException</a> (const <a class="el" href="classxmlpp_1_1exception.html">exception</a>&amp; e)</td></tr>
<tr class="separator:a860e1cff3da52a4bbb0b17a06475399f inherit pro_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a25f92d0a820d96accfe316a066bade49 inherit pro_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a25f92d0a820d96accfe316a066bade49">initialize_context</a> ()</td></tr>
<tr class="separator:a25f92d0a820d96accfe316a066bade49 inherit pro_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36860900bd7f118adfd7b7887278e4fb inherit pro_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a36860900bd7f118adfd7b7887278e4fb">on_validity_error</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; message)</td></tr>
<tr class="separator:a36860900bd7f118adfd7b7887278e4fb inherit pro_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0876425a0d687f24bc54b44d950ab2c inherit pro_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#ad0876425a0d687f24bc54b44d950ab2c">on_validity_warning</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; message)</td></tr>
<tr class="separator:ad0876425a0d687f24bc54b44d950ab2c inherit pro_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_types_classxmlpp_1_1Parser"><td colspan="2" onclick="javascript:toggleInherit('pro_types_classxmlpp_1_1Parser')"><img src="closed.png" alt="-"/>&#160;Protected Types inherited from <a class="el" href="classxmlpp_1_1Parser.html">xmlpp::Parser</a></td></tr>
<tr class="memitem:a8bfd5ceb1cc0b3b9fd9ff7cf44d1029b inherit pro_types_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a8bfd5ceb1cc0b3b9fd9ff7cf44d1029b">MsgType</a> { <br />
&#160;&#160;<a class="el" href="classxmlpp_1_1Parser.html#a8bfd5ceb1cc0b3b9fd9ff7cf44d1029bae3a15565bbac2bbce269c71578874290">MsgParserError</a>, 
<br />
&#160;&#160;<a class="el" href="classxmlpp_1_1Parser.html#a8bfd5ceb1cc0b3b9fd9ff7cf44d1029ba2699545b0c4313c08db938000a1ff385">MsgParserWarning</a>, 
<br />
&#160;&#160;<a class="el" href="classxmlpp_1_1Parser.html#a8bfd5ceb1cc0b3b9fd9ff7cf44d1029bab5b788bc9b710543d1061be8e8d1ceff">MsgValidityError</a>, 
<br />
&#160;&#160;<a class="el" href="classxmlpp_1_1Parser.html#a8bfd5ceb1cc0b3b9fd9ff7cf44d1029baf56ce30abc58b13a1bd9ee27c085ac70">MsgValidityWarning</a>
<br />
 }</td></tr>
<tr class="separator:a8bfd5ceb1cc0b3b9fd9ff7cf44d1029b inherit pro_types_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_static_methods_classxmlpp_1_1Parser"><td colspan="2" onclick="javascript:toggleInherit('pro_static_methods_classxmlpp_1_1Parser')"><img src="closed.png" alt="-"/>&#160;Static Protected Member Functions inherited from <a class="el" href="classxmlpp_1_1Parser.html">xmlpp::Parser</a></td></tr>
<tr class="memitem:a49b79a6ada464e8d1be27a655ee63b48 inherit pro_static_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a49b79a6ada464e8d1be27a655ee63b48">callback_error_or_warning</a> (<a class="el" href="classxmlpp_1_1Parser.html#a8bfd5ceb1cc0b3b9fd9ff7cf44d1029b">MsgType</a> msg_type, void* ctx, const char* msg, va_list var_args)</td></tr>
<tr class="separator:a49b79a6ada464e8d1be27a655ee63b48 inherit pro_static_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5272535b144daaafcdc161e36f1aa33 inherit pro_static_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#ae5272535b144daaafcdc161e36f1aa33">callback_parser_error</a> (void* ctx, const char* msg,...)</td></tr>
<tr class="separator:ae5272535b144daaafcdc161e36f1aa33 inherit pro_static_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7dbe69dcd8aa5c7625fa96a9dcdcbad7 inherit pro_static_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a7dbe69dcd8aa5c7625fa96a9dcdcbad7">callback_parser_warning</a> (void* ctx, const char* msg,...)</td></tr>
<tr class="separator:a7dbe69dcd8aa5c7625fa96a9dcdcbad7 inherit pro_static_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ec91483923a6023e7ac56eeaf16b1e3 inherit pro_static_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a7ec91483923a6023e7ac56eeaf16b1e3">callback_validity_error</a> (void* ctx, const char* msg,...)</td></tr>
<tr class="separator:a7ec91483923a6023e7ac56eeaf16b1e3 inherit pro_static_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa573fc538688db238714cef413944567 inherit pro_static_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#aa573fc538688db238714cef413944567">callback_validity_warning</a> (void* ctx, const char* msg,...)</td></tr>
<tr class="separator:aa573fc538688db238714cef413944567 inherit pro_static_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classxmlpp_1_1Parser"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classxmlpp_1_1Parser')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classxmlpp_1_1Parser.html">xmlpp::Parser</a></td></tr>
<tr class="memitem:a2b49a51f1a8fce897dffcb1e81f87907 inherit pro_attribs_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">_xmlParserCtxt*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a2b49a51f1a8fce897dffcb1e81f87907">context_</a></td></tr>
<tr class="separator:a2b49a51f1a8fce897dffcb1e81f87907 inherit pro_attribs_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b2a100f91d2ead57de5ef640ebf91a9 inherit pro_attribs_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classxmlpp_1_1exception.html">exception</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a7b2a100f91d2ead57de5ef640ebf91a9">exception_</a></td></tr>
<tr class="separator:a7b2a100f91d2ead57de5ef640ebf91a9 inherit pro_attribs_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a969bc262133a8310cfbfc097f925c00c inherit pro_attribs_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a969bc262133a8310cfbfc097f925c00c">substitute_entities_</a></td></tr>
<tr class="separator:a969bc262133a8310cfbfc097f925c00c inherit pro_attribs_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d21ddd4fdd34f845937649eb4fb8814 inherit pro_attribs_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a2d21ddd4fdd34f845937649eb4fb8814">validate_</a></td></tr>
<tr class="separator:a2d21ddd4fdd34f845937649eb4fb8814 inherit pro_attribs_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a367b4132d663f1c1adf1515c4a6e959f inherit pro_attribs_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a367b4132d663f1c1adf1515c4a6e959f">validate_error_</a></td></tr>
<tr class="separator:a367b4132d663f1c1adf1515c4a6e959f inherit pro_attribs_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac64f7a377ae85c848dbb8008a43f555 inherit pro_attribs_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#aac64f7a377ae85c848dbb8008a43f555">validate_warning_</a></td></tr>
<tr class="separator:aac64f7a377ae85c848dbb8008a43f555 inherit pro_attribs_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>SAX XML parser. </p>
<p>Derive your own class and override the on_*() methods.</p>
<p>In a system that does not support std::exception_ptr: If an overridden on_*() method throws an exception which is not derived from <a class="el" href="classxmlpp_1_1exception.html" title="Base class for all xmlpp exceptions. ">xmlpp::exception</a>, that exception is replaced by a <a class="el" href="classxmlpp_1_1exception.html" title="Base class for all xmlpp exceptions. ">xmlpp::exception</a> before it is propagated out of the parse method, such as <a class="el" href="classxmlpp_1_1SaxParser.html#a74e03337f83175847e06d8b45e1df4b0" title="Parse an XML document from a file. ">parse_file()</a>. </p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a class="anchor" id="a1cb4e32dd3adf2460f2836bddb59633c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00458.html">std::deque</a>&lt; <a class="el" href="structxmlpp_1_1SaxParser_1_1Attribute.html">Attribute</a> &gt; <a class="el" href="classxmlpp_1_1SaxParser.html#a1cb4e32dd3adf2460f2836bddb59633c">xmlpp::SaxParser::AttributeList</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a66bfaafc79c00197010f8d22b2a39df8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">xmlpp::SaxParser::SaxParser </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>use_get_entity</em> = <code>false</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">use_get_entity</td><td>Set this to true if you will override <a class="el" href="classxmlpp_1_1SaxParser.html#aeb20c4424f325655ebd787c2b2268137" title="Override this method to resolve entities references in your derived parser, instead of using the defa...">on_get_entity()</a>. In theory, if you do not override <a class="el" href="classxmlpp_1_1SaxParser.html#aeb20c4424f325655ebd787c2b2268137" title="Override this method to resolve entities references in your derived parser, instead of using the defa...">on_get_entity()</a> the parser should behave exactly the same whether you use true or false here. But the default implementation of <a class="el" href="classxmlpp_1_1SaxParser.html#aeb20c4424f325655ebd787c2b2268137" title="Override this method to resolve entities references in your derived parser, instead of using the defa...">on_get_entity()</a>, needed if you override <a class="el" href="classxmlpp_1_1SaxParser.html#aeb20c4424f325655ebd787c2b2268137" title="Override this method to resolve entities references in your derived parser, instead of using the defa...">on_get_entity()</a> might not have the same behaviour as the underlying default behaviour of libxml, so the libxml implementation is the default here. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="adeee772a4c78c253ca8657f54c8e79c0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">xmlpp::SaxParser::~SaxParser </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="ac540859149b064cfce87931ba736f3c5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void xmlpp::SaxParser::finish_chunk_parsing </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Finish a chunk-wise parse. </p>
<p>Call this after the last call to <a class="el" href="classxmlpp_1_1SaxParser.html#a24b4440b0539a0015890182b35396b5d" title="Parse a chunk of data. ">parse_chunk()</a>. Don't use this function with the other parsing methods. </p><dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classxmlpp_1_1internal__error.html">xmlpp::internal_error</a></td><td></td></tr>
    <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>
    <tr><td class="paramname"><a class="el" href="classxmlpp_1_1validity__error.html" title="This exception will be thrown when the parser encounters a validity error in the XML document...">xmlpp::validity_error</a></td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="af6671ab7dbda78730a65dcbb58aa0ec1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void xmlpp::SaxParser::on_cdata_block </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>text</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a359b48ea1c15cb39837f680a1f2fb2c2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void xmlpp::SaxParser::on_characters </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>characters</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="acccf558fc47549bdad076201193739f3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void xmlpp::SaxParser::on_comment </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>text</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="aa7b3090025892829af91f8c51a06ef7b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void xmlpp::SaxParser::on_end_document </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 class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a5c1c00b47c020e3cd8d623361c6909fa"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void xmlpp::SaxParser::on_end_element </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ab0985199cbdbd9a7ab31b024acf3c2c8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void xmlpp::SaxParser::on_entity_declaration </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespacexmlpp.html#a0fa47f0fb103cf9ea460a2fef3f5be49">XmlEntityType</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>publicId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>systemId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>content</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Override this to receive information about every entity declaration. </p>
<p>If you override this function, and you want normal entity substitution to work, then you must call the base class in your override.</p>
<p>This would be useful when overriding <a class="el" href="classxmlpp_1_1SaxParser.html#aeb20c4424f325655ebd787c2b2268137" title="Override this method to resolve entities references in your derived parser, instead of using the defa...">on_get_entity()</a>. </p><dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classxmlpp_1_1internal__error.html">xmlpp::internal_error</a></td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a38c3c5f9bad26030acee20d7ddf4936a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void xmlpp::SaxParser::on_error </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>text</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ad951cc2b1fe314805c5d735a0d7f467c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void xmlpp::SaxParser::on_fatal_error </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>text</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<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="aeb20c4424f325655ebd787c2b2268137"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual _xmlEntity* xmlpp::SaxParser::on_get_entity </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Override this method to resolve entities references in your derived parser, instead of using the default entity resolution, or to be informed when entity references are encountered. </p>
<p>If you override this function then you must also specify true for use_get_entity constructor parameter. You will probably need to override <a class="el" href="classxmlpp_1_1SaxParser.html#ab0985199cbdbd9a7ab31b024acf3c2c8" title="Override this to receive information about every entity declaration. ">on_entity_declaration()</a> as well so that you can use that information when resolving the entity reference.</p>
<p>This is known to be difficult, because it requires both an understanding of the W3C specifications and knowledge of the libxml internals. Entity resolution is easier with the <a class="el" href="classxmlpp_1_1DomParser.html" title="DOM XML parser. ">DomParser</a>.</p>
<p>Call this method in this base class for default processing. For instance, if you just want to know about the existence of an entity reference, without affecting the normal substitution, just override and call the base class.</p>
<p>Unlike the <a class="el" href="classxmlpp_1_1DomParser.html" title="DOM XML parser. ">DomParser</a>, the <a class="el" href="classxmlpp_1_1SaxParser.html" title="SAX XML parser. ">SaxParser</a> will also tell you about entity references for the 5 predefined entities.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>The entity reference name. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The resolved xmlEntity for the entity reference, or <code>nullptr</code> if not found. You must include libxml/parser.h in order to use this C struct. This instance will not be freed by the caller. </dd></dl>

</div>
</div>
<a class="anchor" id="a4b453817ac37ea307c2ba023cc938794"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void xmlpp::SaxParser::on_internal_subset </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>publicId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>systemId</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Override this to receive information about the document's DTD and any entity declarations. </p>

</div>
</div>
<a class="anchor" id="a0a33932c84e245284414003f668b829f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void xmlpp::SaxParser::on_start_document </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 class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a1496022dd6b58d9af6a4a7a703830a84"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void xmlpp::SaxParser::on_start_element </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classxmlpp_1_1SaxParser.html#a1cb4e32dd3adf2460f2836bddb59633c">AttributeList</a>&amp;&#160;</td>
          <td class="paramname"><em>attributes</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ab951160501bf3e78901691a79e3d11e8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void xmlpp::SaxParser::on_warning </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>text</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a24b4440b0539a0015890182b35396b5d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void xmlpp::SaxParser::parse_chunk </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>chunk</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Parse a chunk of data. </p>
<p>This lets you pass a document in small chunks, e.g. from a network connection. The on_* virtual functions are called each time the chunks provide enough information to advance the parser.</p>
<p>The first call to parse_chunk will setup the parser. When the last chunk has been parsed, call <a class="el" href="classxmlpp_1_1SaxParser.html#ac540859149b064cfce87931ba736f3c5" title="Finish a chunk-wise parse. ">finish_chunk_parsing()</a> to finish the parse.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">chunk</td><td>The next piece of the XML document. </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_1internal__error.html">xmlpp::internal_error</a></td><td></td></tr>
    <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>
    <tr><td class="paramname"><a class="el" href="classxmlpp_1_1validity__error.html" title="This exception will be thrown when the parser encounters a validity error in the XML document...">xmlpp::validity_error</a></td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a501a19205773ac1c843d6007b189860e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void xmlpp::SaxParser::parse_chunk_raw </td>
          <td>(</td>
          <td class="paramtype">const unsigned char *&#160;</td>
          <td class="paramname"><em>contents</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classxmlpp_1_1Parser.html#a8e7c797006bb5398629cf98f4141e3e6">size_type</a>&#160;</td>
          <td class="paramname"><em>bytes_count</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Parse a chunk of data. </p>
<dl class="since_2_24"><dt><b><a class="el" href="since_2_24.html#_since_2_24000006">Since libxml++ 2.24:</a></b></dt><dd></dd></dl>
<p>This lets you pass a document in small chunks, e.g. from a network connection. The on_* virtual functions are called each time the chunks provide enough information to advance the parser.</p>
<p>The first call to parse_chunk will setup the parser. When the last chunk has been parsed, call <a class="el" href="classxmlpp_1_1SaxParser.html#ac540859149b064cfce87931ba736f3c5" title="Finish a chunk-wise parse. ">finish_chunk_parsing()</a> to finish the parse.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">contents</td><td>The next piece of the XML document as an array of bytes. </td></tr>
    <tr><td class="paramname">bytes_count</td><td>The number of bytes in the <em>contents</em> array. </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_1internal__error.html">xmlpp::internal_error</a></td><td></td></tr>
    <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>
    <tr><td class="paramname"><a class="el" href="classxmlpp_1_1validity__error.html" title="This exception will be thrown when the parser encounters a validity error in the XML document...">xmlpp::validity_error</a></td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a74e03337f83175847e06d8b45e1df4b0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void xmlpp::SaxParser::parse_file </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</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 an XML document from a file. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">filename</td><td>The path to the file. </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_1internal__error.html">xmlpp::internal_error</a></td><td></td></tr>
    <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>
    <tr><td class="paramname"><a class="el" href="classxmlpp_1_1validity__error.html" title="This exception will be thrown when the parser encounters a validity error in the XML document...">xmlpp::validity_error</a></td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classxmlpp_1_1Parser.html#ad0855eff9a35a9160800ad58ad19fd7e">xmlpp::Parser</a>.</p>

</div>
</div>
<a class="anchor" id="a29d5fb621b39dd7b5cdd0300d606d50f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void xmlpp::SaxParser::parse_memory </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</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 an XML document from a string. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">contents</td><td>The XML document 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_1internal__error.html">xmlpp::internal_error</a></td><td></td></tr>
    <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>
    <tr><td class="paramname"><a class="el" href="classxmlpp_1_1validity__error.html" title="This exception will be thrown when the parser encounters a validity error in the XML document...">xmlpp::validity_error</a></td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classxmlpp_1_1Parser.html#abbbf646035570f1aa5366558dfc2ae01">xmlpp::Parser</a>.</p>

</div>
</div>
<a class="anchor" id="aff9643a2764f6d8caee0307abbfcca25"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void xmlpp::SaxParser::parse_memory_raw </td>
          <td>(</td>
          <td class="paramtype">const unsigned char *&#160;</td>
          <td class="paramname"><em>contents</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classxmlpp_1_1Parser.html#a8e7c797006bb5398629cf98f4141e3e6">size_type</a>&#160;</td>
          <td class="paramname"><em>bytes_count</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Parse an XML document from raw memory. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">contents</td><td>The XML document as an array of bytes. </td></tr>
    <tr><td class="paramname">bytes_count</td><td>The number of bytes in the <em>contents</em> array. </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_1internal__error.html">xmlpp::internal_error</a></td><td></td></tr>
    <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>
    <tr><td class="paramname"><a class="el" href="classxmlpp_1_1validity__error.html" title="This exception will be thrown when the parser encounters a validity error in the XML document...">xmlpp::validity_error</a></td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="abbf17aa73c77ae9eb29da7dede2847c7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void xmlpp::SaxParser::parse_stream </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01647.html#ga9a51d9b711a836df9c086f3a5e30b8b2">std::istream</a> &amp;&#160;</td>
          <td class="paramname"><em>in</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 an XML document from a stream. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">in</td><td>The stream. </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_1internal__error.html">xmlpp::internal_error</a></td><td></td></tr>
    <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>
    <tr><td class="paramname"><a class="el" href="classxmlpp_1_1validity__error.html" title="This exception will be thrown when the parser encounters a validity error in the XML document...">xmlpp::validity_error</a></td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classxmlpp_1_1Parser.html#ad7134b1c68308351785acb0302aa54db">xmlpp::Parser</a>.</p>

</div>
</div>
<a class="anchor" id="a605b572e51939279e83c6949d02355e1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void xmlpp::SaxParser::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">override</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reimplemented from <a class="el" href="classxmlpp_1_1Parser.html#a346ebfb1219e1c0d3acbd017a07706e6">xmlpp::Parser</a>.</p>

</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 &#160;<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>