Sophie

Sophie

distrib > Mageia > 6 > armv5tl > media > core-updates > by-pkgid > 21683c2052716543063aae9960d9aef7 > files > 655

xerces-c-doc-3.1.4-2.1.mga6.noarch.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.5"/>
<title>Xerces-C++: SAX2XMLReader 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" />
</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">Xerces-C++
   &#160;<span id="projectnumber">3.1.4</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <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 class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</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="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="classSAX2XMLReader-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">SAX2XMLReader Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for SAX2XMLReader:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classSAX2XMLReader.png" usemap="#SAX2XMLReader_map" alt=""/>
  <map id="SAX2XMLReader_map" name="SAX2XMLReader_map">
<area href="classSAX2XMLFilter.html" alt="SAX2XMLFilter" shape="rect" coords="0,56,113,80"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Public constants</div></td></tr>
<tr class="memitem:ad6be26566ce8e2f65b95849247d10853"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#ad6be26566ce8e2f65b95849247d10853">ValSchemes</a> { <a class="el" href="classSAX2XMLReader.html#ad6be26566ce8e2f65b95849247d10853a7b5317560a7f1130511148b7750d6244">Val_Never</a>, 
<a class="el" href="classSAX2XMLReader.html#ad6be26566ce8e2f65b95849247d10853a95ad9c6bc78a2ce7fa2a8db410b1dc39">Val_Always</a>, 
<a class="el" href="classSAX2XMLReader.html#ad6be26566ce8e2f65b95849247d10853a57143e99019f8302ea26965e26ce7cb0">Val_Auto</a>
 }</td></tr>
