You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.9.1"/> <title>Xerces-C++: SAX2XMLReader.hpp Source File</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++  <span id="projectnumber">3.1.2</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.9.1 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_901b4356d5f32ee418b4c714d07fb65a.html">src</a></li><li class="navelem"><a class="el" href="dir_477226ead712f319998d821c029f7620.html">xercesc</a></li><li class="navelem"><a class="el" href="dir_490d5c8358769357e3aa245091574588.html">sax2</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">SAX2XMLReader.hpp</div> </div> </div><!--header--> <div class="contents"> <a href="SAX2XMLReader_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div> <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</span></div> <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * contributor license agreements. See the NOTICE file distributed with</span></div> <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * this work for additional information regarding copyright ownership.</span></div> <div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</span></div> <div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * (the "License"); you may not use this file except in compliance with</span></div> <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * the License. You may obtain a copy of the License at</span></div> <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> *</span></div> <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span></div> <div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> *</span></div> <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span></div> <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span></div> <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div> <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * See the License for the specific language governing permissions and</span></div> <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> * limitations under the License.</span></div> <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> */</span></div> <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div> <div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment">/*</span></div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> * $Id: SAX2XMLReader.hpp 984018 2010-08-10 14:12:43Z amassari $</span></div> <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> */</span></div> <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div> <div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#if !defined(XERCESC_INCLUDE_GUARD_SAX2XMLREADER_HPP)</span></div> <div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#define XERCESC_INCLUDE_GUARD_SAX2XMLREADER_HPP</span></div> <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div> <div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <<a class="code" href="XercesDefs_8hpp.html">xercesc/util/XercesDefs.hpp</a>></span></div> <div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <<a class="code" href="XMLUniDefs_8hpp.html">xercesc/util/XMLUniDefs.hpp</a>></span></div> <div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include <<a class="code" href="XMLValidator_8hpp.html">xercesc/framework/XMLValidator.hpp</a>></span></div> <div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include <xercesc/framework/XMLPScanToken.hpp></span></div> <div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include <xercesc/validators/common/Grammar.hpp></span></div> <div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div> <div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <a class="code" href="XercesDefs_8hpp.html#a43d74fa53d868d978f3e97cbb78b194d">XERCES_CPP_NAMESPACE_BEGIN</a></div> <div class="line"><a name="l00032"></a><span class="lineno"> 32</span> </div> <div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="keyword">class </span><a class="code" href="classContentHandler.html">ContentHandler</a> ;</div> <div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="keyword">class </span><a class="code" href="classDTDHandler.html">DTDHandler</a>;</div> <div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="keyword">class </span><a class="code" href="classEntityResolver.html">EntityResolver</a>;</div> <div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="keyword">class </span><a class="code" href="classErrorHandler.html">ErrorHandler</a>;</div> <div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="keyword">class </span><a class="code" href="classInputSource.html">InputSource</a>;</div> <div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="keyword">class </span><a class="code" href="classLexicalHandler.html">LexicalHandler</a>;</div> <div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="keyword">class </span><a class="code" href="classDeclHandler.html">DeclHandler</a>;</div> <div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="keyword">class </span><a class="code" href="classXMLDocumentHandler.html">XMLDocumentHandler</a>;</div> <div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div> <div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="classSAX2XMLReader.html"> 42</a></span> <span class="keyword">class </span><a class="code" href="XercesDefs_8hpp.html#a33ae6aeb420a5fc867079688f5cdc617">SAX2_EXPORT</a> <a class="code" href="classSAX2XMLReader.html">SAX2XMLReader</a></div> <div class="line"><a name="l00043"></a><span class="lineno"> 43</span> {</div> <div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="keyword">public</span>:</div> <div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="comment">// Class types</span></div> <div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="comment"></span></div> <div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="classSAX2XMLReader.html#ad6be26566ce8e2f65b95849247d10853"> 70</a></span>  <span class="keyword">enum</span> <a class="code" href="classSAX2XMLReader.html#ad6be26566ce8e2f65b95849247d10853">ValSchemes</a></div> <div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  {</div> <div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="classSAX2XMLReader.html#ad6be26566ce8e2f65b95849247d10853a7b5317560a7f1130511148b7750d6244"> 72</a></span>  Val_Never</div> <div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="classSAX2XMLReader.html#ad6be26566ce8e2f65b95849247d10853a95ad9c6bc78a2ce7fa2a8db410b1dc39"> 73</a></span>  , Val_Always</div> <div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="classSAX2XMLReader.html#ad6be26566ce8e2f65b95849247d10853a57143e99019f8302ea26965e26ce7cb0"> 74</a></span>  , Val_Auto</div> <div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  };</div> <div class="line"><a name="l00077"></a><span class="lineno"> 77</span> </div> <div class="line"><a name="l00078"></a><span class="lineno"> 78</span> </div> <div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="comment">// Constructors and Destructor</span></div> <div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="classSAX2XMLReader.html#afaad9a21efa3e2626e80a7045c3a39b1"> 85</a></span> <span class="comment"></span> <a class="code" href="classSAX2XMLReader.html#afaad9a21efa3e2626e80a7045c3a39b1">SAX2XMLReader</a>()</div> <div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  {</div> <div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  }</div> <div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="classSAX2XMLReader.html#a65eac731ad3537122d86bf5826fe8047"> 89</a></span>  <span class="keyword">virtual</span> <a class="code" href="classSAX2XMLReader.html#a65eac731ad3537122d86bf5826fe8047">~SAX2XMLReader</a>()</div> <div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  {</div> <div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  }</div> <div class="line"><a name="l00093"></a><span class="lineno"> 93</span> </div> <div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="comment">//-----------------------------------------------------------------------</span></div> <div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="comment">// The XMLReader interface</span></div> <div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="comment">//-----------------------------------------------------------------------</span></div> <div class="line"><a name="l00099"></a><span class="lineno"> 99</span> <span class="comment"></span></div> <div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="keyword">virtual</span> <a class="code" href="classContentHandler.html">ContentHandler</a>* getContentHandler() <span class="keyword">const</span> = 0 ;</div> <div class="line"><a name="l00106"></a><span class="lineno"> 106</span> </div> <div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <span class="keyword">virtual</span> <a class="code" href="classDTDHandler.html">DTDHandler</a>* getDTDHandler() <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00113"></a><span class="lineno"> 113</span> </div> <div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="keyword">virtual</span> <a class="code" href="classEntityResolver.html">EntityResolver</a>* getEntityResolver() <span class="keyword">const</span> = 0 ;</div> <div class="line"><a name="l00120"></a><span class="lineno"> 120</span> </div> <div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="keyword">virtual</span> <a class="code" href="classErrorHandler.html">ErrorHandler</a>* getErrorHandler() <span class="keyword">const</span> = 0 ;</div> <div class="line"><a name="l00127"></a><span class="lineno"> 127</span> </div> <div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> getFeature(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> name) <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00136"></a><span class="lineno"> 136</span> </div> <div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span>* getProperty(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> name) <span class="keyword">const</span> = 0 ;</div> <div class="line"><a name="l00156"></a><span class="lineno"> 156</span> </div> <div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> setContentHandler(<a class="code" href="classContentHandler.html">ContentHandler</a>* <span class="keyword">const</span> handler) = 0;</div> <div class="line"><a name="l00174"></a><span class="lineno"> 174</span> </div> <div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> setDTDHandler(<a class="code" href="classDTDHandler.html">DTDHandler</a>* <span class="keyword">const</span> handler) = 0;</div> <div class="line"><a name="l00191"></a><span class="lineno"> 191</span> </div> <div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> setEntityResolver(<a class="code" href="classEntityResolver.html">EntityResolver</a>* <span class="keyword">const</span> resolver) = 0;</div> <div class="line"><a name="l00209"></a><span class="lineno"> 209</span> </div> <div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> setErrorHandler(<a class="code" href="classErrorHandler.html">ErrorHandler</a>* <span class="keyword">const</span> handler) = 0;</div> <div class="line"><a name="l00228"></a><span class="lineno"> 228</span> </div> <div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> setFeature(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> name, <span class="keyword">const</span> <span class="keywordtype">bool</span> value) = 0;</div> <div class="line"><a name="l00253"></a><span class="lineno"> 253</span> </div> <div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> setProperty(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> name, <span class="keywordtype">void</span>* value) = 0 ;</div> <div class="line"><a name="l00281"></a><span class="lineno"> 281</span> </div> <div class="line"><a name="l00307"></a><span class="lineno"> 307</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> parse</div> <div class="line"><a name="l00308"></a><span class="lineno"> 308</span>  (</div> <div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  <span class="keyword">const</span> <a class="code" href="classInputSource.html">InputSource</a>& source</div> <div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  ) = 0;</div> <div class="line"><a name="l00311"></a><span class="lineno"> 311</span> </div> <div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> parse</div> <div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  (</div> <div class="line"><a name="l00333"></a><span class="lineno"> 333</span>  <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> systemId</div> <div class="line"><a name="l00334"></a><span class="lineno"> 334</span>  ) = 0;</div> <div class="line"><a name="l00335"></a><span class="lineno"> 335</span> </div> <div class="line"><a name="l00355"></a><span class="lineno"> 355</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> parse</div> <div class="line"><a name="l00356"></a><span class="lineno"> 356</span>  (</div> <div class="line"><a name="l00357"></a><span class="lineno"> 357</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> systemId</div> <div class="line"><a name="l00358"></a><span class="lineno"> 358</span>  ) = 0;</div> <div class="line"><a name="l00359"></a><span class="lineno"> 359</span> </div> <div class="line"><a name="l00361"></a><span class="lineno"> 361</span> </div> <div class="line"><a name="l00362"></a><span class="lineno"> 362</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00363"></a><span class="lineno"> 363</span>  <span class="comment">// SAX 2.0-ext</span></div> <div class="line"><a name="l00364"></a><span class="lineno"> 364</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00372"></a><span class="lineno"> 372</span> <span class="comment"></span> <span class="keyword">virtual</span> <a class="code" href="classDeclHandler.html">DeclHandler</a>* getDeclarationHandler() <span class="keyword">const</span> = 0 ;</div> <div class="line"><a name="l00373"></a><span class="lineno"> 373</span> </div> <div class="line"><a name="l00379"></a><span class="lineno"> 379</span>  <span class="keyword">virtual</span> <a class="code" href="classLexicalHandler.html">LexicalHandler</a>* getLexicalHandler() <span class="keyword">const</span> = 0 ;</div> <div class="line"><a name="l00380"></a><span class="lineno"> 380</span> </div> <div class="line"><a name="l00397"></a><span class="lineno"> 397</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> setDeclarationHandler(<a class="code" href="classDeclHandler.html">DeclHandler</a>* <span class="keyword">const</span> handler) = 0;</div> <div class="line"><a name="l00398"></a><span class="lineno"> 398</span> </div> <div class="line"><a name="l00415"></a><span class="lineno"> 415</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> setLexicalHandler(<a class="code" href="classLexicalHandler.html">LexicalHandler</a>* <span class="keyword">const</span> handler) = 0;</div> <div class="line"><a name="l00416"></a><span class="lineno"> 416</span> </div> <div class="line"><a name="l00418"></a><span class="lineno"> 418</span> </div> <div class="line"><a name="l00419"></a><span class="lineno"> 419</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00420"></a><span class="lineno"> 420</span>  <span class="comment">// Getter Methods</span></div> <div class="line"><a name="l00421"></a><span class="lineno"> 421</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00434"></a><span class="lineno"> 434</span> <span class="comment"></span> <span class="keyword">virtual</span> <a class="code" href="classXMLValidator.html">XMLValidator</a>* getValidator() <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00435"></a><span class="lineno"> 435</span> </div> <div class="line"><a name="l00446"></a><span class="lineno"> 446</span>  <span class="keyword">virtual</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> getErrorCount() <span class="keyword">const</span> = 0 ;</div> <div class="line"><a name="l00447"></a><span class="lineno"> 447</span> </div> <div class="line"><a name="l00461"></a><span class="lineno"> 461</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> getExitOnFirstFatalError() <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00462"></a><span class="lineno"> 462</span> </div> <div class="line"><a name="l00477"></a><span class="lineno"> 477</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> getValidationConstraintFatal() <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00478"></a><span class="lineno"> 478</span> </div> <div class="line"><a name="l00485"></a><span class="lineno"> 485</span>  <span class="keyword">virtual</span> Grammar* getGrammar(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> nameSpaceKey) = 0;</div> <div class="line"><a name="l00486"></a><span class="lineno"> 486</span> </div> <div class="line"><a name="l00492"></a><span class="lineno"> 492</span>  <span class="keyword">virtual</span> Grammar* getRootGrammar() = 0;</div> <div class="line"><a name="l00493"></a><span class="lineno"> 493</span> </div> <div class="line"><a name="l00500"></a><span class="lineno"> 500</span>  <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* getURIText(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> uriId) <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00501"></a><span class="lineno"> 501</span> </div> <div class="line"><a name="l00508"></a><span class="lineno"> 508</span>  <span class="keyword">virtual</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a7647261a546ac47bda863a51d24ad898">XMLFilePos</a> getSrcOffset() <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00509"></a><span class="lineno"> 509</span> </div> <div class="line"><a name="l00511"></a><span class="lineno"> 511</span> </div> <div class="line"><a name="l00512"></a><span class="lineno"> 512</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00513"></a><span class="lineno"> 513</span>  <span class="comment">// Setter Methods</span></div> <div class="line"><a name="l00514"></a><span class="lineno"> 514</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00526"></a><span class="lineno"> 526</span> <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> setValidator(<a class="code" href="classXMLValidator.html">XMLValidator</a>* valueToAdopt) = 0;</div> <div class="line"><a name="l00527"></a><span class="lineno"> 527</span> </div> <div class="line"><a name="l00549"></a><span class="lineno"> 549</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> setExitOnFirstFatalError(<span class="keyword">const</span> <span class="keywordtype">bool</span> newState) = 0;</div> <div class="line"><a name="l00550"></a><span class="lineno"> 550</span> </div> <div class="line"><a name="l00576"></a><span class="lineno"> 576</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> setValidationConstraintFatal(<span class="keyword">const</span> <span class="keywordtype">bool</span> newState) = 0;</div> <div class="line"><a name="l00578"></a><span class="lineno"> 578</span> </div> <div class="line"><a name="l00579"></a><span class="lineno"> 579</span> </div> <div class="line"><a name="l00580"></a><span class="lineno"> 580</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00581"></a><span class="lineno"> 581</span>  <span class="comment">// Progressive scan methods</span></div> <div class="line"><a name="l00582"></a><span class="lineno"> 582</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00583"></a><span class="lineno"> 583</span> </div> <div class="line"><a name="l00586"></a><span class="lineno"> 586</span> </div> <div class="line"><a name="l00614"></a><span class="lineno"> 614</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> parseFirst</div> <div class="line"><a name="l00615"></a><span class="lineno"> 615</span>  (</div> <div class="line"><a name="l00616"></a><span class="lineno"> 616</span>  <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> systemId</div> <div class="line"><a name="l00617"></a><span class="lineno"> 617</span>  , XMLPScanToken& toFill</div> <div class="line"><a name="l00618"></a><span class="lineno"> 618</span>  ) = 0;</div> <div class="line"><a name="l00619"></a><span class="lineno"> 619</span> </div> <div class="line"><a name="l00647"></a><span class="lineno"> 647</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> parseFirst</div> <div class="line"><a name="l00648"></a><span class="lineno"> 648</span>  (</div> <div class="line"><a name="l00649"></a><span class="lineno"> 649</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> systemId</div> <div class="line"><a name="l00650"></a><span class="lineno"> 650</span>  , XMLPScanToken& toFill</div> <div class="line"><a name="l00651"></a><span class="lineno"> 651</span>  ) = 0;</div> <div class="line"><a name="l00652"></a><span class="lineno"> 652</span> </div> <div class="line"><a name="l00680"></a><span class="lineno"> 680</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> parseFirst</div> <div class="line"><a name="l00681"></a><span class="lineno"> 681</span>  (</div> <div class="line"><a name="l00682"></a><span class="lineno"> 682</span>  <span class="keyword">const</span> <a class="code" href="classInputSource.html">InputSource</a>& source</div> <div class="line"><a name="l00683"></a><span class="lineno"> 683</span>  , XMLPScanToken& toFill</div> <div class="line"><a name="l00684"></a><span class="lineno"> 684</span>  ) = 0;</div> <div class="line"><a name="l00685"></a><span class="lineno"> 685</span> </div> <div class="line"><a name="l00710"></a><span class="lineno"> 710</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> parseNext(XMLPScanToken& token) = 0;</div> <div class="line"><a name="l00711"></a><span class="lineno"> 711</span> </div> <div class="line"><a name="l00733"></a><span class="lineno"> 733</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> parseReset(XMLPScanToken& token) = 0;</div> <div class="line"><a name="l00734"></a><span class="lineno"> 734</span> </div> <div class="line"><a name="l00736"></a><span class="lineno"> 736</span> </div> <div class="line"><a name="l00737"></a><span class="lineno"> 737</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00738"></a><span class="lineno"> 738</span>  <span class="comment">// Grammar preparsing interface</span></div> <div class="line"><a name="l00739"></a><span class="lineno"> 739</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00740"></a><span class="lineno"> 740</span> </div> <div class="line"><a name="l00769"></a><span class="lineno"> 769</span>  <span class="keyword">virtual</span> Grammar* loadGrammar(<span class="keyword">const</span> <a class="code" href="classInputSource.html">InputSource</a>& source,</div> <div class="line"><a name="l00770"></a><span class="lineno"> 770</span>  <span class="keyword">const</span> Grammar::GrammarType grammarType,</div> <div class="line"><a name="l00771"></a><span class="lineno"> 771</span>  <span class="keyword">const</span> <span class="keywordtype">bool</span> toCache = <span class="keyword">false</span>) = 0;</div> <div class="line"><a name="l00772"></a><span class="lineno"> 772</span> </div> <div class="line"><a name="l00797"></a><span class="lineno"> 797</span>  <span class="keyword">virtual</span> Grammar* loadGrammar(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> systemId,</div> <div class="line"><a name="l00798"></a><span class="lineno"> 798</span>  <span class="keyword">const</span> Grammar::GrammarType grammarType,</div> <div class="line"><a name="l00799"></a><span class="lineno"> 799</span>  <span class="keyword">const</span> <span class="keywordtype">bool</span> toCache = <span class="keyword">false</span>) = 0;</div> <div class="line"><a name="l00800"></a><span class="lineno"> 800</span> </div> <div class="line"><a name="l00824"></a><span class="lineno"> 824</span>  <span class="keyword">virtual</span> Grammar* loadGrammar(<span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> systemId,</div> <div class="line"><a name="l00825"></a><span class="lineno"> 825</span>  <span class="keyword">const</span> Grammar::GrammarType grammarType,</div> <div class="line"><a name="l00826"></a><span class="lineno"> 826</span>  <span class="keyword">const</span> <span class="keywordtype">bool</span> toCache = <span class="keyword">false</span>) = 0;</div> <div class="line"><a name="l00827"></a><span class="lineno"> 827</span> </div> <div class="line"><a name="l00831"></a><span class="lineno"> 831</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> resetCachedGrammarPool() = 0;</div> <div class="line"><a name="l00832"></a><span class="lineno"> 832</span> </div> <div class="line"><a name="l00843"></a><span class="lineno"> 843</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> setInputBufferSize(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> bufferSize);</div> <div class="line"><a name="l00844"></a><span class="lineno"> 844</span> </div> <div class="line"><a name="l00846"></a><span class="lineno"> 846</span> </div> <div class="line"><a name="l00847"></a><span class="lineno"> 847</span> </div> <div class="line"><a name="l00848"></a><span class="lineno"> 848</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00849"></a><span class="lineno"> 849</span>  <span class="comment">// Advanced document handler list maintenance methods</span></div> <div class="line"><a name="l00850"></a><span class="lineno"> 850</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00851"></a><span class="lineno"> 851</span> </div> <div class="line"><a name="l00867"></a><span class="lineno"> 867</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> installAdvDocHandler(<a class="code" href="classXMLDocumentHandler.html">XMLDocumentHandler</a>* <span class="keyword">const</span> toInstall) = 0;</div> <div class="line"><a name="l00868"></a><span class="lineno"> 868</span> </div> <div class="line"><a name="l00878"></a><span class="lineno"> 878</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> removeAdvDocHandler(<a class="code" href="classXMLDocumentHandler.html">XMLDocumentHandler</a>* <span class="keyword">const</span> toRemove) = 0;</div> <div class="line"><a name="l00880"></a><span class="lineno"> 880</span> </div> <div class="line"><a name="l00881"></a><span class="lineno"> 881</span> <span class="keyword">private</span> :</div> <div class="line"><a name="l00882"></a><span class="lineno"> 882</span>  <span class="comment">/* The copy constructor, you cannot call this directly */</span></div> <div class="line"><a name="l00883"></a><span class="lineno"> 883</span>  <a class="code" href="classSAX2XMLReader.html">SAX2XMLReader</a>(<span class="keyword">const</span> <a class="code" href="classSAX2XMLReader.html">SAX2XMLReader</a>&);</div> <div class="line"><a name="l00884"></a><span class="lineno"> 884</span> </div> <div class="line"><a name="l00885"></a><span class="lineno"> 885</span>  <span class="comment">/* The assignment operator, you cannot call this directly */</span></div> <div class="line"><a name="l00886"></a><span class="lineno"> 886</span>  <a class="code" href="classSAX2XMLReader.html">SAX2XMLReader</a>& operator=(<span class="keyword">const</span> <a class="code" href="classSAX2XMLReader.html">SAX2XMLReader</a>&);</div> <div class="line"><a name="l00887"></a><span class="lineno"> 887</span> </div> <div class="line"><a name="l00888"></a><span class="lineno"> 888</span> };</div> <div class="line"><a name="l00889"></a><span class="lineno"> 889</span> </div> <div class="line"><a name="l00890"></a><span class="lineno"><a class="line" href="classSAX2XMLReader.html#a84fd7af67ec7e2c593f6244c89eba39c"> 890</a></span> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classSAX2XMLReader.html#a84fd7af67ec7e2c593f6244c89eba39c">SAX2XMLReader::setInputBufferSize</a>(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> <span class="comment">/*bufferSize*/</span>)</div> <div class="line"><a name="l00891"></a><span class="lineno"> 891</span> {</div> <div class="line"><a name="l00892"></a><span class="lineno"> 892</span> }</div> <div class="line"><a name="l00893"></a><span class="lineno"> 893</span> </div> <div class="line"><a name="l00894"></a><span class="lineno"> 894</span> <a class="code" href="XercesDefs_8hpp.html#af03d5cb905763ef7a7bd22ab82718285">XERCES_CPP_NAMESPACE_END</a></div> <div class="line"><a name="l00895"></a><span class="lineno"> 895</span> </div> <div class="line"><a name="l00896"></a><span class="lineno"> 896</span> <span class="preprocessor">#endif</span></div> <div class="ttc" id="Xerces__autoconf__config_8borland_8hpp_html_a7647261a546ac47bda863a51d24ad898"><div class="ttname"><a href="Xerces__autoconf__config_8borland_8hpp.html#a7647261a546ac47bda863a51d24ad898">XMLFilePos</a></div><div class="ttdeci">XMLUInt64 XMLFilePos</div><div class="ttdef"><b>Definition:</b> Xerces_autoconf_config.borland.hpp:111</div></div> <div class="ttc" id="XMLValidator_8hpp_html"><div class="ttname"><a href="XMLValidator_8hpp.html">XMLValidator.hpp</a></div></div> <div class="ttc" id="classDTDHandler_html"><div class="ttname"><a href="classDTDHandler.html">DTDHandler</a></div><div class="ttdoc">Receive notification of basic DTD-related events. </div><div class="ttdef"><b>Definition:</b> DTDHandler.hpp:59</div></div> <div class="ttc" id="XercesDefs_8hpp_html"><div class="ttname"><a href="XercesDefs_8hpp.html">XercesDefs.hpp</a></div></div> <div class="ttc" id="classEntityResolver_html"><div class="ttname"><a href="classEntityResolver.html">EntityResolver</a></div><div class="ttdoc">Basic interface for resolving entities. </div><div class="ttdef"><b>Definition:</b> EntityResolver.hpp:86</div></div> <div class="ttc" id="classErrorHandler_html"><div class="ttname"><a href="classErrorHandler.html">ErrorHandler</a></div><div class="ttdoc">Basic interface for SAX error handlers. </div><div class="ttdef"><b>Definition:</b> ErrorHandler.hpp:60</div></div> <div class="ttc" id="classSAX2XMLReader_html_a65eac731ad3537122d86bf5826fe8047"><div class="ttname"><a href="classSAX2XMLReader.html#a65eac731ad3537122d86bf5826fe8047">SAX2XMLReader::~SAX2XMLReader</a></div><div class="ttdeci">virtual ~SAX2XMLReader()</div><div class="ttdoc">The destructor. </div><div class="ttdef"><b>Definition:</b> SAX2XMLReader.hpp:89</div></div> <div class="ttc" id="XercesDefs_8hpp_html_a33ae6aeb420a5fc867079688f5cdc617"><div class="ttname"><a href="XercesDefs_8hpp.html#a33ae6aeb420a5fc867079688f5cdc617">SAX2_EXPORT</a></div><div class="ttdeci">#define SAX2_EXPORT</div><div class="ttdef"><b>Definition:</b> XercesDefs.hpp:165</div></div> <div class="ttc" id="classXMLDocumentHandler_html"><div class="ttname"><a href="classXMLDocumentHandler.html">XMLDocumentHandler</a></div><div class="ttdoc">This abstract class provides the interface for the scanner to return XML document information up to t...</div><div class="ttdef"><b>Definition:</b> XMLDocumentHandler.hpp:42</div></div> <div class="ttc" id="classSAX2XMLReader_html"><div class="ttname"><a href="classSAX2XMLReader.html">SAX2XMLReader</a></div><div class="ttdef"><b>Definition:</b> SAX2XMLReader.hpp:42</div></div> <div class="ttc" id="Xerces__autoconf__config_8borland_8hpp_html_ac0f7e36996cd03eb43bcee10321f77cd"><div class="ttname"><a href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a></div><div class="ttdeci">SIZE_T XMLSize_t</div><div class="ttdef"><b>Definition:</b> Xerces_autoconf_config.borland.hpp:86</div></div> <div class="ttc" id="XMLUniDefs_8hpp_html"><div class="ttname"><a href="XMLUniDefs_8hpp.html">XMLUniDefs.hpp</a></div></div> <div class="ttc" id="classSAX2XMLReader_html_ad6be26566ce8e2f65b95849247d10853"><div class="ttname"><a href="classSAX2XMLReader.html#ad6be26566ce8e2f65b95849247d10853">SAX2XMLReader::ValSchemes</a></div><div class="ttdeci">ValSchemes</div><div class="ttdoc">ValScheme enum used in setValidationScheme Val_Never: Do not report validation errors. </div><div class="ttdef"><b>Definition:</b> SAX2XMLReader.hpp:70</div></div> <div class="ttc" id="classContentHandler_html"><div class="ttname"><a href="classContentHandler.html">ContentHandler</a></div><div class="ttdoc">Receive notification of general document events. </div><div class="ttdef"><b>Definition:</b> ContentHandler.hpp:60</div></div> <div class="ttc" id="classDeclHandler_html"><div class="ttname"><a href="classDeclHandler.html">DeclHandler</a></div><div class="ttdoc">Receive notification of DTD declaration events. </div><div class="ttdef"><b>Definition:</b> DeclHandler.hpp:48</div></div> <div class="ttc" id="XercesDefs_8hpp_html_a43d74fa53d868d978f3e97cbb78b194d"><div class="ttname"><a href="XercesDefs_8hpp.html#a43d74fa53d868d978f3e97cbb78b194d">XERCES_CPP_NAMESPACE_BEGIN</a></div><div class="ttdeci">#define XERCES_CPP_NAMESPACE_BEGIN</div><div class="ttdef"><b>Definition:</b> XercesDefs.hpp:112</div></div> <div class="ttc" id="classSAX2XMLReader_html_afaad9a21efa3e2626e80a7045c3a39b1"><div class="ttname"><a href="classSAX2XMLReader.html#afaad9a21efa3e2626e80a7045c3a39b1">SAX2XMLReader::SAX2XMLReader</a></div><div class="ttdeci">SAX2XMLReader()</div><div class="ttdoc">The default constructor. </div><div class="ttdef"><b>Definition:</b> SAX2XMLReader.hpp:85</div></div> <div class="ttc" id="Xerces__autoconf__config_8borland_8hpp_html_a8cb107980a360c490ad7661f5d27cc0e"><div class="ttname"><a href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a></div><div class="ttdeci">wchar_t XMLCh</div><div class="ttdef"><b>Definition:</b> Xerces_autoconf_config.borland.hpp:92</div></div> <div class="ttc" id="classXMLValidator_html"><div class="ttname"><a href="classXMLValidator.html">XMLValidator</a></div><div class="ttdoc">This abstract class provides the interface for all validators. </div><div class="ttdef"><b>Definition:</b> XMLValidator.hpp:52</div></div> <div class="ttc" id="XercesDefs_8hpp_html_af03d5cb905763ef7a7bd22ab82718285"><div class="ttname"><a href="XercesDefs_8hpp.html#af03d5cb905763ef7a7bd22ab82718285">XERCES_CPP_NAMESPACE_END</a></div><div class="ttdeci">#define XERCES_CPP_NAMESPACE_END</div><div class="ttdef"><b>Definition:</b> XercesDefs.hpp:113</div></div> <div class="ttc" id="classSAX2XMLReader_html_a84fd7af67ec7e2c593f6244c89eba39c"><div class="ttname"><a href="classSAX2XMLReader.html#a84fd7af67ec7e2c593f6244c89eba39c">SAX2XMLReader::setInputBufferSize</a></div><div class="ttdeci">virtual void setInputBufferSize(const XMLSize_t bufferSize)</div><div class="ttdoc">Set maximum input buffer size. </div><div class="ttdef"><b>Definition:</b> SAX2XMLReader.hpp:890</div></div> <div class="ttc" id="classLexicalHandler_html"><div class="ttname"><a href="classLexicalHandler.html">LexicalHandler</a></div><div class="ttdoc">Receive notification of lexical events. </div><div class="ttdef"><b>Definition:</b> LexicalHandler.hpp:46</div></div> <div class="ttc" id="classInputSource_html"><div class="ttname"><a href="classInputSource.html">InputSource</a></div><div class="ttdoc">A single input source for an XML entity. </div><div class="ttdef"><b>Definition:</b> InputSource.hpp:62</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Wed Mar 18 2015 10:43:37 for Xerces-C++ by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.9.1 </small></address> </body> </html>
|