1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Xerces-C++: XercesDOMParser.hpp Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.6 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<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="classes.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<h1>XercesDOMParser.hpp</h1><a href="XercesDOMParser_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</span>
<a name="l00003"></a>00003 <span class="comment"> * contributor license agreements. See the NOTICE file distributed with</span>
<a name="l00004"></a>00004 <span class="comment"> * this work for additional information regarding copyright ownership.</span>
<a name="l00005"></a>00005 <span class="comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</span>
<a name="l00006"></a>00006 <span class="comment"> * (the "License"); you may not use this file except in compliance with</span>
<a name="l00007"></a>00007 <span class="comment"> * the License. You may obtain a copy of the License at</span>
<a name="l00008"></a>00008 <span class="comment"> *</span>
<a name="l00009"></a>00009 <span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span>
<a name="l00010"></a>00010 <span class="comment"> *</span>
<a name="l00011"></a>00011 <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span>
<a name="l00012"></a>00012 <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span>
<a name="l00013"></a>00013 <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
<a name="l00014"></a>00014 <span class="comment"> * See the License for the specific language governing permissions and</span>
<a name="l00015"></a>00015 <span class="comment"> * limitations under the License.</span>
<a name="l00016"></a>00016 <span class="comment"> */</span>
<a name="l00017"></a>00017
<a name="l00018"></a>00018 <span class="comment">/*</span>
<a name="l00019"></a>00019 <span class="comment"> * $Id: XercesDOMParser.hpp 932887 2010-04-11 13:04:59Z borisk $</span>
<a name="l00020"></a>00020 <span class="comment"> */</span>
<a name="l00021"></a>00021
<a name="l00022"></a>00022 <span class="preprocessor">#if !defined(XERCESC_INCLUDE_GUARD_XERCESDOMPARSER_HPP)</span>
<a name="l00023"></a><a class="code" href="XercesDOMParser_8hpp.html#eae2787805052796546f54679a5fbd45">00023</a> <span class="preprocessor"></span><span class="preprocessor">#define XERCESC_INCLUDE_GUARD_XERCESDOMPARSER_HPP</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span>
<a name="l00025"></a>00025
<a name="l00026"></a>00026 <span class="preprocessor">#include <<a class="code" href="AbstractDOMParser_8hpp.html">xercesc/parsers/AbstractDOMParser.hpp</a>></span>
<a name="l00027"></a>00027 <span class="preprocessor">#include <xercesc/validators/common/Grammar.hpp></span>
<a name="l00028"></a>00028
<a name="l00029"></a>00029 <a class="code" href="XercesDefs_8hpp.html#43d74fa53d868d978f3e97cbb78b194d">XERCES_CPP_NAMESPACE_BEGIN</a>
<a name="l00030"></a>00030
<a name="l00031"></a>00031
<a name="l00032"></a>00032 <span class="keyword">class </span><a class="code" href="classEntityResolver.html" title="Basic interface for resolving entities.">EntityResolver</a>;
<a name="l00033"></a>00033 <span class="keyword">class </span><a class="code" href="classErrorHandler.html" title="Basic interface for SAX error handlers.">ErrorHandler</a>;
<a name="l00034"></a>00034 <span class="keyword">class </span><a class="code" href="classXMLEntityResolver.html" title="Revised interface for resolving entities.">XMLEntityResolver</a>;
<a name="l00035"></a>00035 <span class="keyword">class </span><a class="code" href="classXMLResourceIdentifier.html">XMLResourceIdentifier</a>;
<a name="l00036"></a>00036
<a name="l00047"></a><a class="code" href="classXercesDOMParser.html">00047</a> <span class="keyword">class </span><a class="code" href="XercesDefs_8hpp.html#12b3de3d73b0c001f05eacd202c9f2f9">PARSERS_EXPORT</a> <a class="code" href="classXercesDOMParser.html" title="This class implements the Document Object Model (DOM) interface.">XercesDOMParser</a> : <span class="keyword">public</span> <a class="code" href="classAbstractDOMParser.html" title="This class implements the Document Object Model (DOM) interface.">AbstractDOMParser</a>
<a name="l00048"></a>00048 {
<a name="l00049"></a>00049 <span class="keyword">public</span> :
<a name="l00050"></a>00050 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00051"></a>00051 <span class="comment">// Constructors and Destructor</span>
<a name="l00052"></a>00052 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00053"></a>00053
<a name="l00071"></a>00071 <a class="code" href="classXercesDOMParser.html" title="This class implements the Document Object Model (DOM) interface.">XercesDOMParser</a>
<a name="l00072"></a>00072 (
<a name="l00073"></a>00073 <a class="code" href="classXMLValidator.html" title="This abstract class provides the interface for all validators.">XMLValidator</a>* <span class="keyword">const</span> valToAdopt = 0
<a name="l00074"></a>00074 , <a class="code" href="classMemoryManager.html" title="Configurable memory manager.">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252" title="The configurable memory manager.">XMLPlatformUtils::fgMemoryManager</a>
<a name="l00075"></a>00075 , <a class="code" href="classXMLGrammarPool.html">XMLGrammarPool</a>* <span class="keyword">const</span> gramPool = 0
<a name="l00076"></a>00076 );
<a name="l00077"></a>00077
<a name="l00081"></a>00081 <span class="keyword">virtual</span> ~<a class="code" href="classXercesDOMParser.html" title="This class implements the Document Object Model (DOM) interface.">XercesDOMParser</a>();
<a name="l00082"></a>00082
<a name="l00084"></a>00084
<a name="l00085"></a>00085
<a name="l00086"></a>00086 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00087"></a>00087 <span class="comment">// Getter methods</span>
<a name="l00088"></a>00088 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00089"></a>00089
<a name="l00092"></a>00092
<a name="l00100"></a>00100 <a class="code" href="classErrorHandler.html" title="Basic interface for SAX error handlers.">ErrorHandler</a>* getErrorHandler();
<a name="l00101"></a>00101
<a name="l00109"></a>00109 <span class="keyword">const</span> <a class="code" href="classErrorHandler.html" title="Basic interface for SAX error handlers.">ErrorHandler</a>* getErrorHandler() <span class="keyword">const</span>;
<a name="l00110"></a>00110
<a name="l00118"></a>00118 <a class="code" href="classEntityResolver.html" title="Basic interface for resolving entities.">EntityResolver</a>* getEntityResolver();
<a name="l00119"></a>00119
<a name="l00127"></a>00127 <span class="keyword">const</span> <a class="code" href="classEntityResolver.html" title="Basic interface for resolving entities.">EntityResolver</a>* getEntityResolver() <span class="keyword">const</span>;
<a name="l00128"></a>00128
<a name="l00137"></a>00137 <a class="code" href="classXMLEntityResolver.html" title="Revised interface for resolving entities.">XMLEntityResolver</a>* getXMLEntityResolver();
<a name="l00138"></a>00138
<a name="l00147"></a>00147 <span class="keyword">const</span> <a class="code" href="classXMLEntityResolver.html" title="Revised interface for resolving entities.">XMLEntityResolver</a>* getXMLEntityResolver() <span class="keyword">const</span>;
<a name="l00148"></a>00148
<a name="l00159"></a>00159 <span class="keywordtype">bool</span> isCachingGrammarFromParse() <span class="keyword">const</span>;
<a name="l00160"></a>00160
<a name="l00171"></a>00171 <span class="keywordtype">bool</span> isUsingCachedGrammarInParse() <span class="keyword">const</span>;
<a name="l00172"></a>00172
<a name="l00179"></a>00179 Grammar* getGrammar(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> nameSpaceKey);
<a name="l00180"></a>00180
<a name="l00186"></a>00186 Grammar* getRootGrammar();
<a name="l00187"></a>00187
<a name="l00194"></a>00194 <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* getURIText(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> uriId) <span class="keyword">const</span>;
<a name="l00195"></a>00195
<a name="l00202"></a>00202 <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#7647261a546ac47bda863a51d24ad898">XMLFilePos</a> getSrcOffset() <span class="keyword">const</span>;
<a name="l00203"></a>00203
<a name="l00211"></a>00211 <span class="keywordtype">bool</span> getIgnoreCachedDTD() <span class="keyword">const</span>;
<a name="l00212"></a>00212
<a name="l00214"></a>00214
<a name="l00215"></a>00215
<a name="l00216"></a>00216 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00217"></a>00217 <span class="comment">// Setter methods</span>
<a name="l00218"></a>00218 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00219"></a>00219
<a name="l00222"></a>00222
<a name="l00236"></a>00236 <span class="keywordtype">void</span> setErrorHandler(<a class="code" href="classErrorHandler.html" title="Basic interface for SAX error handlers.">ErrorHandler</a>* <span class="keyword">const</span> handler);
<a name="l00237"></a>00237
<a name="l00254"></a>00254 <span class="keywordtype">void</span> setEntityResolver(<a class="code" href="classEntityResolver.html" title="Basic interface for resolving entities.">EntityResolver</a>* <span class="keyword">const</span> handler);
<a name="l00255"></a>00255
<a name="l00273"></a>00273 <span class="keywordtype">void</span> setXMLEntityResolver(<a class="code" href="classXMLEntityResolver.html" title="Revised interface for resolving entities.">XMLEntityResolver</a>* <span class="keyword">const</span> handler);
<a name="l00274"></a>00274
<a name="l00292"></a>00292 <span class="keywordtype">void</span> cacheGrammarFromParse(<span class="keyword">const</span> <span class="keywordtype">bool</span> newState);
<a name="l00293"></a>00293
<a name="l00312"></a>00312 <span class="keywordtype">void</span> useCachedGrammarInParse(<span class="keyword">const</span> <span class="keywordtype">bool</span> newState);
<a name="l00313"></a>00313
<a name="l00328"></a>00328 <span class="keywordtype">void</span> setIgnoreCachedDTD(<span class="keyword">const</span> <span class="keywordtype">bool</span> newValue);
<a name="l00329"></a>00329
<a name="l00331"></a>00331
<a name="l00332"></a>00332 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00333"></a>00333 <span class="comment">// Utility methods</span>
<a name="l00334"></a>00334 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00335"></a>00335
<a name="l00361"></a>00361 <span class="keywordtype">void</span> resetDocumentPool();
<a name="l00362"></a>00362
<a name="l00364"></a>00364
<a name="l00365"></a>00365 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00366"></a>00366 <span class="comment">// Implementation of the XMLErrorReporter interface.</span>
<a name="l00367"></a>00367 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00368"></a>00368
<a name="l00371"></a>00371
<a name="l00396"></a>00396 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classXMLErrorReporter.html#6eca467a4753ce0dc6222aafe5c19ed0" title="Called to report errors from the scanner or validator.">error</a>
<a name="l00397"></a>00397 (
<a name="l00398"></a>00398 <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> errCode
<a name="l00399"></a>00399 , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> msgDomain
<a name="l00400"></a>00400 , <span class="keyword">const</span> <a class="code" href="classXMLErrorReporter.html#db34298ba3609a10c52328e5050d4434">XMLErrorReporter::ErrTypes</a> errType
<a name="l00401"></a>00401 , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> errorText
<a name="l00402"></a>00402 , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> systemId
<a name="l00403"></a>00403 , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> publicId
<a name="l00404"></a>00404 , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#dd2d542a6583db767febf57446daa50d">XMLFileLoc</a> lineNum
<a name="l00405"></a>00405 , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#dd2d542a6583db767febf57446daa50d">XMLFileLoc</a> colNum
<a name="l00406"></a>00406 );
<a name="l00407"></a>00407
<a name="l00416"></a>00416 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classXMLErrorReporter.html#a8364a38a2ac6657448bad08ff6f0091" title="Called before a new parse event to allow the handler to reset.">resetErrors</a>();
<a name="l00418"></a>00418
<a name="l00419"></a>00419
<a name="l00420"></a>00420 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00421"></a>00421 <span class="comment">// Implementation of the XMLEntityHandler interface.</span>
<a name="l00422"></a>00422 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00423"></a>00423
<a name="l00426"></a>00426
<a name="l00439"></a>00439 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classXMLEntityHandler.html#f1b5c220b47c05c188cbd88363e9a41d" title="This method get called after the scanner has finished reading from the given input...">endInputSource</a>(<span class="keyword">const</span> <a class="code" href="classInputSource.html" title="A single input source for an XML entity.">InputSource</a>& inputSource);
<a name="l00440"></a>00440
<a name="l00456"></a>00456 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classXMLEntityHandler.html#a64d97114fb1fa62502fba6d9ed5346c" title="This method allows the passes the scanned systemId to the entity handler, thereby...">expandSystemId</a>
<a name="l00457"></a>00457 (
<a name="l00458"></a>00458 <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> systemId
<a name="l00459"></a>00459 , XMLBuffer& toFill
<a name="l00460"></a>00460 );
<a name="l00461"></a>00461
<a name="l00470"></a>00470 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classXMLEntityHandler.html#f096953b99a5de9f039df902c7f3543d" title="This method allows the entity handler to reset itself, so that it can be used again...">resetEntities</a>();
<a name="l00471"></a>00471
<a name="l00488"></a>00488 <span class="keyword">virtual</span> <a class="code" href="classInputSource.html" title="A single input source for an XML entity.">InputSource</a>* <a class="code" href="classXMLEntityHandler.html#8994f00cc9ba227fe8afa273605356d9" title="This method allows the entity handler to provide customized application specific...">resolveEntity</a>
<a name="l00489"></a>00489 (
<a name="l00490"></a>00490 <a class="code" href="classXMLResourceIdentifier.html">XMLResourceIdentifier</a>* resourceIdentifier
<a name="l00491"></a>00491 );
<a name="l00492"></a>00492
<a name="l00505"></a>00505 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classXMLEntityHandler.html#a59b2da6316f575899b6a8a3fef7477c" title="This method will be called before the scanner starts reading from an input source...">startInputSource</a>(<span class="keyword">const</span> <a class="code" href="classInputSource.html" title="A single input source for an XML entity.">InputSource</a>& inputSource);
<a name="l00506"></a>00506
<a name="l00508"></a>00508
<a name="l00509"></a>00509 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00510"></a>00510 <span class="comment">// Grammar preparsing interface</span>
<a name="l00511"></a>00511 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00512"></a>00512
<a name="l00541"></a>00541 Grammar* loadGrammar(<span class="keyword">const</span> <a class="code" href="classInputSource.html" title="A single input source for an XML entity.">InputSource</a>& source,
<a name="l00542"></a>00542 <span class="keyword">const</span> Grammar::GrammarType grammarType,
<a name="l00543"></a>00543 <span class="keyword">const</span> <span class="keywordtype">bool</span> toCache = <span class="keyword">false</span>);
<a name="l00544"></a>00544
<a name="l00569"></a>00569 Grammar* loadGrammar(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> systemId,
<a name="l00570"></a>00570 <span class="keyword">const</span> Grammar::GrammarType grammarType,
<a name="l00571"></a>00571 <span class="keyword">const</span> <span class="keywordtype">bool</span> toCache = <span class="keyword">false</span>);
<a name="l00572"></a>00572
<a name="l00596"></a>00596 Grammar* loadGrammar(<span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> systemId,
<a name="l00597"></a>00597 <span class="keyword">const</span> Grammar::GrammarType grammarType,
<a name="l00598"></a>00598 <span class="keyword">const</span> <span class="keywordtype">bool</span> toCache = <span class="keyword">false</span>);
<a name="l00599"></a>00599
<a name="l00603"></a>00603 <span class="keywordtype">void</span> resetCachedGrammarPool();
<a name="l00604"></a>00604
<a name="l00606"></a>00606
<a name="l00607"></a>00607
<a name="l00608"></a>00608 <span class="keyword">private</span> :
<a name="l00609"></a>00609 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00610"></a>00610 <span class="comment">// Initialize/Cleanup methods</span>
<a name="l00611"></a>00611 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00612"></a>00612 <span class="keywordtype">void</span> resetParse();
<a name="l00613"></a>00613
<a name="l00614"></a>00614 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00615"></a>00615 <span class="comment">// Unimplemented constructors and operators</span>
<a name="l00616"></a>00616 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00617"></a>00617 <a class="code" href="classXercesDOMParser.html" title="This class implements the Document Object Model (DOM) interface.">XercesDOMParser</a>(<span class="keyword">const</span> <a class="code" href="classXercesDOMParser.html" title="This class implements the Document Object Model (DOM) interface.">XercesDOMParser</a>&);
<a name="l00618"></a>00618 <a class="code" href="classXercesDOMParser.html" title="This class implements the Document Object Model (DOM) interface.">XercesDOMParser</a>& operator=(<span class="keyword">const</span> <a class="code" href="classXercesDOMParser.html" title="This class implements the Document Object Model (DOM) interface.">XercesDOMParser</a>&);
<a name="l00619"></a>00619
<a name="l00620"></a>00620 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00621"></a>00621 <span class="comment">// Private data members</span>
<a name="l00622"></a>00622 <span class="comment">//</span>
<a name="l00623"></a>00623 <span class="comment">// fEntityResolver</span>
<a name="l00624"></a>00624 <span class="comment">// The installed SAX entity resolver, if any. Null if none.</span>
<a name="l00625"></a>00625 <span class="comment">//</span>
<a name="l00626"></a>00626 <span class="comment">// fErrorHandler</span>
<a name="l00627"></a>00627 <span class="comment">// The installed SAX error handler, if any. Null if none.</span>
<a name="l00628"></a>00628 <span class="comment">//-----------------------------------------------------------------------</span>
<a name="l00629"></a>00629 <a class="code" href="classEntityResolver.html" title="Basic interface for resolving entities.">EntityResolver</a>* fEntityResolver;
<a name="l00630"></a>00630 <a class="code" href="classXMLEntityResolver.html" title="Revised interface for resolving entities.">XMLEntityResolver</a>* fXMLEntityResolver;
<a name="l00631"></a>00631 <a class="code" href="classErrorHandler.html" title="Basic interface for SAX error handlers.">ErrorHandler</a>* fErrorHandler;
<a name="l00632"></a>00632 };
<a name="l00633"></a>00633
<a name="l00634"></a>00634
<a name="l00635"></a>00635
<a name="l00636"></a>00636 <span class="comment">// ---------------------------------------------------------------------------</span>
<a name="l00637"></a>00637 <span class="comment">// XercesDOMParser: Handlers for the XMLEntityHandler interface</span>
<a name="l00638"></a>00638 <span class="comment">// ---------------------------------------------------------------------------</span>
<a name="l00639"></a><a class="code" href="classXercesDOMParser.html#f0045b44b04f34436f4ccdf3ce6f2a0a">00639</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classXercesDOMParser.html#f0045b44b04f34436f4ccdf3ce6f2a0a" title="Handle an end of input source event.">XercesDOMParser::endInputSource</a>(<span class="keyword">const</span> <a class="code" href="classInputSource.html" title="A single input source for an XML entity.">InputSource</a>&)
<a name="l00640"></a>00640 {
<a name="l00641"></a>00641 <span class="comment">// The DOM entity resolver doesn't handle this</span>
<a name="l00642"></a>00642 }
<a name="l00643"></a>00643
<a name="l00644"></a><a class="code" href="classXercesDOMParser.html#9cf136488f2f8f92ffa226bb2fc2d448">00644</a> <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classXercesDOMParser.html#9cf136488f2f8f92ffa226bb2fc2d448" title="Expand a system id.">XercesDOMParser::expandSystemId</a>(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span>, XMLBuffer&)
<a name="l00645"></a>00645 {
<a name="l00646"></a>00646 <span class="comment">// The DOM entity resolver doesn't handle this</span>
<a name="l00647"></a>00647 <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00648"></a>00648 }
<a name="l00649"></a>00649
<a name="l00650"></a><a class="code" href="classXercesDOMParser.html#8d5b35e277d05f1244a4285ae5c6710b">00650</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classXercesDOMParser.html#8d5b35e277d05f1244a4285ae5c6710b" title="Reset any entity handler information.">XercesDOMParser::resetEntities</a>()
<a name="l00651"></a>00651 {
<a name="l00652"></a>00652 <span class="comment">// Nothing to do on this one</span>
<a name="l00653"></a>00653 }
<a name="l00654"></a>00654
<a name="l00655"></a><a class="code" href="classXercesDOMParser.html#0123825ec7c9eaebe452578dcf751821">00655</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classXercesDOMParser.html#0123825ec7c9eaebe452578dcf751821" title="Handle a &#39;start input source&#39; event.">XercesDOMParser::startInputSource</a>(<span class="keyword">const</span> <a class="code" href="classInputSource.html" title="A single input source for an XML entity.">InputSource</a>&)
<a name="l00656"></a>00656 {
<a name="l00657"></a>00657 <span class="comment">// The DOM entity resolver doesn't handle this</span>
<a name="l00658"></a>00658 }
<a name="l00659"></a>00659
<a name="l00660"></a>00660
<a name="l00661"></a>00661 <span class="comment">// ---------------------------------------------------------------------------</span>
<a name="l00662"></a>00662 <span class="comment">// XercesDOMParser: Getter methods</span>
<a name="l00663"></a>00663 <span class="comment">// ---------------------------------------------------------------------------</span>
<a name="l00664"></a><a class="code" href="classXercesDOMParser.html#c1bb89e72d35cd07fd571f573541f57c">00664</a> <span class="keyword">inline</span> <a class="code" href="classErrorHandler.html" title="Basic interface for SAX error handlers.">ErrorHandler</a>* <a class="code" href="classXercesDOMParser.html#c1bb89e72d35cd07fd571f573541f57c" title="Get a pointer to the error handler.">XercesDOMParser::getErrorHandler</a>()
<a name="l00665"></a>00665 {
<a name="l00666"></a>00666 <span class="keywordflow">return</span> fErrorHandler;
<a name="l00667"></a>00667 }
<a name="l00668"></a>00668
<a name="l00669"></a><a class="code" href="classXercesDOMParser.html#14ba803bd2c84bcdcc1bb2fb811468e2">00669</a> <span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="classErrorHandler.html" title="Basic interface for SAX error handlers.">ErrorHandler</a>* <a class="code" href="classXercesDOMParser.html#c1bb89e72d35cd07fd571f573541f57c" title="Get a pointer to the error handler.">XercesDOMParser::getErrorHandler</a>()<span class="keyword"> const</span>
<a name="l00670"></a>00670 <span class="keyword"></span>{
<a name="l00671"></a>00671 <span class="keywordflow">return</span> fErrorHandler;
<a name="l00672"></a>00672 }
<a name="l00673"></a>00673
<a name="l00674"></a><a class="code" href="classXercesDOMParser.html#ee65258bf91265109cae4af97c5727af">00674</a> <span class="keyword">inline</span> <a class="code" href="classEntityResolver.html" title="Basic interface for resolving entities.">EntityResolver</a>* <a class="code" href="classXercesDOMParser.html#ee65258bf91265109cae4af97c5727af" title="Get a pointer to the entity resolver.">XercesDOMParser::getEntityResolver</a>()
<a name="l00675"></a>00675 {
<a name="l00676"></a>00676 <span class="keywordflow">return</span> fEntityResolver;
<a name="l00677"></a>00677 }
<a name="l00678"></a>00678
<a name="l00679"></a><a class="code" href="classXercesDOMParser.html#cdf37101dd006980e362b420efa25b9a">00679</a> <span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="classEntityResolver.html" title="Basic interface for resolving entities.">EntityResolver</a>* <a class="code" href="classXercesDOMParser.html#ee65258bf91265109cae4af97c5727af" title="Get a pointer to the entity resolver.">XercesDOMParser::getEntityResolver</a>()<span class="keyword"> const</span>
<a name="l00680"></a>00680 <span class="keyword"></span>{
<a name="l00681"></a>00681 <span class="keywordflow">return</span> fEntityResolver;
<a name="l00682"></a>00682 }
<a name="l00683"></a>00683
<a name="l00684"></a><a class="code" href="classXercesDOMParser.html#31d8ae354d87e7d786f22457c7533e67">00684</a> <span class="keyword">inline</span> <a class="code" href="classXMLEntityResolver.html" title="Revised interface for resolving entities.">XMLEntityResolver</a>* <a class="code" href="classXercesDOMParser.html#31d8ae354d87e7d786f22457c7533e67" title="Get a pointer to the entity resolver.">XercesDOMParser::getXMLEntityResolver</a>()
<a name="l00685"></a>00685 {
<a name="l00686"></a>00686 <span class="keywordflow">return</span> fXMLEntityResolver;
<a name="l00687"></a>00687 }
<a name="l00688"></a>00688
<a name="l00689"></a><a class="code" href="classXercesDOMParser.html#3f2c65fc9bdf5224e3fc794f1c4cc83c">00689</a> <span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="classXMLEntityResolver.html" title="Revised interface for resolving entities.">XMLEntityResolver</a>* <a class="code" href="classXercesDOMParser.html#31d8ae354d87e7d786f22457c7533e67" title="Get a pointer to the entity resolver.">XercesDOMParser::getXMLEntityResolver</a>()<span class="keyword"> const</span>
<a name="l00690"></a>00690 <span class="keyword"></span>{
<a name="l00691"></a>00691 <span class="keywordflow">return</span> fXMLEntityResolver;
<a name="l00692"></a>00692 }
<a name="l00693"></a>00693
<a name="l00694"></a>00694 <a class="code" href="XercesDefs_8hpp.html#f03d5cb905763ef7a7bd22ab82718285">XERCES_CPP_NAMESPACE_END</a>
<a name="l00695"></a>00695
<a name="l00696"></a>00696 <span class="preprocessor">#endif</span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Apr 21 17:55:48 2010 for Xerces-C++ by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>
|