Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-release > by-pkgid > ee493823148ed6fb895c827f4e36eb1c > files > 1138

xerces-c-doc-2.7.0-7mdv2008.1.x86_64.rpm

<HTML><HEAD><SCRIPT language="JavaScript" src="../resources/script.js" type="text/javascript"></SCRIPT><TITLE>Xerces-C++: XercesDOMParser.hpp Source File</TITLE><link href="XercesApi.css" rel="stylesheet" type="text/css"></HEAD><BODY alink="#ff0000" bgcolor="#ffffff" leftmargin="4" link="#0000ff" marginheight="4" marginwidth="4" text="#000000" topmargin="4" vlink="#0000aa"><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" height="60" rowspan="3" valign="top" width="135"><IMG border="0" height="60" hspace="0" src="../resources/logo.gif" vspace="0" width="135"></TD><TD align="left" colspan="4" height="5" valign="top" width="456"><IMG border="0" height="5" hspace="0" src="../resources/line.gif" vspace="0" width="456"></TD><TD align="left" height="60" rowspan="3" valign="top" width="29"><IMG border="0" height="60" hspace="0" src="../resources/right.gif" vspace="0" width="29"></TD></TR><TR><TD align="left" bgcolor="#0086b2" colspan="4" height="35" valign="top" width="456"><IMG alt="" border="0" height="35" hspace="0" src="../graphics/api-header.jpg" vspace="0" width="456"></TD></TR><TR><TD align="left" height="20" valign="top" width="168"><IMG border="0" height="20" hspace="0" src="../resources/bottom.gif" vspace="0" width="168"></TD><TD align="left" height="20" valign="top" width="96"><A href="http://xml.apache.org/" onMouseOut="rolloverOff('xml');" onMouseOver="rolloverOn('xml');" target="new"><IMG alt="http://xml.apache.org/" border="0" height="20" hspace="0" name="xml" onLoad="rolloverLoad('xml','../resources/button-xml-hi.gif','../resources/button-xml-lo.gif');" src="../resources/button-xml-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.apache.org/" onMouseOut="rolloverOff('asf');" onMouseOver="rolloverOn('asf');" target="new"><IMG alt="http://www.apache.org/" border="0" height="20" hspace="0" name="asf" onLoad="rolloverLoad('asf','../resources/button-asf-hi.gif','../resources/button-asf-lo.gif');" src="../resources/button-asf-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.w3.org/" onMouseOut="rolloverOff('w3c');" onMouseOver="rolloverOn('w3c');" target="new"><IMG alt="http://www.w3.org/" border="0" height="20" hspace="0" name="w3c" onLoad="rolloverLoad('w3c','../resources/button-w3c-hi.gif','../resources/button-w3c-lo.gif');" src="../resources/button-w3c-lo.gif" vspace="0" width="96"></A></TD></TR></TABLE><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" valign="top" width="120"><IMG border="0" height="14" hspace="0" src="../resources/join.gif" vspace="0" width="120"><BR>
  <A href="../../index.html" onMouseOut="rolloverOff('side-ext-2');" onMouseOver="rolloverOn('side-ext-2');"><IMG alt="Home" border="0" height="12" hspace="0" name="side-ext-2" onLoad="rolloverLoad('side-ext-2','../graphics/ext-2-label-2.jpg','../graphics/ext-2-label-3.jpg');" src="../graphics/ext-2-label-3.jpg" vspace="0" width="120"></A><BR>

  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>

     <A href="../index.html" onMouseOut="rolloverOff('side-index');" onMouseOver="rolloverOn('side-index');"><IMG alt="Readme" border="0" height="12" hspace="0" name="side-index" onLoad="rolloverLoad('side-index','../graphics/index-label-2.jpg','../graphics/index-label-3.jpg');" src="../graphics/index-label-3.jpg" vspace="0" width="120"></A><BR>
     <A href="../charter.html" onMouseOut="rolloverOff('side-charter');" onMouseOver="rolloverOn('side-charter');"><IMG alt="Charter" border="0" height="12" hspace="0" name="side-charter" onLoad="rolloverLoad('side-charter','../graphics/charter-label-2.jpg','../graphics/charter-label-3.jpg');" src="../graphics/charter-label-3.jpg" vspace="0" width="120"></A><BR>
     <A href="../releases.html" onMouseOut="rolloverOff('side-releases');" onMouseOver="rolloverOn('side-releases');"><IMG alt="Release Info" border="0" height="12" hspace="0" name="side-releases" onLoad="rolloverLoad('side-releases','../graphics/releases-label-2.jpg','../graphics/releases-label-3.jpg');" src="../graphics/releases-label-3.jpg" vspace="0" width="120"></A><BR>
     
     




  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>

     <A href="../install.html" onMouseOut="rolloverOff('side-install');" onMouseOver="rolloverOn('side-install');"><IMG alt="Installation" border="0" height="12" hspace="0" name="side-install" onLoad="rolloverLoad('side-install','../graphics/install-label-2.jpg','../graphics/install-label-3.jpg');" src="../graphics/install-label-3.jpg" vspace="0" width="120"></A><BR>
     <A href="http://xml.apache.org/xerces-c/download.cgi" onMouseOut="rolloverOff('side-ext-20');" onMouseOver="rolloverOn('side-ext-20');"><IMG alt="Download" border="0" height="12" hspace="0" name="side-ext-20" onLoad="rolloverLoad('side-ext-20','../graphics/ext-20-label-2.jpg','../graphics/ext-20-label-3.jpg');" src="../graphics/ext-20-label-3.jpg" vspace="0" width="120"></A><BR>
     <A href="../build.html" onMouseOut="rolloverOff('side-build');" onMouseOver="rolloverOn('side-build');"><IMG alt="Build Instructions" border="0" height="12" hspace="0" name="side-build" onLoad="rolloverLoad('side-build','../graphics/build-label-2.jpg','../graphics/build-label-3.jpg');" src="../graphics/build-label-3.jpg" vspace="0" width="120"></A><BR>
     
     
     

  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>

     <A href="../faqs.html" onMouseOut="rolloverOff('side-faqs');" onMouseOver="rolloverOn('side-faqs');"><IMG alt="FAQs" border="0" height="12" hspace="0" name="side-faqs" onLoad="rolloverLoad('side-faqs','../graphics/faqs-label-2.jpg','../graphics/faqs-label-3.jpg');" src="../graphics/faqs-label-3.jpg" vspace="0" width="120"></A><BR>

     <A href="../samples.html" onMouseOut="rolloverOff('side-samples');" onMouseOver="rolloverOn('side-samples');"><IMG alt="Samples" border="0" height="12" hspace="0" name="side-samples" onLoad="rolloverLoad('side-samples','../graphics/samples-label-2.jpg','../graphics/samples-label-3.jpg');" src="../graphics/samples-label-3.jpg" vspace="0" width="120"></A><BR>
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     

     <A href="../api.html" onMouseOut="rolloverOff('side-api');" onMouseOver="rolloverOn('side-api');"><IMG alt="API Docs" border="0" height="12" hspace="0" name="side-api" onLoad="rolloverLoad('side-api','../graphics/api-label-2.jpg','../graphics/api-label-3.jpg');" src="../graphics/api-label-3.jpg" vspace="0" width="120"></A><BR>

  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>

     <A href="../ApacheDOMC++Binding.html" onMouseOut="rolloverOff('side-ext-70');" onMouseOver="rolloverOn('side-ext-70');"><IMG alt="DOM C++ Binding" border="0" height="12" hspace="0" name="side-ext-70" onLoad="rolloverLoad('side-ext-70','../graphics/ext-70-label-2.jpg','../graphics/ext-70-label-3.jpg');" src="../graphics/ext-70-label-3.jpg" vspace="0" width="120"></A><BR>

     <IMG alt="Programming" border="0" height="12" hspace="0" src="../graphics/program-label-1.jpg" vspace="0" width="120"><BR>
     
     
     
     
     
     
     

     <A href="../migrate.html" onMouseOut="rolloverOff('side-migrate');" onMouseOver="rolloverOn('side-migrate');"><IMG alt="Migration Guide" border="0" height="12" hspace="0" name="side-migrate" onLoad="rolloverLoad('side-migrate','../graphics/migrate-label-2.jpg','../graphics/migrate-label-3.jpg');" src="../graphics/migrate-label-3.jpg" vspace="0" width="120"></A><BR>
     
     
  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>

  <A href="../feedback.html" onMouseOut="rolloverOff('side-feedback');" onMouseOver="rolloverOn('side-feedback');"><IMG alt="Feedback" border="0" height="12" hspace="0" name="side-feedback" onLoad="rolloverLoad('side-feedback','../graphics/feedback-label-2.jpg','../graphics/feedback-label-3.jpg');" src="../graphics/feedback-label-3.jpg" vspace="0" width="120"></A><BR>
  <A href="bug-report.html" onMouseOut="rolloverOff('side-bug-report');" onMouseOver="rolloverOn('side-bug-report');"><IMG alt="Bug-Reporting" border="0" height="12" hspace="0" name="side-bug-report" onLoad="rolloverLoad('side-bug-report','../graphics/bug-report-label-2.jpg','../graphics/bug-report-label-3.jpg');" src="../graphics/bug-report-label-3.jpg" vspace="0" width="120"></A><BR>
  <A href="../pdf.html" onMouseOut="rolloverOff('side-pdf');" onMouseOver="rolloverOn('side-pdf');"><IMG alt="PDF Document" border="0" height="12" hspace="0" name="side-pdf" onLoad="rolloverLoad('side-pdf','../graphics/pdf-label-2.jpg','../graphics/pdf-label-3.jpg');" src="../graphics/pdf-label-3.jpg" vspace="0" width="120"></A><BR>

  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>

   