<tr class="memdesc:ad6be26566ce8e2f65b95849247d10853"><td class="mdescLeft">&#160;</td><td class="mdescRight">ValScheme enum used in setValidationScheme Val_Never: Do not report validation errors.  <a href="classSAX2XMLReader.html#ad6be26566ce8e2f65b95849247d10853">More...</a><br/></td></tr>
<tr class="separator:ad6be26566ce8e2f65b95849247d10853"><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><td colspan="2"><div class="groupHeader">Constructors and Destructor</div></td></tr>
<tr class="memitem:afaad9a21efa3e2626e80a7045c3a39b1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#afaad9a21efa3e2626e80a7045c3a39b1">SAX2XMLReader</a> ()</td></tr>
<tr class="memdesc:afaad9a21efa3e2626e80a7045c3a39b1"><td class="mdescLeft">&#160;</td><td class="mdescRight">The default constructor.  <a href="#afaad9a21efa3e2626e80a7045c3a39b1">More...</a><br/></td></tr>
<tr class="separator:afaad9a21efa3e2626e80a7045c3a39b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65eac731ad3537122d86bf5826fe8047"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#a65eac731ad3537122d86bf5826fe8047">~SAX2XMLReader</a> ()</td></tr>
<tr class="memdesc:a65eac731ad3537122d86bf5826fe8047"><td class="mdescLeft">&#160;</td><td class="mdescRight">The destructor.  <a href="#a65eac731ad3537122d86bf5826fe8047">More...</a><br/></td></tr>
<tr class="separator:a65eac731ad3537122d86bf5826fe8047"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Implementation of SAX 2.0 XMLReader interface's.</div></td></tr>
<tr class="memitem:a9fda35bb540194c1a8a5a4a95c0bcdb7"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classContentHandler.html">ContentHandler</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#a9fda35bb540194c1a8a5a4a95c0bcdb7">getContentHandler</a> () const =0</td></tr>
<tr class="memdesc:a9fda35bb540194c1a8a5a4a95c0bcdb7"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method returns the installed content handler.  <a href="#a9fda35bb540194c1a8a5a4a95c0bcdb7">More...</a><br/></td></tr>
<tr class="separator:a9fda35bb540194c1a8a5a4a95c0bcdb7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89f6ad6b94dce1d82f86d88084cafeaf"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classDTDHandler.html">DTDHandler</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#a89f6ad6b94dce1d82f86d88084cafeaf">getDTDHandler</a> () const =0</td></tr>
<tr class="memdesc:a89f6ad6b94dce1d82f86d88084cafeaf"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method returns the installed DTD handler.  <a href="#a89f6ad6b94dce1d82f86d88084cafeaf">More...</a><br/></td></tr>
<tr class="separator:a89f6ad6b94dce1d82f86d88084cafeaf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef939a6a68ded3d000f8ecbd80cc5089"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classEntityResolver.html">EntityResolver</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#aef939a6a68ded3d000f8ecbd80cc5089">getEntityResolver</a> () const =0</td></tr>
<tr class="memdesc:aef939a6a68ded3d000f8ecbd80cc5089"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method returns the installed entity resolver.  <a href="#aef939a6a68ded3d000f8ecbd80cc5089">More...</a><br/></td></tr>
<tr class="separator:aef939a6a68ded3d000f8ecbd80cc5089"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96bb93cd1b62dd75068325cbcdfbb581"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classErrorHandler.html">ErrorHandler</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#a96bb93cd1b62dd75068325cbcdfbb581">getErrorHandler</a> () const =0</td></tr>
<tr class="memdesc:a96bb93cd1b62dd75068325cbcdfbb581"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method returns the installed error handler.  <a href="#a96bb93cd1b62dd75068325cbcdfbb581">More...</a><br/></td></tr>
<tr class="separator:a96bb93cd1b62dd75068325cbcdfbb581"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a704107fbb8c3552589236e959238be"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#a6a704107fbb8c3552589236e959238be">getFeature</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const name) const =0</td></tr>
<tr class="memdesc:a6a704107fbb8c3552589236e959238be"><td class="mdescLeft">&#160;</td><td class="mdescRight">Query the current state of any feature in a SAX2 XMLReader.  <a href="#a6a704107fbb8c3552589236e959238be">More...</a><br/></td></tr>
<tr class="separator:a6a704107fbb8c3552589236e959238be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a909627968ffa64bb14e673d5e2caf6f7"><td class="memItemLeft" align="right" valign="top">virtual void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#a909627968ffa64bb14e673d5e2caf6f7">getProperty</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const name) const =0</td></tr>
<tr class="memdesc:a909627968ffa64bb14e673d5e2caf6f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Query the current value of a property in a SAX2 XMLReader.  <a href="#a909627968ffa64bb14e673d5e2caf6f7">More...</a><br/></td></tr>
<tr class="separator:a909627968ffa64bb14e673d5e2caf6f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1885becac34443e9648ccaeeed733f5"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#aa1885becac34443e9648ccaeeed733f5">setContentHandler</a> (<a class="el" href="classContentHandler.html">ContentHandler</a> *const handler)=0</td></tr>
<tr class="memdesc:aa1885becac34443e9648ccaeeed733f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allow an application to register a document event handler.  <a href="#aa1885becac34443e9648ccaeeed733f5">More...</a><br/></td></tr>
<tr class="separator:aa1885becac34443e9648ccaeeed733f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab862874149da5e744a04f1bc6de60ff4"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#ab862874149da5e744a04f1bc6de60ff4">setDTDHandler</a> (<a class="el" href="classDTDHandler.html">DTDHandler</a> *const handler)=0</td></tr>
<tr class="memdesc:ab862874149da5e744a04f1bc6de60ff4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allow an application to register a DTD event handler.  <a href="#ab862874149da5e744a04f1bc6de60ff4">More...</a><br/></td></tr>
<tr class="separator:ab862874149da5e744a04f1bc6de60ff4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4621486a9776d480ec10e596a4d66a6"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#ab4621486a9776d480ec10e596a4d66a6">setEntityResolver</a> (<a class="el" href="classEntityResolver.html">EntityResolver</a> *const resolver)=0</td></tr>
<tr class="memdesc:ab4621486a9776d480ec10e596a4d66a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allow an application to register a custom entity resolver.  <a href="#ab4621486a9776d480ec10e596a4d66a6">More...</a><br/></td></tr>
<tr class="separator:ab4621486a9776d480ec10e596a4d66a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a910e9acbec9c8bbd4ff3fdb92c76cf0e"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#a910e9acbec9c8bbd4ff3fdb92c76cf0e">setErrorHandler</a> (<a class="el" href="classErrorHandler.html">ErrorHandler</a> *const handler)=0</td></tr>
<tr class="memdesc:a910e9acbec9c8bbd4ff3fdb92c76cf0e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allow an application to register an error event handler.  <a href="#a910e9acbec9c8bbd4ff3fdb92c76cf0e">More...</a><br/></td></tr>
<tr class="separator:a910e9acbec9c8bbd4ff3fdb92c76cf0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa597ea87071e1a0aa1288567e4bfd6d7"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#aa597ea87071e1a0aa1288567e4bfd6d7">setFeature</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const name, const bool value)=0</td></tr>
<tr class="memdesc:aa597ea87071e1a0aa1288567e4bfd6d7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the state of any feature in a SAX2 XMLReader.  <a href="#aa597ea87071e1a0aa1288567e4bfd6d7">More...</a><br/></td></tr>
<tr class="separator:aa597ea87071e1a0aa1288567e4bfd6d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02a51d39bbb1241cef2f6dab1ec56947"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#a02a51d39bbb1241cef2f6dab1ec56947">setProperty</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const name, void *value)=0</td></tr>
<tr class="memdesc:a02a51d39bbb1241cef2f6dab1ec56947"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the value of any property in a SAX2 XMLReader.  <a href="#a02a51d39bbb1241cef2f6dab1ec56947">More...</a><br/></td></tr>
<tr class="separator:a02a51d39bbb1241cef2f6dab1ec56947"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a284811d3b9785e0898093638ab17662d"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#a284811d3b9785e0898093638ab17662d">parse</a> (const <a class="el" href="classInputSource.html">InputSource</a> &amp;source)=0</td></tr>
<tr class="memdesc:a284811d3b9785e0898093638ab17662d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse an XML document.  <a href="#a284811d3b9785e0898093638ab17662d">More...</a><br/></td></tr>
<tr class="separator:a284811d3b9785e0898093638ab17662d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afaa08affc814631f5a6059e9611b84e3"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#afaa08affc814631f5a6059e9611b84e3">parse</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const systemId)=0</td></tr>
<tr class="memdesc:afaa08affc814631f5a6059e9611b84e3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse an XML document from a system identifier (URI).  <a href="#afaa08affc814631f5a6059e9611b84e3">More...</a><br/></td></tr>
<tr class="separator:afaa08affc814631f5a6059e9611b84e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab063964b062ebbb98a74347354877f45"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#ab063964b062ebbb98a74347354877f45">parse</a> (const char *const systemId)=0</td></tr>
<tr class="memdesc:ab063964b062ebbb98a74347354877f45"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse an XML document from a system identifier (URI).  <a href="#ab063964b062ebbb98a74347354877f45">More...</a><br/></td></tr>
<tr class="separator:ab063964b062ebbb98a74347354877f45"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">SAX 2.0-ext</div></td></tr>
<tr class="memitem:a8f814c6f2a2b1750ea6672de7c2392cd"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classDeclHandler.html">DeclHandler</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#a8f814c6f2a2b1750ea6672de7c2392cd">getDeclarationHandler</a> () const =0</td></tr>
<tr class="memdesc:a8f814c6f2a2b1750ea6672de7c2392cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method returns the installed declaration handler.  <a href="#a8f814c6f2a2b1750ea6672de7c2392cd">More...</a><br/></td></tr>
<tr class="separator:a8f814c6f2a2b1750ea6672de7c2392cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2279a6a050eef26c67ba11620044a0ec"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classLexicalHandler.html">LexicalHandler</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#a2279a6a050eef26c67ba11620044a0ec">getLexicalHandler</a> () const =0</td></tr>
<tr class="memdesc:a2279a6a050eef26c67ba11620044a0ec"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method returns the installed lexical handler.  <a href="#a2279a6a050eef26c67ba11620044a0ec">More...</a><br/></td></tr>
<tr class="separator:a2279a6a050eef26c67ba11620044a0ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60b5233e334c78920a8361cec2a81429"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#a60b5233e334c78920a8361cec2a81429">setDeclarationHandler</a> (<a class="el" href="classDeclHandler.html">DeclHandler</a> *const handler)=0</td></tr>
<tr class="memdesc:a60b5233e334c78920a8361cec2a81429"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allow an application to register a declaration event handler.  <a href="#a60b5233e334c78920a8361cec2a81429">More...</a><br/></td></tr>
<tr class="separator:a60b5233e334c78920a8361cec2a81429"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a397fd37a21987186c6e4e63211f5d118"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#a397fd37a21987186c6e4e63211f5d118">setLexicalHandler</a> (<a class="el" href="classLexicalHandler.html">LexicalHandler</a> *const handler)=0</td></tr>
<tr class="memdesc:a397fd37a21987186c6e4e63211f5d118"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allow an application to register a lexical event handler.  <a href="#a397fd37a21987186c6e4e63211f5d118">More...</a><br/></td></tr>
<tr class="separator:a397fd37a21987186c6e4e63211f5d118"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Getter Methods (Xerces-C specific)</div></td></tr>
<tr class="memitem:aa9fd92dd2a348d0884c2ec8156c755db"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classXMLValidator.html">XMLValidator</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#aa9fd92dd2a348d0884c2ec8156c755db">getValidator</a> () const =0</td></tr>
<tr class="memdesc:aa9fd92dd2a348d0884c2ec8156c755db"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method is used to get the current validator.  <a href="#aa9fd92dd2a348d0884c2ec8156c755db">More...</a><br/></td></tr>
<tr class="separator:aa9fd92dd2a348d0884c2ec8156c755db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac3468fe6688375acbf104b04324b7d1"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#aac3468fe6688375acbf104b04324b7d1">getErrorCount</a> () const =0</td></tr>
<tr class="memdesc:aac3468fe6688375acbf104b04324b7d1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get error count from the last parse operation.  <a href="#aac3468fe6688375acbf104b04324b7d1">More...</a><br/></td></tr>
<tr class="separator:aac3468fe6688375acbf104b04324b7d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a693dae9983a6d951c1fb36f0a9eab111"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#a693dae9983a6d951c1fb36f0a9eab111">getExitOnFirstFatalError</a> () const =0</td></tr>
<tr class="memdesc:a693dae9983a6d951c1fb36f0a9eab111"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method returns the state of the parser's exit-on-First-Fatal-Error flag.  <a href="#a693dae9983a6d951c1fb36f0a9eab111">More...</a><br/></td></tr>
<tr class="separator:a693dae9983a6d951c1fb36f0a9eab111"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2d257d62e2b044095409d84181c6424"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#af2d257d62e2b044095409d84181c6424">getValidationConstraintFatal</a> () const =0</td></tr>
<tr class="memdesc:af2d257d62e2b044095409d84181c6424"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method returns the state of the parser's validation-constraint-fatal flag.  <a href="#af2d257d62e2b044095409d84181c6424">More...</a><br/></td></tr>
<tr class="separator:af2d257d62e2b044095409d84181c6424"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aedc75b118c38b2beb51cb074f25c04b5"><td class="memItemLeft" align="right" valign="top">virtual Grammar *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#aedc75b118c38b2beb51cb074f25c04b5">getGrammar</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const nameSpaceKey)=0</td></tr>
<tr class="memdesc:aedc75b118c38b2beb51cb074f25c04b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the grammar that is associated with the specified namespace key.  <a href="#aedc75b118c38b2beb51cb074f25c04b5">More...</a><br/></td></tr>
<tr class="separator:aedc75b118c38b2beb51cb074f25c04b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa294a6a334a9bfd2b5ec048419875f5f"><td class="memItemLeft" align="right" valign="top">virtual Grammar *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#aa294a6a334a9bfd2b5ec048419875f5f">getRootGrammar</a> ()=0</td></tr>
<tr class="memdesc:aa294a6a334a9bfd2b5ec048419875f5f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the grammar where the root element is declared.  <a href="#aa294a6a334a9bfd2b5ec048419875f5f">More...</a><br/></td></tr>
<tr class="separator:aa294a6a334a9bfd2b5ec048419875f5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af20b4b419f902f2fc46bb2d7043077da"><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#af20b4b419f902f2fc46bb2d7043077da">getURIText</a> (unsigned int uriId) const =0</td></tr>
<tr class="memdesc:af20b4b419f902f2fc46bb2d7043077da"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the string corresponding to a URI id from the URI string pool.  <a href="#af20b4b419f902f2fc46bb2d7043077da">More...</a><br/></td></tr>
<tr class="separator:af20b4b419f902f2fc46bb2d7043077da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a41aaef48a24fe4d1fcca07c98cd9acc2"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a7647261a546ac47bda863a51d24ad898">XMLFilePos</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#a41aaef48a24fe4d1fcca07c98cd9acc2">getSrcOffset</a> () const =0</td></tr>
<tr class="memdesc:a41aaef48a24fe4d1fcca07c98cd9acc2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the current src offset within the input source.  <a href="#a41aaef48a24fe4d1fcca07c98cd9acc2">More...</a><br/></td></tr>
<tr class="separator:a41aaef48a24fe4d1fcca07c98cd9acc2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Setter Methods (Xerces-C specific)</div></td></tr>
<tr class="memitem:a2ee07410cc0f6488eeada730471990ae"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#a2ee07410cc0f6488eeada730471990ae">setValidator</a> (<a class="el" href="classXMLValidator.html">XMLValidator</a> *valueToAdopt)=0</td></tr>
<tr class="memdesc:a2ee07410cc0f6488eeada730471990ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method is used to set a validator.  <a href="#a2ee07410cc0f6488eeada730471990ae">More...</a><br/></td></tr>
<tr class="separator:a2ee07410cc0f6488eeada730471990ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aceaca940ae26cc40234074f338632872"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#aceaca940ae26cc40234074f338632872">setExitOnFirstFatalError</a> (const bool newState)=0</td></tr>
<tr class="memdesc:aceaca940ae26cc40234074f338632872"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method allows users to set the parser's behaviour when it encounters the first fatal error.  <a href="#aceaca940ae26cc40234074f338632872">More...</a><br/></td></tr>
<tr class="separator:aceaca940ae26cc40234074f338632872"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e582e31531c645181c220c9ccbbe904"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#a1e582e31531c645181c220c9ccbbe904">setValidationConstraintFatal</a> (const bool newState)=0</td></tr>
<tr class="memdesc:a1e582e31531c645181c220c9ccbbe904"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method allows users to set the parser's behaviour when it encounters a validation constraint error.  <a href="#a1e582e31531c645181c220c9ccbbe904">More...</a><br/></td></tr>
<tr class="separator:a1e582e31531c645181c220c9ccbbe904"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Progressive scan methods</div></td></tr>
<tr class="memitem:ae3be1a347fa03c6f6c08d6298702905c"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#ae3be1a347fa03c6f6c08d6298702905c">parseFirst</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const systemId, XMLPScanToken &amp;toFill)=0</td></tr>
<tr class="memdesc:ae3be1a347fa03c6f6c08d6298702905c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Begin a progressive parse operation.  <a href="#ae3be1a347fa03c6f6c08d6298702905c">More...</a><br/></td></tr>
<tr class="separator:ae3be1a347fa03c6f6c08d6298702905c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad62c959271689d53d14fc772350ba41"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#aad62c959271689d53d14fc772350ba41">parseFirst</a> (const char *const systemId, XMLPScanToken &amp;toFill)=0</td></tr>
<tr class="memdesc:aad62c959271689d53d14fc772350ba41"><td class="mdescLeft">&#160;</td><td class="mdescRight">Begin a progressive parse operation.  <a href="#aad62c959271689d53d14fc772350ba41">More...</a><br/></td></tr>
<tr class="separator:aad62c959271689d53d14fc772350ba41"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3bd9b161c22c87564697edc56560c38"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#ab3bd9b161c22c87564697edc56560c38">parseFirst</a> (const <a class="el" href="classInputSource.html">InputSource</a> &amp;source, XMLPScanToken &amp;toFill)=0</td></tr>
<tr class="memdesc:ab3bd9b161c22c87564697edc56560c38"><td class="mdescLeft">&#160;</td><td class="mdescRight">Begin a progressive parse operation.  <a href="#ab3bd9b161c22c87564697edc56560c38">More...</a><br/></td></tr>
<tr class="separator:ab3bd9b161c22c87564697edc56560c38"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5369c76d498e87fdb24c36fc4100fb0"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#af5369c76d498e87fdb24c36fc4100fb0">parseNext</a> (XMLPScanToken &amp;token)=0</td></tr>
<tr class="memdesc:af5369c76d498e87fdb24c36fc4100fb0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Continue a progressive parse operation.  <a href="#af5369c76d498e87fdb24c36fc4100fb0">More...</a><br/></td></tr>
<tr class="separator:af5369c76d498e87fdb24c36fc4100fb0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58e67a11484763eb0eb705d4cfc3cbf5"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#a58e67a11484763eb0eb705d4cfc3cbf5">parseReset</a> (XMLPScanToken &amp;token)=0</td></tr>
<tr class="memdesc:a58e67a11484763eb0eb705d4cfc3cbf5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset the parser after a progressive parse.  <a href="#a58e67a11484763eb0eb705d4cfc3cbf5">More...</a><br/></td></tr>
<tr class="separator:a58e67a11484763eb0eb705d4cfc3cbf5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Grammar preparsing interface's.</div></td></tr>
<tr class="memitem:a3c8fab9b934a8d13e970244c6e1392be"><td class="memItemLeft" align="right" valign="top">virtual Grammar *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#a3c8fab9b934a8d13e970244c6e1392be">loadGrammar</a> (const <a class="el" href="classInputSource.html">InputSource</a> &amp;source, const Grammar::GrammarType grammarType, const bool toCache=false)=0</td></tr>
<tr class="memdesc:a3c8fab9b934a8d13e970244c6e1392be"><td class="mdescLeft">&#160;</td><td class="mdescRight">Preparse schema grammar (XML Schema, DTD, etc.) via an input source object.  <a href="#a3c8fab9b934a8d13e970244c6e1392be">More...</a><br/></td></tr>
<tr class="separator:a3c8fab9b934a8d13e970244c6e1392be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad3afe06b9aea85b62b205f63c3ff2a29"><td class="memItemLeft" align="right" valign="top">virtual Grammar *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#ad3afe06b9aea85b62b205f63c3ff2a29">loadGrammar</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const systemId, const Grammar::GrammarType grammarType, const bool toCache=false)=0</td></tr>
<tr class="memdesc:ad3afe06b9aea85b62b205f63c3ff2a29"><td class="mdescLeft">&#160;</td><td class="mdescRight">Preparse schema grammar (XML Schema, DTD, etc.) via a file path or URL.  <a href="#ad3afe06b9aea85b62b205f63c3ff2a29">More...</a><br/></td></tr>
<tr class="separator:ad3afe06b9aea85b62b205f63c3ff2a29"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a026f2f7f663f705f6bf56e6934d70416"><td class="memItemLeft" align="right" valign="top">virtual Grammar *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#a026f2f7f663f705f6bf56e6934d70416">loadGrammar</a> (const char *const systemId, const Grammar::GrammarType grammarType, const bool toCache=false)=0</td></tr>
<tr class="memdesc:a026f2f7f663f705f6bf56e6934d70416"><td class="mdescLeft">&#160;</td><td class="mdescRight">Preparse schema grammar (XML Schema, DTD, etc.) via a file path or URL.  <a href="#a026f2f7f663f705f6bf56e6934d70416">More...</a><br/></td></tr>
<tr class="separator:a026f2f7f663f705f6bf56e6934d70416"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ade5e379ef8233584695786d5851714"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#a8ade5e379ef8233584695786d5851714">resetCachedGrammarPool</a> ()=0</td></tr>
<tr class="memdesc:a8ade5e379ef8233584695786d5851714"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clear the cached grammar pool.  <a href="#a8ade5e379ef8233584695786d5851714">More...</a><br/></td></tr>
<tr class="separator:a8ade5e379ef8233584695786d5851714"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a84fd7af67ec7e2c593f6244c89eba39c"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#a84fd7af67ec7e2c593f6244c89eba39c">setInputBufferSize</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> bufferSize)</td></tr>
<tr class="memdesc:a84fd7af67ec7e2c593f6244c89eba39c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set maximum input buffer size.  <a href="#a84fd7af67ec7e2c593f6244c89eba39c">More...</a><br/></td></tr>
<tr class="separator:a84fd7af67ec7e2c593f6244c89eba39c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Advanced document handler list maintenance methods</div></td></tr>
<tr class="memitem:a5235f668aea5d4a799258338d01d7636"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#a5235f668aea5d4a799258338d01d7636">installAdvDocHandler</a> (<a class="el" href="classXMLDocumentHandler.html">XMLDocumentHandler</a> *const toInstall)=0</td></tr>
<tr class="memdesc:a5235f668aea5d4a799258338d01d7636"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method installs the specified 'advanced' document callback handler, thereby allowing the user to customize the processing, if they choose to do so.  <a href="#a5235f668aea5d4a799258338d01d7636">More...</a><br/></td></tr>
<tr class="separator:a5235f668aea5d4a799258338d01d7636"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46885254749d80ef2dfb19ad8d48e1e0"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#a46885254749d80ef2dfb19ad8d48e1e0">removeAdvDocHandler</a> (<a class="el" href="classXMLDocumentHandler.html">XMLDocumentHandler</a> *const toRemove)=0</td></tr>
<tr class="memdesc:a46885254749d80ef2dfb19ad8d48e1e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method removes the 'advanced' document handler callback from the underlying parser scanner.  <a href="#a46885254749d80ef2dfb19ad8d48e1e0">More...</a><br/></td></tr>
<tr class="separator:a46885254749d80ef2dfb19ad8d48e1e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Enumeration Documentation</h2>
<a class="anchor" id="ad6be26566ce8e2f65b95849247d10853"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classSAX2XMLReader.html#ad6be26566ce8e2f65b95849247d10853">SAX2XMLReader::ValSchemes</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ValScheme enum used in setValidationScheme Val_Never: Do not report validation errors. </p>
<p>Val_Always: The parser will always report validation errors. Val_Auto: The parser will report validation errors only if a grammar is specified.</p>
<p>The schemes map to these feature values: Val_Never: parser-&gt;setFeature(XMLUni::fgSAX2CoreValidation, false);</p>
<p>Val_Always: parser-&gt;setFeature(XMLUni::fgSAX2CoreValidation, true); parser-&gt;setFeature(XMLUni::fgXercesDynamic, false);</p>
<p>Val_Auto: parser-&gt;setFeature(XMLUni::fgSAX2CoreValidation, true); parser-&gt;setFeature(XMLUni::fgXercesDynamic, true);</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classSAX2XMLReader.html#aa597ea87071e1a0aa1288567e4bfd6d7" title="Set the state of any feature in a SAX2 XMLReader. ">setFeature</a> </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="ad6be26566ce8e2f65b95849247d10853a7b5317560a7f1130511148b7750d6244"></a>Val_Never</em>&nbsp;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ad6be26566ce8e2f65b95849247d10853a95ad9c6bc78a2ce7fa2a8db410b1dc39"></a>Val_Always</em>&nbsp;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ad6be26566ce8e2f65b95849247d10853a57143e99019f8302ea26965e26ce7cb0"></a>Val_Auto</em>&nbsp;</td><td class="fielddoc">
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="afaad9a21efa3e2626e80a7045c3a39b1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SAX2XMLReader::SAX2XMLReader </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The default constructor. </p>

