Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release > by-pkgid > 59e136c5713357bec32fa00e9f43af8f > files > 342

xerces-c-doc-3.1.0-2mdv2010.1.i586.rpm

<!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++: XMLValidator.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&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;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>XMLValidator.hpp</h1><a href="XMLValidator_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: XMLValidator.hpp 676911 2008-07-15 13:27:32Z amassari $</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_XMLVALIDATOR_HPP)</span>
<a name="l00023"></a><a class="code" href="XMLValidator_8hpp.html#6af45077b0deb1741c75eb90a1941d26">00023</a> <span class="preprocessor"></span><span class="preprocessor">#define XERCESC_INCLUDE_GUARD_XMLVALIDATOR_HPP</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span>
<a name="l00025"></a>00025 <span class="preprocessor">#include &lt;<a class="code" href="XMLAttr_8hpp.html">xercesc/framework/XMLAttr.hpp</a>&gt;</span>
<a name="l00026"></a>00026 <span class="preprocessor">#include &lt;<a class="code" href="XMLValidityCodes_8hpp.html">xercesc/framework/XMLValidityCodes.hpp</a>&gt;</span>
<a name="l00027"></a>00027 
<a name="l00028"></a>00028 <a class="code" href="XercesDefs_8hpp.html#43d74fa53d868d978f3e97cbb78b194d">XERCES_CPP_NAMESPACE_BEGIN</a>
<a name="l00029"></a>00029 
<a name="l00030"></a>00030 <span class="keyword">class </span>ReaderMgr;
<a name="l00031"></a>00031 <span class="keyword">class </span>XMLBufferMgr;
<a name="l00032"></a>00032 <span class="keyword">class </span><a class="code" href="classXMLElementDecl.html" title="This class defines the core information of an element declaration.">XMLElementDecl</a>;
<a name="l00033"></a>00033 <span class="keyword">class </span>XMLScanner;
<a name="l00034"></a>00034 <span class="keyword">class </span>Grammar;
<a name="l00035"></a>00035 
<a name="l00036"></a>00036 
<a name="l00052"></a><a class="code" href="classXMLValidator.html">00052</a> <span class="keyword">class </span><a class="code" href="XercesDefs_8hpp.html#13df5a01e63e51f62a1467b588b59054">XMLPARSER_EXPORT</a> <a class="code" href="classXMLValidator.html" title="This abstract class provides the interface for all validators.">XMLValidator</a> : <span class="keyword">public</span> <a class="code" href="classXMemory.html" title="This class makes it possible to override the C++ memory management by adding new/delete...">XMemory</a>
<a name="l00053"></a>00053 {
<a name="l00054"></a>00054 <span class="keyword">public</span>:
<a name="l00055"></a>00055     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00056"></a>00056     <span class="comment">//  Constructors are hidden, just the virtual destructor is exposed</span>
<a name="l00057"></a>00057     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00058"></a>00058 
<a name="l00061"></a>00061 
<a name="l00066"></a><a class="code" href="classXMLValidator.html#a1167043c9d36e5349cab571f4730574">00066</a>     <span class="keyword">virtual</span> ~<a class="code" href="classXMLValidator.html" title="This abstract class provides the interface for all validators.">XMLValidator</a>()
<a name="l00067"></a>00067     {
<a name="l00068"></a>00068     }
<a name="l00070"></a>00070 
<a name="l00071"></a>00071 
<a name="l00072"></a>00072     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00073"></a>00073     <span class="comment">//  The virtual validator interface</span>
<a name="l00074"></a>00074     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00075"></a>00075 
<a name="l00078"></a>00078 
<a name="l00103"></a>00103     <span class="keyword">virtual</span> <span class="keywordtype">bool</span> checkContent
<a name="l00104"></a>00104     (
<a name="l00105"></a>00105         <a class="code" href="classXMLElementDecl.html" title="This class defines the core information of an element declaration.">XMLElementDecl</a>* <span class="keyword">const</span>   elemDecl
<a name="l00106"></a>00106         , <a class="code" href="classQName.html">QName</a>** <span class="keyword">const</span>         children
<a name="l00107"></a>00107         , <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#c0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a>             childCount
<a name="l00108"></a>00108         , <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#c0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a>*            indexFailingChild
<a name="l00109"></a>00109     ) = 0;
<a name="l00110"></a>00110 
<a name="l00119"></a>00119     <span class="keyword">virtual</span> <span class="keywordtype">void</span> faultInAttr
<a name="l00120"></a>00120     (
<a name="l00121"></a>00121                 <a class="code" href="classXMLAttr.html" title="This class defines the information about an attribute that will come out of the scanner...">XMLAttr</a>&amp;    toFill
<a name="l00122"></a>00122         , <span class="keyword">const</span> <a class="code" href="classXMLAttDef.html" title="Represents the core information of an atribute definition.">XMLAttDef</a>&amp;  attDef
<a name="l00123"></a>00123     )   <span class="keyword">const</span> = 0;
<a name="l00124"></a>00124 
<a name="l00128"></a>00128     <span class="keyword">virtual</span> <span class="keywordtype">void</span> preContentValidation(<span class="keywordtype">bool</span> reuseGrammar,
<a name="l00129"></a>00129                                       <span class="keywordtype">bool</span> validateDefAttr = <span class="keyword">false</span>) = 0;
<a name="l00130"></a>00130 
<a name="l00138"></a>00138     <span class="keyword">virtual</span> <span class="keywordtype">void</span> postParseValidation() = 0;
<a name="l00139"></a>00139 
<a name="l00145"></a>00145     <span class="keyword">virtual</span> <span class="keywordtype">void</span> reset() = 0;
<a name="l00146"></a>00146 
<a name="l00153"></a>00153     <span class="keyword">virtual</span> <span class="keywordtype">bool</span> requiresNamespaces() <span class="keyword">const</span> = 0;
<a name="l00154"></a>00154 
<a name="l00165"></a>00165     <span class="keyword">virtual</span> <span class="keywordtype">void</span> validateAttrValue
<a name="l00166"></a>00166     (
<a name="l00167"></a>00167         <span class="keyword">const</span>   <a class="code" href="classXMLAttDef.html" title="Represents the core information of an atribute definition.">XMLAttDef</a>*                  attDef
<a name="l00168"></a>00168         , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span>                attrValue
<a name="l00169"></a>00169         , <span class="keywordtype">bool</span>                              preValidation = <span class="keyword">false</span>
<a name="l00170"></a>00170         , <span class="keyword">const</span> <a class="code" href="classXMLElementDecl.html" title="This class defines the core information of an element declaration.">XMLElementDecl</a>*             elemDecl = 0
<a name="l00171"></a>00171     ) = 0;
<a name="l00172"></a>00172 
<a name="l00180"></a>00180     <span class="keyword">virtual</span> <span class="keywordtype">void</span> validateElement
<a name="l00181"></a>00181     (
<a name="l00182"></a>00182         <span class="keyword">const</span>   <a class="code" href="classXMLElementDecl.html" title="This class defines the core information of an element declaration.">XMLElementDecl</a>*             elemDef
<a name="l00183"></a>00183     ) = 0;
<a name="l00184"></a>00184 
<a name="l00188"></a>00188     <span class="keyword">virtual</span> Grammar* getGrammar() <span class="keyword">const</span> =0;
<a name="l00189"></a>00189 
<a name="l00193"></a>00193     <span class="keyword">virtual</span> <span class="keywordtype">void</span> setGrammar(Grammar* aGrammar) =0;
<a name="l00194"></a>00194 
<a name="l00195"></a>00195 
<a name="l00197"></a>00197 
<a name="l00198"></a>00198     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00199"></a>00199     <span class="comment">//  Virtual DTD handler interface.</span>
<a name="l00200"></a>00200     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00201"></a>00201 
<a name="l00204"></a>00204 
<a name="l00209"></a>00209     <span class="keyword">virtual</span> <span class="keywordtype">bool</span> handlesDTD() <span class="keyword">const</span> = 0;
<a name="l00210"></a>00210 
<a name="l00211"></a>00211     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00212"></a>00212     <span class="comment">//  Virtual Schema handler interface.</span>
<a name="l00213"></a>00213     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00214"></a>00214 
<a name="l00221"></a>00221     <span class="keyword">virtual</span> <span class="keywordtype">bool</span> handlesSchema() <span class="keyword">const</span> = 0;
<a name="l00222"></a>00222 
<a name="l00224"></a>00224 
<a name="l00225"></a>00225     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00226"></a>00226     <span class="comment">//  Setter methods</span>
<a name="l00227"></a>00227     <span class="comment">//</span>
<a name="l00228"></a>00228     <span class="comment">//  setScannerInfo() is called by the scanner to tell the validator</span>
<a name="l00229"></a>00229     <span class="comment">//  about the stuff it needs to have access to.</span>
<a name="l00230"></a>00230     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00231"></a>00231 
<a name="l00234"></a>00234 
<a name="l00248"></a>00248     <span class="keywordtype">void</span> setScannerInfo
<a name="l00249"></a>00249     (
<a name="l00250"></a>00250         XMLScanner* <span class="keyword">const</span>           owningScanner
<a name="l00251"></a>00251         , ReaderMgr* <span class="keyword">const</span>          readerMgr
<a name="l00252"></a>00252         , XMLBufferMgr* <span class="keyword">const</span>       bufMgr
<a name="l00253"></a>00253     );
<a name="l00254"></a>00254 
<a name="l00264"></a>00264     <span class="keywordtype">void</span> setErrorReporter
<a name="l00265"></a>00265     (
<a name="l00266"></a>00266         <a class="code" href="classXMLErrorReporter.html" title="This abstract class defines a callback mechanism for the scanner.">XMLErrorReporter</a>* <span class="keyword">const</span> errorReporter
<a name="l00267"></a>00267     );
<a name="l00268"></a>00268 
<a name="l00270"></a>00270 
<a name="l00271"></a>00271 
<a name="l00272"></a>00272     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00273"></a>00273     <span class="comment">//  Error emitter methods</span>
<a name="l00274"></a>00274     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00275"></a>00275 
<a name="l00278"></a>00278 
<a name="l00297"></a>00297     <span class="keywordtype">void</span> emitError(<span class="keyword">const</span> <a class="code" href="classXMLValid.html#c30e7f5d9612c52f5f1208c83f090c86">XMLValid::Codes</a> toEmit);
<a name="l00298"></a>00298     <span class="keywordtype">void</span> emitError
<a name="l00299"></a>00299     (
<a name="l00300"></a>00300         <span class="keyword">const</span>   <a class="code" href="classXMLValid.html#c30e7f5d9612c52f5f1208c83f090c86">XMLValid::Codes</a> toEmit
<a name="l00301"></a>00301         , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span>    text1
<a name="l00302"></a>00302         , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span>    text2 = 0
<a name="l00303"></a>00303         , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span>    text3 = 0
<a name="l00304"></a>00304         , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span>    text4 = 0
<a name="l00305"></a>00305     );
<a name="l00306"></a>00306     <span class="keywordtype">void</span> emitError
<a name="l00307"></a>00307     (
<a name="l00308"></a>00308         <span class="keyword">const</span>   <a class="code" href="classXMLValid.html#c30e7f5d9612c52f5f1208c83f090c86">XMLValid::Codes</a> toEmit
<a name="l00309"></a>00309         , <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span>     text1
<a name="l00310"></a>00310         , <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span>     text2 = 0
<a name="l00311"></a>00311         , <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span>     text3 = 0
<a name="l00312"></a>00312         , <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span>     text4 = 0
<a name="l00313"></a>00313     );
<a name="l00314"></a>00314     <span class="keywordtype">void</span> emitError
<a name="l00315"></a>00315     (
<a name="l00316"></a>00316         <span class="keyword">const</span>   <a class="code" href="classXMLValid.html#c30e7f5d9612c52f5f1208c83f090c86">XMLValid::Codes</a> toEmit
<a name="l00317"></a>00317         , <span class="keyword">const</span> XMLExcepts::Codes   originalErrorCode
<a name="l00318"></a>00318         , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span>        text1 = 0
<a name="l00319"></a>00319         , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span>        text2 = 0
<a name="l00320"></a>00320         , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span>        text3 = 0
<a name="l00321"></a>00321         , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span>        text4 = 0
<a name="l00322"></a>00322 
<a name="l00323"></a>00323     );
<a name="l00324"></a>00324 
<a name="l00326"></a>00326 
<a name="l00327"></a>00327 <span class="keyword">protected</span> :
<a name="l00328"></a>00328     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00329"></a>00329     <span class="comment">//  Hidden constructors</span>
<a name="l00330"></a>00330     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00331"></a>00331     <a class="code" href="classXMLValidator.html" title="This abstract class provides the interface for all validators.">XMLValidator</a>
<a name="l00332"></a>00332     (
<a name="l00333"></a>00333         <a class="code" href="classXMLErrorReporter.html" title="This abstract class defines a callback mechanism for the scanner.">XMLErrorReporter</a>* <span class="keyword">const</span> errReporter = 0
<a name="l00334"></a>00334     );
<a name="l00335"></a>00335 
<a name="l00336"></a>00336 
<a name="l00337"></a>00337     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00338"></a>00338     <span class="comment">//  Protected getters</span>
<a name="l00339"></a>00339     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00340"></a>00340     <span class="keyword">const</span> XMLBufferMgr* getBufMgr() <span class="keyword">const</span>;
<a name="l00341"></a>00341     XMLBufferMgr* getBufMgr();
<a name="l00342"></a>00342     <span class="keyword">const</span> ReaderMgr* getReaderMgr() <span class="keyword">const</span>;
<a name="l00343"></a>00343     ReaderMgr* getReaderMgr();
<a name="l00344"></a>00344     <span class="keyword">const</span> XMLScanner* getScanner() <span class="keyword">const</span>;
<a name="l00345"></a>00345     XMLScanner* getScanner();
<a name="l00346"></a>00346 
<a name="l00347"></a>00347 
<a name="l00348"></a>00348 <span class="keyword">private</span> :
<a name="l00349"></a>00349     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00350"></a>00350     <span class="comment">//  Unimplemented Constructors and Operators</span>
<a name="l00351"></a>00351     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00352"></a>00352     <a class="code" href="classXMLValidator.html" title="This abstract class provides the interface for all validators.">XMLValidator</a>(<span class="keyword">const</span> <a class="code" href="classXMLValidator.html" title="This abstract class provides the interface for all validators.">XMLValidator</a>&amp;);
<a name="l00353"></a>00353     <a class="code" href="classXMLValidator.html" title="This abstract class provides the interface for all validators.">XMLValidator</a>&amp; operator=(<span class="keyword">const</span> <a class="code" href="classXMLValidator.html" title="This abstract class provides the interface for all validators.">XMLValidator</a>&amp;);
<a name="l00354"></a>00354 
<a name="l00355"></a>00355 
<a name="l00356"></a>00356     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00357"></a>00357     <span class="comment">//  Private data members</span>
<a name="l00358"></a>00358     <span class="comment">//</span>
<a name="l00359"></a>00359     <span class="comment">//  fErrorReporter</span>
<a name="l00360"></a>00360     <span class="comment">//      The error reporter we are to use, if any.</span>
<a name="l00361"></a>00361     <span class="comment">//</span>
<a name="l00362"></a>00362     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00363"></a>00363     XMLBufferMgr*       fBufMgr;
<a name="l00364"></a>00364     <a class="code" href="classXMLErrorReporter.html" title="This abstract class defines a callback mechanism for the scanner.">XMLErrorReporter</a>*   fErrorReporter;
<a name="l00365"></a>00365     ReaderMgr*          fReaderMgr;
<a name="l00366"></a>00366     XMLScanner*         fScanner;
<a name="l00367"></a>00367 };
<a name="l00368"></a>00368 
<a name="l00369"></a>00369 
<a name="l00370"></a>00370 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00371"></a>00371 <span class="comment">//  Setter methods</span>
<a name="l00372"></a>00372 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00373"></a>00373 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00374"></a><a class="code" href="classXMLValidator.html#3c919a8cd60cd8db3ab21a047b0c2382">00374</a> <a class="code" href="classXMLValidator.html#3c919a8cd60cd8db3ab21a047b0c2382">XMLValidator::setScannerInfo</a>(XMLScanner* <span class="keyword">const</span>      owningScanner
<a name="l00375"></a>00375                             , ReaderMgr* <span class="keyword">const</span>      readerMgr
<a name="l00376"></a>00376                             , XMLBufferMgr* <span class="keyword">const</span>   bufMgr)
<a name="l00377"></a>00377 {
<a name="l00378"></a>00378     <span class="comment">// We don't own any of these, we just reference them</span>
<a name="l00379"></a>00379     fScanner = owningScanner;
<a name="l00380"></a>00380     fReaderMgr = readerMgr;
<a name="l00381"></a>00381     fBufMgr = bufMgr;
<a name="l00382"></a>00382 }
<a name="l00383"></a>00383 
<a name="l00384"></a>00384 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00385"></a><a class="code" href="classXMLValidator.html#1e8dc0e5cb4da13b3934d0af455d40d3">00385</a> <a class="code" href="classXMLValidator.html#1e8dc0e5cb4da13b3934d0af455d40d3" title="This method is called to set an error reporter on the validator via which it will...">XMLValidator::setErrorReporter</a>(<a class="code" href="classXMLErrorReporter.html" title="This abstract class defines a callback mechanism for the scanner.">XMLErrorReporter</a>* <span class="keyword">const</span> errorReporter)
<a name="l00386"></a>00386 {
<a name="l00387"></a>00387     fErrorReporter = errorReporter;
<a name="l00388"></a>00388 }
<a name="l00389"></a>00389 
<a name="l00390"></a>00390 
<a name="l00391"></a>00391 <span class="comment">// ---------------------------------------------------------------------------</span>
<a name="l00392"></a>00392 <span class="comment">//  XMLValidator: Protected getter</span>
<a name="l00393"></a>00393 <span class="comment">// ---------------------------------------------------------------------------</span>
<a name="l00394"></a><a class="code" href="classXMLValidator.html#c4bd73e48ce289a6a402258a0d9346b8">00394</a> <span class="keyword">inline</span> <span class="keyword">const</span> XMLBufferMgr* <a class="code" href="classXMLValidator.html#c4bd73e48ce289a6a402258a0d9346b8">XMLValidator::getBufMgr</a>()<span class="keyword"> const</span>
<a name="l00395"></a>00395 <span class="keyword"></span>{
<a name="l00396"></a>00396     <span class="keywordflow">return</span> fBufMgr;
<a name="l00397"></a>00397 }
<a name="l00398"></a>00398 
<a name="l00399"></a><a class="code" href="classXMLValidator.html#d9ce4915c17a6eba60754ab6a5f5d7f2">00399</a> <span class="keyword">inline</span> XMLBufferMgr* <a class="code" href="classXMLValidator.html#c4bd73e48ce289a6a402258a0d9346b8">XMLValidator::getBufMgr</a>()
<a name="l00400"></a>00400 {
<a name="l00401"></a>00401     <span class="keywordflow">return</span> fBufMgr;
<a name="l00402"></a>00402 }
<a name="l00403"></a>00403 
<a name="l00404"></a><a class="code" href="classXMLValidator.html#e8b95228d9a32830f460554057c61454">00404</a> <span class="keyword">inline</span> <span class="keyword">const</span> ReaderMgr* <a class="code" href="classXMLValidator.html#e8b95228d9a32830f460554057c61454">XMLValidator::getReaderMgr</a>()<span class="keyword"> const</span>
<a name="l00405"></a>00405 <span class="keyword"></span>{
<a name="l00406"></a>00406     <span class="keywordflow">return</span> fReaderMgr;
<a name="l00407"></a>00407 }
<a name="l00408"></a>00408 
<a name="l00409"></a><a class="code" href="classXMLValidator.html#75bbad9d31e2f7188afb14f941632c12">00409</a> <span class="keyword">inline</span> ReaderMgr* <a class="code" href="classXMLValidator.html#e8b95228d9a32830f460554057c61454">XMLValidator::getReaderMgr</a>()
<a name="l00410"></a>00410 {
<a name="l00411"></a>00411     <span class="keywordflow">return</span> fReaderMgr;
<a name="l00412"></a>00412 }
<a name="l00413"></a>00413 
<a name="l00414"></a><a class="code" href="classXMLValidator.html#a534361df30152927e8db95838c20d63">00414</a> <span class="keyword">inline</span> <span class="keyword">const</span> XMLScanner* <a class="code" href="classXMLValidator.html#a534361df30152927e8db95838c20d63">XMLValidator::getScanner</a>()<span class="keyword"> const</span>
<a name="l00415"></a>00415 <span class="keyword"></span>{
<a name="l00416"></a>00416     <span class="keywordflow">return</span> fScanner;
<a name="l00417"></a>00417 }
<a name="l00418"></a>00418 
<a name="l00419"></a><a class="code" href="classXMLValidator.html#31556fb32bd07f74e8d70cd0674071eb">00419</a> <span class="keyword">inline</span> XMLScanner* <a class="code" href="classXMLValidator.html#a534361df30152927e8db95838c20d63">XMLValidator::getScanner</a>()
<a name="l00420"></a>00420 {
<a name="l00421"></a>00421     <span class="keywordflow">return</span> fScanner;
<a name="l00422"></a>00422 }
<a name="l00423"></a>00423 
<a name="l00424"></a>00424 <a class="code" href="XercesDefs_8hpp.html#f03d5cb905763ef7a7bd22ab82718285">XERCES_CPP_NAMESPACE_END</a>
<a name="l00425"></a>00425 
<a name="l00426"></a>00426 <span class="preprocessor">#endif</span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Jan 29 15:30:48 2010 for Xerces-C++ by&nbsp;
<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>