<A href="http://svn.apache.org/viewcvs.cgi/xerces/?root=Apache-SVN" onMouseOut="rolloverOff('side-ext-102');" onMouseOver="rolloverOn('side-ext-102');"><IMG alt="Source Repository" border="0" height="12" hspace="0" name="side-ext-102" onLoad="rolloverLoad('side-ext-102','../graphics/ext-102-label-2.jpg','../graphics/ext-102-label-3.jpg');" src="../graphics/ext-102-label-3.jpg" vspace="0" width="120"></A><BR>

   
<A href="http://marc.theaimsgroup.com/?l=xerces-c-users" onMouseOut="rolloverOff('side-ext-104');" onMouseOver="rolloverOn('side-ext-104');"><IMG alt="User Mail Archive" border="0" height="12" hspace="0" name="side-ext-104" onLoad="rolloverLoad('side-ext-104','../graphics/ext-104-label-2.jpg','../graphics/ext-104-label-3.jpg');" src="../graphics/ext-104-label-3.jpg" vspace="0" width="120"></A><BR>

   
<A href="http://marc.theaimsgroup.com/?l=xerces-c-dev" onMouseOut="rolloverOff('side-ext-106');" onMouseOver="rolloverOn('side-ext-106');"><IMG alt="Devel Mail Archive" border="0" height="12" hspace="0" name="side-ext-106" onLoad="rolloverLoad('side-ext-106','../graphics/ext-106-label-2.jpg','../graphics/ext-106-label-3.jpg');" src="../graphics/ext-106-label-3.jpg" vspace="0" width="120"></A><BR>