</div>
</div>
<a class="anchor" id="a65eac731ad3537122d86bf5826fe8047"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual SAX2XMLReader::~SAX2XMLReader </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>The destructor. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a9fda35bb540194c1a8a5a4a95c0bcdb7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classContentHandler.html">ContentHandler</a>* SAX2XMLReader::getContentHandler </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This method returns the installed content handler. </p>
<dl class="section return"><dt>Returns</dt><dd>A pointer to the installed content handler object. </dd></dl>

</div>
</div>
<a class="anchor" id="a8f814c6f2a2b1750ea6672de7c2392cd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classDeclHandler.html">DeclHandler</a>* SAX2XMLReader::getDeclarationHandler </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This method returns the installed declaration handler. </p>
<dl class="section return"><dt>Returns</dt><dd>A pointer to the installed declaration handler object. </dd></dl>

</div>
</div>
<a class="anchor" id="a89f6ad6b94dce1d82f86d88084cafeaf"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classDTDHandler.html">DTDHandler</a>* SAX2XMLReader::getDTDHandler </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This method returns the installed DTD handler. </p>
<dl class="section return"><dt>Returns</dt><dd>A pointer to the installed DTD handler object. </dd></dl>

</div>
</div>
<a class="anchor" id="aef939a6a68ded3d000f8ecbd80cc5089"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classEntityResolver.html">EntityResolver</a>* SAX2XMLReader::getEntityResolver </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This method returns the installed entity resolver. </p>
<dl class="section return"><dt>Returns</dt><dd>A pointer to the installed entity resolver object. </dd></dl>

</div>
</div>
<a class="anchor" id="aac3468fe6688375acbf104b04324b7d1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> SAX2XMLReader::getErrorCount </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get error count from the last parse operation. </p>
<p>This method returns the error count from the last parse operation. Note that this count is actually stored in the scanner, so this method simply returns what the scanner reports.</p>
<dl class="section return"><dt>Returns</dt><dd>number of errors encountered during the latest parse operation. </dd></dl>

</div>
</div>
<a class="anchor" id="a96bb93cd1b62dd75068325cbcdfbb581"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classErrorHandler.html">ErrorHandler</a>* SAX2XMLReader::getErrorHandler </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This method returns the installed error handler. </p>
<dl class="section return"><dt>Returns</dt><dd>A pointer to the installed error handler object. </dd></dl>

</div>
</div>
<a class="anchor" id="a693dae9983a6d951c1fb36f0a9eab111"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool SAX2XMLReader::getExitOnFirstFatalError </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This method returns the state of the parser's exit-on-First-Fatal-Error flag. </p>
<p>Or you can query the feature "http://apache.org/xml/features/continue-after-fatal-error" which indicates the opposite state.</p>
<dl class="section return"><dt>Returns</dt><dd>true, if the parser is currently configured to exit on the first fatal error, false otherwise.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classSAX2XMLReader.html#aceaca940ae26cc40234074f338632872" title="This method allows users to set the parser&#39;s behaviour when it encounters the first fatal error...">setExitOnFirstFatalError</a> </dd>
<dd>
<a class="el" href="classSAX2XMLReader.html#a6a704107fbb8c3552589236e959238be" title="Query the current state of any feature in a SAX2 XMLReader. ">getFeature</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a6a704107fbb8c3552589236e959238be"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool SAX2XMLReader::getFeature </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Query the current state of any feature in a SAX2 XMLReader. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>The unique identifier (URI) of the feature being set. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The current state of the feature. </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classSAXNotRecognizedException.html">SAXNotRecognizedException</a></td><td>If the requested feature is not known. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aedc75b118c38b2beb51cb074f25c04b5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual Grammar* SAX2XMLReader::getGrammar </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
          <td class="paramname"><em>nameSpaceKey</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Retrieve the grammar that is associated with the specified namespace key. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">nameSpaceKey</td><td>Namespace key </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Grammar associated with the Namespace key. </dd></dl>

</div>
</div>
<a class="anchor" id="a2279a6a050eef26c67ba11620044a0ec"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classLexicalHandler.html">LexicalHandler</a>* SAX2XMLReader::getLexicalHandler </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This method returns the installed lexical handler. </p>
<dl class="section return"><dt>Returns</dt><dd>A pointer to the installed lexical handler object. </dd></dl>

</div>
</div>
<a class="anchor" id="a909627968ffa64bb14e673d5e2caf6f7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void* SAX2XMLReader::getProperty </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Query the current value of a property in a SAX2 XMLReader. </p>
<p>The parser owns the returned pointer. The memory allocated for the returned pointer will be destroyed when the parser is deleted.</p>
<p>To ensure accessibility of the returned information after the parser is deleted, callers need to copy and store the returned information somewhere else; otherwise you may get unexpected result. Since the returned pointer is a generic void pointer, see the SAX2 Programming Guide to learn exactly what type of property value each property returns for replication.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>The unique identifier (URI) of the property being set. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The current value of the property. The pointer spans the same life-time as the parser. A null pointer is returned if nothing was specified externally. </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classSAXNotRecognizedException.html">SAXNotRecognizedException</a></td><td>If the requested property is not known. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aa294a6a334a9bfd2b5ec048419875f5f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual Grammar* SAX2XMLReader::getRootGrammar </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Retrieve the grammar where the root element is declared. </p>
<dl class="section return"><dt>Returns</dt><dd>Grammar where root element declared </dd></dl>

</div>
</div>
<a class="anchor" id="a41aaef48a24fe4d1fcca07c98cd9acc2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a7647261a546ac47bda863a51d24ad898">XMLFilePos</a> SAX2XMLReader::getSrcOffset </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the current src offset within the input source. </p>
<p>To be used only while parsing is in progress.</p>
<dl class="section return"><dt>Returns</dt><dd>offset within the input source </dd></dl>

</div>
</div>
<a class="anchor" id="af20b4b419f902f2fc46bb2d7043077da"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* SAX2XMLReader::getURIText </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>uriId</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the string corresponding to a URI id from the URI string pool. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">uriId</td><td>id of the string in the URI string pool. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>URI string corresponding to the URI id. </dd></dl>