<IMG border="0" height="14" hspace="0" src="../resources/close.gif" vspace="0" width="120"><BR></TD><TD align="left" valign="top" width="500"><TABLE border="0" cellpadding="3" cellspacing="0"><TR><TD>
    <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#FFFFFF" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="../resources/void.gif" vspace="0" width="2"><B>API Docs for SAX and DOM</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10">&nbsp;</TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif">

	    <P>
<!-- Generated by Doxygen 1.4.1 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
<div class="nav">
<a class="el" href="dir_000000.html">src</a>&nbsp;/&nbsp;<a class="el" href="dir_000001.html">xercesc</a>&nbsp;/&nbsp;<a class="el" href="dir_000002.html">parsers</a></div>
<h1>XercesDOMParser.hpp</h1><a href="XercesDOMParser_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001 <span class="comment">/*</span>
00002 <span class="comment"> * Copyright 2001-2002,2004 The Apache Software Foundation.</span>
00003 <span class="comment"> * </span>
00004 <span class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</span>
00005 <span class="comment"> * you may not use this file except in compliance with the License.</span>
00006 <span class="comment"> * You may obtain a copy of the License at</span>
00007 <span class="comment"> * </span>
00008 <span class="comment"> *      http://www.apache.org/licenses/LICENSE-2.0</span>
00009 <span class="comment"> * </span>
00010 <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span>
00011 <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span>
00012 <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
00013 <span class="comment"> * See the License for the specific language governing permissions and</span>
00014 <span class="comment"> * limitations under the License.</span>
00015 <span class="comment"> */</span>
00016 
00017 <span class="comment">/*</span>
00018 <span class="comment"> * $Id: XercesDOMParser.hpp 191708 2005-06-21 19:02:15Z cargilld $</span>
00019 <span class="comment"> *</span>
00020 <span class="comment"> */</span>
00021 
00022 <span class="preprocessor">#if !defined(XercesDOMParser_HPP)</span>
<a name="l00023"></a><a class="code" href="XercesDOMParser_8hpp.html#a0">00023</a> <span class="preprocessor"></span><span class="preprocessor">#define XercesDOMParser_HPP</span>
00024 <span class="preprocessor"></span>
00025 
00026 <span class="preprocessor">#include &lt;<a class="code" href="AbstractDOMParser_8hpp.html">xercesc/parsers/AbstractDOMParser.hpp</a>&gt;</span>
00027 
00028 <a class="code" href="XercesDefs_8hpp.html#a3">XERCES_CPP_NAMESPACE_BEGIN</a>
00029 
00030 
00031 <span class="keyword">class </span><a class="code" href="classEntityResolver.html">EntityResolver</a>;
00032 <span class="keyword">class </span><a class="code" href="classErrorHandler.html">ErrorHandler</a>;
00033 <span class="keyword">class </span>Grammar;
00034 <span class="keyword">class </span><a class="code" href="classXMLEntityResolver.html">XMLEntityResolver</a>;
00035 <span class="keyword">class </span><a class="code" href="classXMLResourceIdentifier.html">XMLResourceIdentifier</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#a15"></a> XercesDOMParser : <span class="keyword">public</span> <a class="code" href="classAbstractDOMParser.html">AbstractDOMParser</a>
00048 {
00049 <span class="keyword">public</span> :
00050     <span class="comment">// -----------------------------------------------------------------------</span>
00051     <span class="comment">//  Constructors and Detructor</span>
00052     <span class="comment">// -----------------------------------------------------------------------</span>
00053 
00071     XercesDOMParser
00072     (
00073           <a class="code" href="classXMLValidator.html">XMLValidator</a>* <span class="keyword">const</span>   valToAdopt = 0
00074         , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span>  manager = XMLPlatformUtils::fgMemoryManager
00075         , <a class="code" href="classXMLGrammarPool.html">XMLGrammarPool</a>* <span class="keyword">const</span> gramPool = 0        
00076     );
00077 
00081     <span class="keyword">virtual</span> ~XercesDOMParser();
00082 
00084 
00085 
00086     <span class="comment">// -----------------------------------------------------------------------</span>
00087     <span class="comment">//  Getter methods</span>
00088     <span class="comment">// -----------------------------------------------------------------------</span>
00089 
00092 
00100     <a class="code" href="classErrorHandler.html">ErrorHandler</a>* getErrorHandler();
00101 
00109     <span class="keyword">const</span> <a class="code" href="classErrorHandler.html">ErrorHandler</a>* getErrorHandler() <span class="keyword">const</span>;
00110 
00118     <a class="code" href="classEntityResolver.html">EntityResolver</a>* getEntityResolver();
00119 
00127     <span class="keyword">const</span> <a class="code" href="classEntityResolver.html">EntityResolver</a>* getEntityResolver() <span class="keyword">const</span>;
00128 
00137     <a class="code" href="classXMLEntityResolver.html">XMLEntityResolver</a>* getXMLEntityResolver();
00138  
00147     <span class="keyword">const</span> <a class="code" href="classXMLEntityResolver.html">XMLEntityResolver</a>* getXMLEntityResolver() <span class="keyword">const</span>;
00148 
00159     <span class="keywordtype">bool</span> isCachingGrammarFromParse() <span class="keyword">const</span>;
00160 
00171     <span class="keywordtype">bool</span> isUsingCachedGrammarInParse() <span class="keyword">const</span>;
00172 
00179     Grammar* getGrammar(<span class="keyword">const</span> XMLCh* <span class="keyword">const</span> nameSpaceKey);
00180 
00186     Grammar* getRootGrammar();
00187 
00194     <span class="keyword">const</span> XMLCh* getURIText(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> uriId) <span class="keyword">const</span>;
00195 
00202     <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> getSrcOffset() <span class="keyword">const</span>;
00203 
00211     <span class="keywordtype">bool</span> getIgnoreCachedDTD() <span class="keyword">const</span>;
00212 
00214 
00215 
00216     <span class="comment">// -----------------------------------------------------------------------</span>
00217     <span class="comment">//  Setter methods</span>
00218     <span class="comment">// -----------------------------------------------------------------------</span>
00219 
00222 
00236     <span class="keywordtype">void</span> setErrorHandler(<a class="code" href="classErrorHandler.html">ErrorHandler</a>* <span class="keyword">const</span> handler);
00237 
00254     <span class="keywordtype">void</span> setEntityResolver(<a class="code" href="classEntityResolver.html">EntityResolver</a>* <span class="keyword">const</span> handler);
00255 
00273     <span class="keywordtype">void</span> setXMLEntityResolver(<a class="code" href="classXMLEntityResolver.html">XMLEntityResolver</a>* <span class="keyword">const</span> handler);
00274 
00292     <span class="keywordtype">void</span> cacheGrammarFromParse(<span class="keyword">const</span> <span class="keywordtype">bool</span> newState);
00293 
00312     <span class="keywordtype">void</span> useCachedGrammarInParse(<span class="keyword">const</span> <span class="keywordtype">bool</span> newState);
00313 
00328     <span class="keywordtype">void</span> setIgnoreCachedDTD(<span class="keyword">const</span> <span class="keywordtype">bool</span> newValue);
00329 
00331 
00332     <span class="comment">// -----------------------------------------------------------------------</span>
00333     <span class="comment">//  Utility methods</span>
00334     <span class="comment">// -----------------------------------------------------------------------</span>
00335 
00361     <span class="keywordtype">void</span> resetDocumentPool();
00362 
00364 
00365     <span class="comment">// -----------------------------------------------------------------------</span>
00366     <span class="comment">//  Implementation of the XMLErrorReporter interface.</span>
00367     <span class="comment">// -----------------------------------------------------------------------</span>
00368 
00371 
00396     <span class="keyword">virtual</span> <span class="keywordtype">void</span> error
00397     (
00398         <span class="keyword">const</span>   <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>                errCode
00399         , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span>                msgDomain
00400         , <span class="keyword">const</span> XMLErrorReporter::ErrTypes  errType
00401         , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span>                errorText
00402         , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span>                systemId
00403         , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span>                publicId
00404         , <span class="keyword">const</span> XMLSSize_t                  lineNum
00405         , <span class="keyword">const</span> XMLSSize_t                  colNum
00406     );
00407 
00416     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classXMLErrorReporter.html#z550_1">resetErrors</a>();
00418 
00419 
00420     <span class="comment">// -----------------------------------------------------------------------</span>
00421     <span class="comment">//  Implementation of the XMLEntityHandler interface.</span>
00422     <span class="comment">// -----------------------------------------------------------------------</span>
00423 
00426 
00439     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classXMLEntityHandler.html#z544_0">endInputSource</a>(<span class="keyword">const</span> <a class="code" href="classInputSource.html">InputSource</a>&amp; inputSource);
00440 
00456     <span class="keyword">virtual</span> <span class="keywordtype">bool</span> expandSystemId
00457     (
00458         <span class="keyword">const</span>   XMLCh* <span class="keyword">const</span>    systemId
00459         ,       XMLBuffer&amp;      toFill
00460     );
00461 
00470     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classXMLEntityHandler.html#z544_2">resetEntities</a>();
00471 
00495     <span class="keyword">virtual</span> <a class="code" href="classInputSource.html">InputSource</a>* resolveEntity
00496     (
00497         <span class="keyword">const</span>   XMLCh* <span class="keyword">const</span>    publicId
00498         , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span>    systemId
00499         , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span>    baseURI = 0
00500     );
00501 
00518     <span class="keyword">virtual</span> <a class="code" href="classInputSource.html">InputSource</a>* resolveEntity
00519     (
00520         <a class="code" href="classXMLResourceIdentifier.html">XMLResourceIdentifier</a>* resourceIdentifier
00521     );
00522 
00535     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classXMLEntityHandler.html#z544_5">startInputSource</a>(<span class="keyword">const</span> <a class="code" href="classInputSource.html">InputSource</a>&amp; inputSource);
00536 
00538 
00539     <span class="comment">// -----------------------------------------------------------------------</span>
00540     <span class="comment">//  Grammar preparsing interface</span>
00541     <span class="comment">// -----------------------------------------------------------------------</span>
00542 
00572     Grammar* loadGrammar(<span class="keyword">const</span> <a class="code" href="classInputSource.html">InputSource</a>&amp; source,
00573                          <span class="keyword">const</span> <span class="keywordtype">short</span> grammarType,
00574                          <span class="keyword">const</span> <span class="keywordtype">bool</span> toCache = <span class="keyword">false</span>);
00575 
00601     Grammar* loadGrammar(<span class="keyword">const</span> XMLCh* <span class="keyword">const</span> systemId,
00602                          <span class="keyword">const</span> <span class="keywordtype">short</span> grammarType,
00603                          <span class="keyword">const</span> <span class="keywordtype">bool</span> toCache = <span class="keyword">false</span>);
00604 
00629     Grammar* loadGrammar(<span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> systemId,
00630                          <span class="keyword">const</span> <span class="keywordtype">short</span> grammarType,
00631                          <span class="keyword">const</span> <span class="keywordtype">bool</span> toCache = <span class="keyword">false</span>);
00632 
00636     <span class="keywordtype">void</span> resetCachedGrammarPool();
00637 
00639 
00640 
00641 <span class="keyword">private</span> :
00642     <span class="comment">// -----------------------------------------------------------------------</span>
00643     <span class="comment">//  Initialize/Cleanup methods</span>
00644     <span class="comment">// -----------------------------------------------------------------------</span>
00645     <span class="keywordtype">void</span> resetParse();
00646 
00647     <span class="comment">// -----------------------------------------------------------------------</span>
00648     <span class="comment">//  Unimplemented constructors and operators</span>
00649     <span class="comment">// -----------------------------------------------------------------------</span>
00650     XercesDOMParser(<span class="keyword">const</span> XercesDOMParser&amp;);
00651     XercesDOMParser&amp; operator=(<span class="keyword">const</span> XercesDOMParser&amp;);
00652 
00653     <span class="comment">// -----------------------------------------------------------------------</span>
00654     <span class="comment">//  Private data members</span>
00655     <span class="comment">//</span>
00656     <span class="comment">//  fEntityResolver</span>
00657     <span class="comment">//      The installed SAX entity resolver, if any. Null if none.</span>
00658     <span class="comment">//</span>
00659     <span class="comment">//  fErrorHandler</span>
00660     <span class="comment">//      The installed SAX error handler, if any. Null if none.</span>
00661     <span class="comment">//-----------------------------------------------------------------------</span>
00662     <a class="code" href="classEntityResolver.html">EntityResolver</a>*          fEntityResolver;
00663     <a class="code" href="classXMLEntityResolver.html">XMLEntityResolver</a>*       fXMLEntityResolver;
00664     <a class="code" href="classErrorHandler.html">ErrorHandler</a>*            fErrorHandler;
00665 };
00666 
00667 
00668 
00669 <span class="comment">// ---------------------------------------------------------------------------</span>
00670 <span class="comment">//  XercesDOMParser: Handlers for the XMLEntityHandler interface</span>
00671 <span class="comment">// ---------------------------------------------------------------------------</span>
<a name="l00672"></a><a class="code" href="classXercesDOMParser.html#z925_0">00672</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classXercesDOMParser.html#z925_0">XercesDOMParser::endInputSource</a>(<span class="keyword">const</span> <a class="code" href="classInputSource.html">InputSource</a>&amp;)
00673 {
00674     <span class="comment">// The DOM entity resolver doesn't handle this</span>
00675 }
00676 
<a name="l00677"></a><a class="code" href="classXercesDOMParser.html#z925_1">00677</a> <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classXercesDOMParser.html#z925_1">XercesDOMParser::expandSystemId</a>(<span class="keyword">const</span> XMLCh* <span class="keyword">const</span>, XMLBuffer&amp;)
00678 {
00679     <span class="comment">// The DOM entity resolver doesn't handle this</span>
00680     <span class="keywordflow">return</span> <span class="keyword">false</span>;
00681 }
00682 
<a name="l00683"></a><a class="code" href="classXercesDOMParser.html#z925_2">00683</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classXercesDOMParser.html#z925_2">XercesDOMParser::resetEntities</a>()
00684 {
00685     <span class="comment">// Nothing to do on this one</span>
00686 }
00687 
<a name="l00688"></a><a class="code" href="classXercesDOMParser.html#z925_5">00688</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classXercesDOMParser.html#z925_5">XercesDOMParser::startInputSource</a>(<span class="keyword">const</span> <a class="code" href="classInputSource.html">InputSource</a>&amp;)
00689 {
00690     <span class="comment">// The DOM entity resolver doesn't handle this</span>
00691 }
00692 
00693 
00694 <span class="comment">// ---------------------------------------------------------------------------</span>
00695 <span class="comment">//  XercesDOMParser: Getter methods</span>
00696 <span class="comment">// ---------------------------------------------------------------------------</span>
<a name="l00697"></a><a class="code" href="classXercesDOMParser.html#z917_0">00697</a> <span class="keyword">inline</span> <a class="code" href="classErrorHandler.html">ErrorHandler</a>* <a class="code" href="classXercesDOMParser.html#z917_0">XercesDOMParser::getErrorHandler</a>()
00698 {
00699     <span class="keywordflow">return</span> fErrorHandler;
00700 }
00701 
<a name="l00702"></a><a class="code" href="classXercesDOMParser.html#z917_1">00702</a> <span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="classErrorHandler.html">ErrorHandler</a>* <a class="code" href="classXercesDOMParser.html#z917_0">XercesDOMParser::getErrorHandler</a>()<span class="keyword"> const</span>
00703 <span class="keyword"></span>{
00704     <span class="keywordflow">return</span> fErrorHandler;
00705 }
00706 
<a name="l00707"></a><a class="code" href="classXercesDOMParser.html#z917_2">00707</a> <span class="keyword">inline</span> <a class="code" href="classEntityResolver.html">EntityResolver</a>* <a class="code" href="classXercesDOMParser.html#z917_2">XercesDOMParser::getEntityResolver</a>()
00708 {
00709     <span class="keywordflow">return</span> fEntityResolver;
00710 }
00711 
<a name="l00712"></a><a class="code" href="classXercesDOMParser.html#z917_3">00712</a> <span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="classEntityResolver.html">EntityResolver</a>* <a class="code" href="classXercesDOMParser.html#z917_2">XercesDOMParser::getEntityResolver</a>()<span class="keyword"> const</span>
00713 <span class="keyword"></span>{
00714     <span class="keywordflow">return</span> fEntityResolver;
00715 }
00716 
<a name="l00717"></a><a class="code" href="classXercesDOMParser.html#z917_4">00717</a> <span class="keyword">inline</span> <a class="code" href="classXMLEntityResolver.html">XMLEntityResolver</a>* <a class="code" href="classXercesDOMParser.html#z917_4">XercesDOMParser::getXMLEntityResolver</a>()
00718 {
00719     <span class="keywordflow">return</span> fXMLEntityResolver;
00720 }
00721 
<a name="l00722"></a><a class="code" href="classXercesDOMParser.html#z917_5">00722</a> <span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="classXMLEntityResolver.html">XMLEntityResolver</a>* <a class="code" href="classXercesDOMParser.html#z917_4">XercesDOMParser::getXMLEntityResolver</a>()<span class="keyword"> const</span>
00723 <span class="keyword"></span>{
00724     <span class="keywordflow">return</span> fXMLEntityResolver;
00725 }
00726 
00727 <a class="code" href="XercesDefs_8hpp.html#a4">XERCES_CPP_NAMESPACE_END</a>
00728 
00729 <span class="preprocessor">#endif</span>
</pre></div>    </FONT></TD></TR></TABLE><BR>
</TD></TR></TABLE></TD></TR></TABLE><BR><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD bgcolor="#0086b2"><IMG height="1" src="images/dot.gif" width="1" alt=""></TD></TR><TR><TD align="center"><FONT color="#0086b2" size="-1"><I>
              Copyright &copy; 1994-2004 The Apache Software Foundation.
              All Rights Reserved.
            </I></FONT></TD></TR></TABLE></BODY></HTML>