</div>
</div>
<a class="anchor" id="af2d257d62e2b044095409d84181c6424"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool SAX2XMLReader::getValidationConstraintFatal </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This method returns the state of the parser's validation-constraint-fatal flag. </p>
<p>Or you can query the feature "http://apache.org/xml/features/validation-error-as-fatal" which means the same thing.</p>
<dl class="section return"><dt>Returns</dt><dd>true, if the parser is currently configured to set validation constraint errors as fatal, false otherwise.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classSAX2XMLReader.html#a1e582e31531c645181c220c9ccbbe904" title="This method allows users to set the parser&#39;s behaviour when it encounters a validation constraint err...">setValidationConstraintFatal</a> </dd>
<dd>
<a class="el" href="classSAX2XMLReader.html#a6a704107fbb8c3552589236e959238be" title="Query the current state of any feature in a SAX2 XMLReader. ">getFeature</a> </dd></dl>

</div>
</div>
<a class="anchor" id="aa9fd92dd2a348d0884c2ec8156c755db"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classXMLValidator.html">XMLValidator</a>* SAX2XMLReader::getValidator </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This method is used to get the current validator. </p>
<p><b><a class="el" href="classSAX2XMLReader.html">SAX2XMLReader</a> assumes responsibility for the validator. It will be deleted when the XMLReader is destroyed.</b></p>
<dl class="section return"><dt>Returns</dt><dd>A pointer to the validator. An application should not deleted the object returned. </dd></dl>

</div>
</div>
<a class="anchor" id="a5235f668aea5d4a799258338d01d7636"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SAX2XMLReader::installAdvDocHandler </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classXMLDocumentHandler.html">XMLDocumentHandler</a> *const&#160;</td>
          <td class="paramname"><em>toInstall</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This method installs the specified 'advanced' document callback handler, thereby allowing the user to customize the processing, if they choose to do so. </p>
<p>Any number of advanced callback handlers maybe installed.</p>
<p>The methods in the advanced callback interface represent Xerces-C extensions. There is no specification for this interface.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">toInstall</td><td>A pointer to the users advanced callback handler.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classSAX2XMLReader.html#a46885254749d80ef2dfb19ad8d48e1e0" title="This method removes the &#39;advanced&#39; document handler callback from the underlying parser scanner...">removeAdvDocHandler</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a3c8fab9b934a8d13e970244c6e1392be"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual Grammar* SAX2XMLReader::loadGrammar </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classInputSource.html">InputSource</a> &amp;&#160;</td>
          <td class="paramname"><em>source</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Grammar::GrammarType&#160;</td>
          <td class="paramname"><em>grammarType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>toCache</em> = <code>false</code>&#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">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Preparse schema grammar (XML Schema, DTD, etc.) via an input source object. </p>
<p>This method invokes the preparsing process on a schema grammar XML file specified by the SAX <a class="el" href="classInputSource.html" title="A single input source for an XML entity. ">InputSource</a> parameter. If the 'toCache' flag is enabled, the parser will cache the grammars for re-use. If a grammar key is found in the pool, no caching of any grammar will take place.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">source</td><td>A const reference to the SAX <a class="el" href="classInputSource.html" title="A single input source for an XML entity. ">InputSource</a> object which points to the schema grammar file to be preparsed. </td></tr>
    <tr><td class="paramname">grammarType</td><td>The grammar type (Schema or DTD). </td></tr>
    <tr><td class="paramname">toCache</td><td>If <code>true</code>, we cache the preparsed grammar, otherwise, no caching. Default is <code>false</code>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The preparsed schema grammar object (SchemaGrammar or DTDGrammar). That grammar object is owned by the parser.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classSAXException.html" title="Encapsulate a general SAX error or warning. ">SAXException</a></td><td>Any SAX exception, possibly wrapping another exception. </td></tr>
    <tr><td class="paramname"><a class="el" href="classXMLException.html">XMLException</a></td><td>An exception from the parser or client handler code. </td></tr>
    <tr><td class="paramname"><a class="el" href="classDOMException.html">DOMException</a></td><td>A DOM exception as per DOM spec.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classInputSource.html#a601a7aa7124e2d8e9664eda9aea6b622" title="Default constructor. ">InputSource::InputSource</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ad3afe06b9aea85b62b205f63c3ff2a29"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual Grammar* SAX2XMLReader::loadGrammar </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
          <td class="paramname"><em>systemId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Grammar::GrammarType&#160;</td>
          <td class="paramname"><em>grammarType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>toCache</em> = <code>false</code>&#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">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Preparse schema grammar (XML Schema, DTD, etc.) via a file path or URL. </p>
<p>This method invokes the preparsing process on a schema grammar XML file specified by the file path parameter. If the 'toCache' flag is enabled, the parser will cache the grammars for re-use. If a grammar key is found in the pool, no caching of any grammar will take place.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">systemId</td><td>A const XMLCh pointer to the Unicode string which contains the path to the XML grammar file to be preparsed. </td></tr>
    <tr><td class="paramname">grammarType</td><td>The grammar type (Schema or DTD). </td></tr>
    <tr><td class="paramname">toCache</td><td>If <code>true</code>, we cache the preparsed grammar, otherwise, no caching. Default is <code>false</code>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The preparsed schema grammar object (SchemaGrammar or DTDGrammar). That grammar object is owned by the parser.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classSAXException.html" title="Encapsulate a general SAX error or warning. ">SAXException</a></td><td>Any SAX exception, possibly wrapping another exception. </td></tr>
    <tr><td class="paramname"><a class="el" href="classXMLException.html">XMLException</a></td><td>An exception from the parser or client handler code. </td></tr>
    <tr><td class="paramname"><a class="el" href="classDOMException.html">DOMException</a></td><td>A DOM exception as per DOM spec. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a026f2f7f663f705f6bf56e6934d70416"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual Grammar* SAX2XMLReader::loadGrammar </td>
          <td>(</td>
          <td class="paramtype">const char *const&#160;</td>
          <td class="paramname"><em>systemId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Grammar::GrammarType&#160;</td>
          <td class="paramname"><em>grammarType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>toCache</em> = <code>false</code>&#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">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Preparse schema grammar (XML Schema, DTD, etc.) via a file path or URL. </p>
<p>This method invokes the preparsing process on a schema grammar XML file specified by the file path parameter. If the 'toCache' flag is enabled, the parser will cache the grammars for re-use. If a grammar key is found in the pool, no caching of any grammar will take place.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">systemId</td><td>A const char pointer to a native string which contains the path to the XML grammar file to be preparsed. </td></tr>
    <tr><td class="paramname">grammarType</td><td>The grammar type (Schema or DTD). </td></tr>
    <tr><td class="paramname">toCache</td><td>If <code>true</code>, we cache the preparsed grammar, otherwise, no caching. Default is <code>false</code>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The preparsed schema grammar object (SchemaGrammar or DTDGrammar). That grammar object is owned by the parser.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classSAXException.html" title="Encapsulate a general SAX error or warning. ">SAXException</a></td><td>Any SAX exception, possibly wrapping another exception. </td></tr>
    <tr><td class="paramname"><a class="el" href="classXMLException.html">XMLException</a></td><td>An exception from the parser or client handler code. </td></tr>
    <tr><td class="paramname"><a class="el" href="classDOMException.html">DOMException</a></td><td>A DOM exception as per DOM spec. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a284811d3b9785e0898093638ab17662d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SAX2XMLReader::parse </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classInputSource.html">InputSource</a> &amp;&#160;</td>
          <td class="paramname"><em>source</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Parse an XML document. </p>
<p>The application can use this method to instruct the SAX parser to begin parsing an XML document from any valid input source (a character stream, a byte stream, or a URI).</p>
<p>Applications may not invoke this method while a parse is in progress (they should create a new <a class="el" href="classParser.html" title="Basic interface for SAX (Simple API for XML) parsers. ">Parser</a> instead for each additional XML document). Once a parse is complete, an application may reuse the same <a class="el" href="classParser.html" title="Basic interface for SAX (Simple API for XML) parsers. ">Parser</a> object, possibly with a different input source.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">source</td><td>The input source for the top-level 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="classSAXException.html" title="Encapsulate a general SAX error or warning. ">SAXException</a></td><td>Any SAX exception, possibly wrapping another exception. </td></tr>
    <tr><td class="paramname"><a class="el" href="classXMLException.html">XMLException</a></td><td>An exception from the parser or client handler code. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classInputSource.html#a601a7aa7124e2d8e9664eda9aea6b622" title="Default constructor. ">InputSource::InputSource</a> </dd>
<dd>
<a class="el" href="classSAX2XMLReader.html#ab4621486a9776d480ec10e596a4d66a6" title="Allow an application to register a custom entity resolver. ">setEntityResolver</a> </dd>
<dd>
<a class="el" href="classSAX2XMLReader.html#ab862874149da5e744a04f1bc6de60ff4" title="Allow an application to register a DTD event handler. ">setDTDHandler</a> </dd>
<dd>
<a class="el" href="classSAX2XMLReader.html#aa1885becac34443e9648ccaeeed733f5" title="Allow an application to register a document event handler. ">setContentHandler</a> </dd>
<dd>
<a class="el" href="classSAX2XMLReader.html#a910e9acbec9c8bbd4ff3fdb92c76cf0e" title="Allow an application to register an error event handler. ">setErrorHandler</a> </dd></dl>

</div>
</div>
<a class="anchor" id="afaa08affc814631f5a6059e9611b84e3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SAX2XMLReader::parse </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
          <td class="paramname"><em>systemId</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Parse an XML document from a system identifier (URI). </p>
<p>This method is a shortcut for the common case of reading a document from a system identifier. It is the exact equivalent of the following:</p>
<p>parse(new <a class="el" href="classURLInputSource.html" title="This class is a derivative of the standard InputSource class. ">URLInputSource(systemId)</a>);</p>
<p>If the system identifier is a URL, it must be fully resolved by the application before it is passed to the parser.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">systemId</td><td>The system identifier (URI). </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classSAXException.html" title="Encapsulate a general SAX error or warning. ">SAXException</a></td><td>Any SAX exception, possibly wrapping another exception. </td></tr>
    <tr><td class="paramname"><a class="el" href="classXMLException.html">XMLException</a></td><td>An exception from the parser or client handler code. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classSAX2XMLReader.html#a284811d3b9785e0898093638ab17662d" title="Parse an XML document. ">parse(const InputSource&amp;)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ab063964b062ebbb98a74347354877f45"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SAX2XMLReader::parse </td>
          <td>(</td>
          <td class="paramtype">const char *const&#160;</td>
          <td class="paramname"><em>systemId</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Parse an XML document from a system identifier (URI). </p>
<p>This method is a shortcut for the common case of reading a document from a system identifier. It is the exact equivalent of the following:</p>
<p>parse(new <a class="el" href="classURLInputSource.html" title="This class is a derivative of the standard InputSource class. ">URLInputSource(systemId)</a>);</p>
<p>If the system identifier is a URL, it must be fully resolved by the application before it is passed to the parser.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">systemId</td><td>The system identifier (URI). </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classSAXException.html" title="Encapsulate a general SAX error or warning. ">SAXException</a></td><td>Any SAX exception, possibly wrapping another exception. </td></tr>
    <tr><td class="paramname"><a class="el" href="classXMLException.html">XMLException</a></td><td>An exception from the parser or client handler code. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classSAX2XMLReader.html#a284811d3b9785e0898093638ab17662d" title="Parse an XML document. ">parse(const InputSource&amp;)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ae3be1a347fa03c6f6c08d6298702905c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool SAX2XMLReader::parseFirst </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
          <td class="paramname"><em>systemId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XMLPScanToken &amp;&#160;</td>
          <td class="paramname"><em>toFill</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">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Begin a progressive parse operation. </p>
<p>This method is used to start a progressive parse on a XML file. To continue parsing, subsequent calls must be to the parseNext method.</p>
<p>It scans through the prolog and returns a token to be used on subsequent scanNext() calls. If the return value is true, then the token is legal and ready for further use. If it returns false, then the scan of the prolog failed and the token is not going to work on subsequent scanNext() calls.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">systemId</td><td>A pointer to a Unicode string representing the path to the XML file to be parsed. </td></tr>
    <tr><td class="paramname">toFill</td><td>A token maintaing state information to maintain internal consistency between invocation of 'parseNext' calls.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>'true', if successful in parsing the prolog. It indicates the user can go ahead with parsing the rest of the file. It returns 'false' to indicate that the parser could parse the prolog (which means the token will not be valid.)</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classSAX2XMLReader.html#af5369c76d498e87fdb24c36fc4100fb0" title="Continue a progressive parse operation. ">parseNext</a> </dd>
<dd>
<a class="el" href="classSAX2XMLReader.html#ae3be1a347fa03c6f6c08d6298702905c" title="Begin a progressive parse operation. ">parseFirst</a>(char*,...) </dd>
<dd>
<a class="el" href="classSAX2XMLReader.html#ae3be1a347fa03c6f6c08d6298702905c" title="Begin a progressive parse operation. ">parseFirst</a>(<a class="el" href="classInputSource.html" title="A single input source for an XML entity. ">InputSource</a>&amp;,...) </dd></dl>

</div>
</div>
<a class="anchor" id="aad62c959271689d53d14fc772350ba41"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool SAX2XMLReader::parseFirst </td>
          <td>(</td>
          <td class="paramtype">const char *const&#160;</td>
          <td class="paramname"><em>systemId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XMLPScanToken &amp;&#160;</td>
          <td class="paramname"><em>toFill</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">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Begin a progressive parse operation. </p>
<p>This method is used to start a progressive parse on a XML file. To continue parsing, subsequent calls must be to the parseNext method.</p>
<p>It scans through the prolog and returns a token to be used on subsequent scanNext() calls. If the return value is true, then the token is legal and ready for further use. If it returns false, then the scan of the prolog failed and the token is not going to work on subsequent scanNext() calls.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">systemId</td><td>A pointer to a regular native string representing the path to the XML file to be parsed. </td></tr>
    <tr><td class="paramname">toFill</td><td>A token maintaing state information to maintain internal consistency between invocation of 'parseNext' calls.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>'true', if successful in parsing the prolog. It indicates the user can go ahead with parsing the rest of the file. It returns 'false' to indicate that the parser could not parse the prolog.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classSAX2XMLReader.html#af5369c76d498e87fdb24c36fc4100fb0" title="Continue a progressive parse operation. ">parseNext</a> </dd>
<dd>
<a class="el" href="classSAX2XMLReader.html#ae3be1a347fa03c6f6c08d6298702905c" title="Begin a progressive parse operation. ">parseFirst</a>(XMLCh*,...) </dd>
<dd>
<a class="el" href="classSAX2XMLReader.html#ae3be1a347fa03c6f6c08d6298702905c" title="Begin a progressive parse operation. ">parseFirst</a>(<a class="el" href="classInputSource.html" title="A single input source for an XML entity. ">InputSource</a>&amp;,...) </dd></dl>

</div>
</div>
<a class="anchor" id="ab3bd9b161c22c87564697edc56560c38"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool SAX2XMLReader::parseFirst </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classInputSource.html">InputSource</a> &amp;&#160;</td>
          <td class="paramname"><em>source</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XMLPScanToken &amp;&#160;</td>
          <td class="paramname"><em>toFill</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">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Begin a progressive parse operation. </p>
<p>This method is used to start a progressive parse on a XML file. To continue parsing, subsequent calls must be to the parseNext method.</p>
<p>It scans through the prolog and returns a token to be used on subsequent scanNext() calls. If the return value is true, then the token is legal and ready for further use. If it returns false, then the scan of the prolog failed and the token is not going to work on subsequent scanNext() calls.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">source</td><td>A const reference to the <a class="el" href="classInputSource.html" title="A single input source for an XML entity. ">InputSource</a> object which points to the XML file to be parsed. </td></tr>
    <tr><td class="paramname">toFill</td><td>A token maintaing state information to maintain internal consistency between invocation of 'parseNext' calls.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>'true', if successful in parsing the prolog. It indicates the user can go ahead with parsing the rest of the file. It returns 'false' to indicate that the parser could not parse the prolog.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classSAX2XMLReader.html#af5369c76d498e87fdb24c36fc4100fb0" title="Continue a progressive parse operation. ">parseNext</a> </dd>
<dd>
<a class="el" href="classSAX2XMLReader.html#ae3be1a347fa03c6f6c08d6298702905c" title="Begin a progressive parse operation. ">parseFirst</a>(XMLCh*,...) </dd>
<dd>
<a class="el" href="classSAX2XMLReader.html#ae3be1a347fa03c6f6c08d6298702905c" title="Begin a progressive parse operation. ">parseFirst</a>(char*,...) </dd></dl>

</div>
</div>
<a class="anchor" id="af5369c76d498e87fdb24c36fc4100fb0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool SAX2XMLReader::parseNext </td>
          <td>(</td>
          <td class="paramtype">XMLPScanToken &amp;&#160;</td>
          <td class="paramname"><em>token</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Continue a progressive parse operation. </p>
<p>This method is used to continue with progressive parsing of XML files started by a call to 'parseFirst' method.</p>
<p>It parses the XML file and stops as soon as it comes across a XML token (as defined in the XML specification). Relevant callback handlers are invoked as required by the SAX specification.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">token</td><td>A token maintaing state information to maintain internal consistency between invocation of 'parseNext' calls.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>'true', if successful in parsing the next XML token. It indicates the user can go ahead with parsing the rest of the file. It returns 'false' to indicate that the parser could not find next token as per the XML specification production rule.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classSAX2XMLReader.html#ae3be1a347fa03c6f6c08d6298702905c" title="Begin a progressive parse operation. ">parseFirst</a>(XMLCh*,...) </dd>
<dd>
<a class="el" href="classSAX2XMLReader.html#ae3be1a347fa03c6f6c08d6298702905c" title="Begin a progressive parse operation. ">parseFirst</a>(char*,...) </dd>
<dd>
<a class="el" href="classSAX2XMLReader.html#ae3be1a347fa03c6f6c08d6298702905c" title="Begin a progressive parse operation. ">parseFirst</a>(<a class="el" href="classInputSource.html" title="A single input source for an XML entity. ">InputSource</a>&amp;,...) </dd></dl>

</div>
</div>
<a class="anchor" id="a58e67a11484763eb0eb705d4cfc3cbf5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SAX2XMLReader::parseReset </td>
          <td>(</td>
          <td class="paramtype">XMLPScanToken &amp;&#160;</td>
          <td class="paramname"><em>token</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reset the parser after a progressive parse. </p>
<p>If a progressive parse loop exits before the end of the document is reached, the parser has no way of knowing this. So it will leave open any files or sockets or memory buffers that were in use at the time that the parse loop exited.</p>
<p>The next parse operation will cause these open files and such to be closed, but the next parse operation might occur at some unknown future point. To avoid this problem, you should reset the parser if you exit the loop early.</p>
<p>If you exited because of an error, then this cleanup will be done for you. Its only when you exit the file prematurely of your own accord, because you've found what you wanted in the file most likely.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">token</td><td>A token maintaing state information to maintain internal consistency between invocation of 'parseNext' calls. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a46885254749d80ef2dfb19ad8d48e1e0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool SAX2XMLReader::removeAdvDocHandler </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classXMLDocumentHandler.html">XMLDocumentHandler</a> *const&#160;</td>
          <td class="paramname"><em>toRemove</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This method removes the 'advanced' document handler callback from the underlying parser scanner. </p>
<p>If no handler is installed, advanced callbacks are not invoked by the scanner. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">toRemove</td><td>A pointer to the advanced callback handler which should be removed.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classSAX2XMLReader.html#a5235f668aea5d4a799258338d01d7636" title="This method installs the specified &#39;advanced&#39; document callback handler, thereby allowing the user to...">installAdvDocHandler</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a8ade5e379ef8233584695786d5851714"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SAX2XMLReader::resetCachedGrammarPool </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Clear the cached grammar pool. </p>

</div>
</div>
<a class="anchor" id="aa1885becac34443e9648ccaeeed733f5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SAX2XMLReader::setContentHandler </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classContentHandler.html">ContentHandler</a> *const&#160;</td>
          <td class="paramname"><em>handler</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Allow an application to register a document event handler. </p>
<p>If the application does not register a document handler, all document events reported by the SAX parser will be silently ignored (this is the default behaviour implemented by <a class="el" href="classHandlerBase.html" title="Default base class for handlers. ">HandlerBase</a>).</p>
<p>Applications may register a new or different handler in the middle of a parse, and the SAX parser must begin using the new handler immediately.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">handler</td><td>The document handler. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classContentHandler.html#a5e5673f802f184ce29cd2ffdd8f827e8" title="Default constructor. ">ContentHandler::ContentHandler</a> </dd>
<dd>
<a class="el" href="classHandlerBase.html#aa9bbcdb7958bace9296940ab702ef367">HandlerBase::HandlerBase</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a60b5233e334c78920a8361cec2a81429"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SAX2XMLReader::setDeclarationHandler </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classDeclHandler.html">DeclHandler</a> *const&#160;</td>
          <td class="paramname"><em>handler</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Allow an application to register a declaration event handler. </p>
<p>If the application does not register a declaration handler, all events reported by the SAX parser will be silently ignored. (this is the default behaviour implemented by <a class="el" href="classDefaultHandler.html" title="Default base class for SAX2 handlers. ">DefaultHandler</a>).</p>
<p>Applications may register a new or different handler in the middle of a parse, and the SAX parser must begin using the new handler immediately.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">handler</td><td>The DTD declaration handler. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classDeclHandler.html#a3155ea1a3555f906321735d78e330f05" title="Default constructor. ">DeclHandler::DeclHandler</a> </dd>
<dd>
<a class="el" href="classSAXException.html#ae1c8ab9b99e3c43572c1567e72c652e4" title="Default constructor. ">SAXException::SAXException</a> </dd>
<dd>
<a class="el" href="classDefaultHandler.html#ab3aff728663a1c0aa9a1c0ed517f6806">DefaultHandler::DefaultHandler</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ab862874149da5e744a04f1bc6de60ff4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SAX2XMLReader::setDTDHandler </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classDTDHandler.html">DTDHandler</a> *const&#160;</td>
          <td class="paramname"><em>handler</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Allow an application to register a DTD event handler. </p>
<p>If the application does not register a DTD handler, all DTD events reported by the SAX parser will be silently ignored (this is the default behaviour implemented by <a class="el" href="classHandlerBase.html" title="Default base class for handlers. ">HandlerBase</a>).</p>
<p>Applications may register a new or different handler in the middle of a parse, and the SAX parser must begin using the new handler immediately.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">handler</td><td>The DTD handler. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classDTDHandler.html#a1d17e15d976164f6d55f542759eea182" title="Default Constructor. ">DTDHandler::DTDHandler</a> </dd>
<dd>
<a class="el" href="classHandlerBase.html#aa9bbcdb7958bace9296940ab702ef367">HandlerBase::HandlerBase</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ab4621486a9776d480ec10e596a4d66a6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SAX2XMLReader::setEntityResolver </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classEntityResolver.html">EntityResolver</a> *const&#160;</td>
          <td class="paramname"><em>resolver</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Allow an application to register a custom entity resolver. </p>
<p>If the application does not register an entity resolver, the SAX parser will resolve system identifiers and open connections to entities itself (this is the default behaviour implemented in <a class="el" href="classDefaultHandler.html" title="Default base class for SAX2 handlers. ">DefaultHandler</a>).</p>
<p>Applications may register a new or different entity resolver in the middle of a parse, and the SAX parser must begin using the new resolver immediately.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">resolver</td><td>The object for resolving entities. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classEntityResolver.html#a14e534eb2170015056ccd71458e1058c" title="Default Constructor. ">EntityResolver::EntityResolver</a> </dd>
<dd>
<a class="el" href="classDefaultHandler.html#ab3aff728663a1c0aa9a1c0ed517f6806">DefaultHandler::DefaultHandler</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a910e9acbec9c8bbd4ff3fdb92c76cf0e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SAX2XMLReader::setErrorHandler </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classErrorHandler.html">ErrorHandler</a> *const&#160;</td>
          <td class="paramname"><em>handler</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Allow an application to register an error event handler. </p>
<p>If the application does not register an error event handler, all error events reported by the SAX parser will be silently ignored, except for fatalError, which will throw a <a class="el" href="classSAXException.html" title="Encapsulate a general SAX error or warning. ">SAXException</a> (this is the default behaviour implemented by <a class="el" href="classHandlerBase.html" title="Default base class for handlers. ">HandlerBase</a>).</p>
<p>Applications may register a new or different handler in the middle of a parse, and the SAX parser must begin using the new handler immediately.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">handler</td><td>The error handler. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classErrorHandler.html#a7e5f379bd231442b898cef94556b2107" title="Default constructor. ">ErrorHandler::ErrorHandler</a> </dd>
<dd>
<a class="el" href="classSAXException.html#ae1c8ab9b99e3c43572c1567e72c652e4" title="Default constructor. ">SAXException::SAXException</a> </dd>
<dd>
<a class="el" href="classHandlerBase.html#aa9bbcdb7958bace9296940ab702ef367">HandlerBase::HandlerBase</a> </dd></dl>

</div>
</div>
<a class="anchor" id="aceaca940ae26cc40234074f338632872"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SAX2XMLReader::setExitOnFirstFatalError </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>newState</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This method allows users to set the parser's behaviour when it encounters the first fatal error. </p>
<p>If set to true, the parser will exit at the first fatal error. If false, then it will report the error and continue processing.</p>
<p>The default value is 'true' and the parser exits on the first fatal error.</p>
<p>Or you can set the feature "http://apache.org/xml/features/continue-after-fatal-error" which has the opposite behaviour.</p>
<p>If both the feature above and this function are used, the latter takes effect.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">newState</td><td>The value specifying whether the parser should continue or exit when it encounters the first fatal error.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classSAX2XMLReader.html#a693dae9983a6d951c1fb36f0a9eab111" title="This method returns the state of the parser&#39;s exit-on-First-Fatal-Error flag. ">getExitOnFirstFatalError</a> </dd>
<dd>
<a class="el" href="classSAX2XMLReader.html#aa597ea87071e1a0aa1288567e4bfd6d7" title="Set the state of any feature in a SAX2 XMLReader. ">setFeature</a> </dd></dl>

</div>
</div>
<a class="anchor" id="aa597ea87071e1a0aa1288567e4bfd6d7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SAX2XMLReader::setFeature </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>value</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">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the state of any feature in a SAX2 XMLReader. </p>
<p>Supported features in SAX2 for xerces-c are: <br/>
(See the SAX2 Programming Guide for detail description).</p>
<p><br/>
<a href="http://xml.org/sax/features/validation">http://xml.org/sax/features/validation</a> (default: true) <br/>
<a href="http://xml.org/sax/features/namespaces">http://xml.org/sax/features/namespaces</a> (default: true) <br/>
<a href="http://xml.org/sax/features/namespace-prefixes">http://xml.org/sax/features/namespace-prefixes</a> (default: false) <br/>
<a href="http://apache.org/xml/features/validation/dynamic">http://apache.org/xml/features/validation/dynamic</a> (default: false) <br/>
<a href="http://apache.org/xml/features/validation/reuse-grammar">http://apache.org/xml/features/validation/reuse-grammar</a> (default: false) <br/>
<a href="http://apache.org/xml/features/validation/schema">http://apache.org/xml/features/validation/schema</a> (default: true) <br/>
<a href="http://apache.org/xml/features/validation/schema-full-checking">http://apache.org/xml/features/validation/schema-full-checking</a> (default: false) <br/>
<a href="http://apache.org/xml/features/validating/load-schema">http://apache.org/xml/features/validating/load-schema</a> (default: true) <br/>
<a href="http://apache.org/xml/features/nonvalidating/load-external-dtd">http://apache.org/xml/features/nonvalidating/load-external-dtd</a> (default: true) <br/>
<a href="http://apache.org/xml/features/continue-after-fatal-error">http://apache.org/xml/features/continue-after-fatal-error</a> (default: false) <br/>
<a href="http://apache.org/xml/features/validation-error-as-fatal">http://apache.org/xml/features/validation-error-as-fatal</a> (default: false)</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>The unique identifier (URI) of the feature. </td></tr>
    <tr><td class="paramname">value</td><td>The requested state of the feature (true or false). </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classSAXNotRecognizedException.html">SAXNotRecognizedException</a></td><td>If the requested feature is not known. </td></tr>
    <tr><td class="paramname"><a class="el" href="classSAXNotSupportedException.html">SAXNotSupportedException</a></td><td>Feature modification is not supported during parse </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a84fd7af67ec7e2c593f6244c89eba39c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SAX2XMLReader::setInputBufferSize </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a>&#160;</td>
          <td class="paramname"><em>bufferSize</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>Set maximum input buffer size. </p>
<p>This method allows users to limit the size of buffers used in parsing XML character data. The effect of setting this size is to limit the size of a <a class="el" href="classContentHandler.html#aed552fab959bfa7e9135691e1d21ab5a" title="Receive notification of character data. ">ContentHandler::characters()</a> call.</p>
<p>The parser's default input buffer size is 1 megabyte.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">bufferSize</td><td>The maximum input buffer size </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a397fd37a21987186c6e4e63211f5d118"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SAX2XMLReader::setLexicalHandler </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classLexicalHandler.html">LexicalHandler</a> *const&#160;</td>
          <td class="paramname"><em>handler</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Allow an application to register a lexical event handler. </p>
<p>If the application does not register a lexical handler, all events reported by the SAX parser will be silently ignored. (this is the default behaviour implemented by <a class="el" href="classHandlerBase.html" title="Default base class for handlers. ">HandlerBase</a>).</p>
<p>Applications may register a new or different handler in the middle of a parse, and the SAX parser must begin using the new handler immediately.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">handler</td><td>The error handler. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classLexicalHandler.html#a355f99e04837f54f0041a29c86530fa0" title="Default constructor. ">LexicalHandler::LexicalHandler</a> </dd>
<dd>
<a class="el" href="classSAXException.html#ae1c8ab9b99e3c43572c1567e72c652e4" title="Default constructor. ">SAXException::SAXException</a> </dd>
<dd>
<a class="el" href="classHandlerBase.html#aa9bbcdb7958bace9296940ab702ef367">HandlerBase::HandlerBase</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a02a51d39bbb1241cef2f6dab1ec56947"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SAX2XMLReader::setProperty </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>value</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">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the value of any property in a SAX2 XMLReader. </p>
<p>Supported properties in SAX2 for xerces-c are: <br/>
(See the SAX2 Programming Guide for detail description).</p>
<p><br/>
<a href="http://apache.org/xml/properties/schema/external-schemaLocation">http://apache.org/xml/properties/schema/external-schemaLocation</a> <br/>
<a href="http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation">http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation</a> <br/>
<a href="http://apache.org/xml/properties/security-manager">http://apache.org/xml/properties/security-manager</a> <br/>
<a href="http://apache.org/xml/properties/low-water-mark">http://apache.org/xml/properties/low-water-mark</a> <br/>
<a href="http://apache.org/xml/properties/scannerName">http://apache.org/xml/properties/scannerName</a></p>
<p>It takes a void pointer as the property value. Application is required to initialize this void pointer to a correct type. See the SAX2 Programming Guide to learn exactly what type of property value each property expects for processing. Passing a void pointer that was initialized with a wrong type will lead to unexpected result. If the same property is set more than once, the last one takes effect.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>The unique identifier (URI) of the property being set. </td></tr>
    <tr><td class="paramname">value</td><td>The requested value for the property. See the SAX2 Programming Guide to learn exactly what type of property value each property expects for processing. Passing a void pointer that was initialized with a wrong type will lead to unexpected result. </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classSAXNotRecognizedException.html">SAXNotRecognizedException</a></td><td>If the requested property is not known. </td></tr>
    <tr><td class="paramname"><a class="el" href="classSAXNotSupportedException.html">SAXNotSupportedException</a></td><td>Property modification is not supported during parse </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a1e582e31531c645181c220c9ccbbe904"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SAX2XMLReader::setValidationConstraintFatal </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>newState</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This method allows users to set the parser's behaviour when it encounters a validation constraint error. </p>
<p>If set to true, and the the parser will treat validation error as fatal and will exit depends on the state of "getExitOnFirstFatalError". If false, then it will report the error and continue processing.</p>
<p>Note: setting this true does not mean the validation error will be printed with the word "Fatal Error". It is still printed as "Error", but the parser will exit if "setExitOnFirstFatalError" is set to true.</p>
<p>The default value is 'false'.</p>
<p>Or you can set the feature "http://apache.org/xml/features/validation-error-as-fatal" which means the same thing.</p>
<p>If both the feature above and this function are used, the latter takes effect.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">newState</td><td>If true, the parser will exit if "setExitOnFirstFatalError" is set to true.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classSAX2XMLReader.html#af2d257d62e2b044095409d84181c6424" title="This method returns the state of the parser&#39;s validation-constraint-fatal flag. ">getValidationConstraintFatal</a> </dd>
<dd>
<a class="el" href="classSAX2XMLReader.html#aceaca940ae26cc40234074f338632872" title="This method allows users to set the parser&#39;s behaviour when it encounters the first fatal error...">setExitOnFirstFatalError</a> </dd>
<dd>
<a class="el" href="classSAX2XMLReader.html#aa597ea87071e1a0aa1288567e4bfd6d7" title="Set the state of any feature in a SAX2 XMLReader. ">setFeature</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a2ee07410cc0f6488eeada730471990ae"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SAX2XMLReader::setValidator </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classXMLValidator.html">XMLValidator</a> *&#160;</td>
          <td class="paramname"><em>valueToAdopt</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This method is used to set a validator. </p>
<p><b><a class="el" href="classSAX2XMLReader.html">SAX2XMLReader</a> assumes responsibility for the validator. It will be deleted when the XMLReader is destroyed.</b></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">valueToAdopt</td><td>A pointer to the validator that the reader should use. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="SAX2XMLReader_8hpp_source.html">SAX2XMLReader.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.5
</small></address>
</body>
</html>