blob: 0ea6c9eb155ed61862e650379e1cbc4fc0b95fe5 [file] [log] [blame]
<HTML><HEAD><SCRIPT language="JavaScript" src="../resources/script.js" type="text/javascript"></SCRIPT><TITLE>Xerces-C++: SAXParser.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://xerces.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="../program.html" onMouseOut="rolloverOff('side-program');" onMouseOver="rolloverOn('side-program');"><IMG alt="Programming" border="0" height="12" hspace="0" name="side-program" onLoad="rolloverLoad('side-program','../graphics/program-label-2.jpg','../graphics/program-label-3.jpg');" src="../graphics/program-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="../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>
<IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><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>
<A href="../ApacheDOMC++Binding.html" onMouseOut="rolloverOff('side-ext-88');" onMouseOver="rolloverOn('side-ext-88');"><IMG alt="DOM C++ Binding" border="0" height="12" hspace="0" name="side-ext-88" onLoad="rolloverLoad('side-ext-88','../graphics/ext-88-label-2.jpg','../graphics/ext-88-label-3.jpg');" src="../graphics/ext-88-label-3.jpg" vspace="0" width="120"></A><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="../mailing-lists.html" onMouseOut="rolloverOff('side-mailing-lists');" onMouseOver="rolloverOn('side-mailing-lists');"><IMG alt="Mailing Lists" border="0" height="12" hspace="0" name="side-mailing-lists" onLoad="rolloverLoad('side-mailing-lists','../graphics/mailing-lists-label-2.jpg','../graphics/mailing-lists-label-3.jpg');" src="../graphics/mailing-lists-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="../source-repository.html" onMouseOut="rolloverOff('side-source-repository');" onMouseOver="rolloverOn('side-source-repository');"><IMG alt="Source Repository" border="0" height="12" hspace="0" name="side-source-repository" onLoad="rolloverLoad('side-source-repository','../graphics/source-repository-label-2.jpg','../graphics/source-repository-label-3.jpg');" src="../graphics/source-repository-label-3.jpg" vspace="0" width="120"></A><BR>
<A href="../applications.html" onMouseOut="rolloverOff('side-applications');" onMouseOver="rolloverOn('side-applications');"><IMG alt="Applications" border="0" height="12" hspace="0" name="side-applications" onLoad="rolloverLoad('side-applications','../graphics/applications-label-2.jpg','../graphics/applications-label-3.jpg');" src="../graphics/applications-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.5.3 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</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>
<li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
</ul>
</div>
<h1>SAXParser.hpp</h1><a href="SAXParser_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: SAXParser.hpp 568078 2007-08-21 11:43:25Z 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(SAXPARSER_HPP)</span>
<a name="l00023"></a><a class="code" href="SAXParser_8hpp.html#30f126ef2a7423a2ba917e128141b319">00023</a> <span class="preprocessor"></span><span class="preprocessor">#define SAXPARSER_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="Parser_8hpp.html">xercesc/sax/Parser.hpp</a>&gt;</span>
<a name="l00026"></a>00026 <span class="preprocessor">#include &lt;xercesc/internal/VecAttrListImpl.hpp&gt;</span>
<a name="l00027"></a>00027 <span class="preprocessor">#include &lt;<a class="code" href="XMLDocumentHandler_8hpp.html">xercesc/framework/XMLDocumentHandler.hpp</a>&gt;</span>
<a name="l00028"></a>00028 <span class="preprocessor">#include &lt;<a class="code" href="XMLElementDecl_8hpp.html">xercesc/framework/XMLElementDecl.hpp</a>&gt;</span>
<a name="l00029"></a>00029 <span class="preprocessor">#include &lt;<a class="code" href="XMLEntityHandler_8hpp.html">xercesc/framework/XMLEntityHandler.hpp</a>&gt;</span>
<a name="l00030"></a>00030 <span class="preprocessor">#include &lt;<a class="code" href="XMLErrorReporter_8hpp.html">xercesc/framework/XMLErrorReporter.hpp</a>&gt;</span>
<a name="l00031"></a>00031 <span class="preprocessor">#include &lt;xercesc/framework/XMLBuffer.hpp&gt;</span>
<a name="l00032"></a>00032 <span class="preprocessor">#include &lt;<a class="code" href="SecurityManager_8hpp.html">xercesc/util/SecurityManager.hpp</a>&gt;</span>
<a name="l00033"></a>00033 <span class="preprocessor">#include &lt;xercesc/validators/DTD/DocTypeHandler.hpp&gt;</span>
<a name="l00034"></a>00034
<a name="l00035"></a>00035 <a class="code" href="XercesDefs_8hpp.html#43d74fa53d868d978f3e97cbb78b194d">XERCES_CPP_NAMESPACE_BEGIN</a>
<a name="l00036"></a>00036
<a name="l00037"></a>00037
<a name="l00038"></a>00038 <span class="keyword">class </span><a class="code" href="classDocumentHandler.html" title="Receive notification of general document events.">DocumentHandler</a>;
<a name="l00039"></a>00039 <span class="keyword">class </span><a class="code" href="classEntityResolver.html" title="Basic interface for resolving entities.">EntityResolver</a>;
<a name="l00040"></a>00040 <span class="keyword">class </span>XMLPScanToken;
<a name="l00041"></a>00041 <span class="keyword">class </span>XMLScanner;
<a name="l00042"></a>00042 <span class="keyword">class </span><a class="code" href="classXMLValidator.html" title="This abstract class provides the interface for all validators.">XMLValidator</a>;
<a name="l00043"></a>00043 <span class="keyword">class </span>Grammar;
<a name="l00044"></a>00044 <span class="keyword">class </span>GrammarResolver;
<a name="l00045"></a>00045 <span class="keyword">class </span><a class="code" href="classXMLGrammarPool.html">XMLGrammarPool</a>;
<a name="l00046"></a>00046 <span class="keyword">class </span><a class="code" href="classXMLEntityResolver.html" title="Revised interface for resolving entities.">XMLEntityResolver</a>;
<a name="l00047"></a>00047 <span class="keyword">class </span><a class="code" href="classXMLResourceIdentifier.html">XMLResourceIdentifier</a>;
<a name="l00048"></a>00048 <span class="keyword">class </span><a class="code" href="classPSVIHandler.html" title="This abstract class provides the interface for the scanner to return PSVI information...">PSVIHandler</a>;
<a name="l00049"></a>00049
<a name="l00064"></a><a class="code" href="classSAXParser.html">00064</a> <span class="keyword">class </span><a class="code" href="XercesDefs_8hpp.html#12b3de3d73b0c001f05eacd202c9f2f9"></a> <a class="code" href="classSAXParser.html" title="This class implements the SAX &amp;#39;Parser&amp;#39; interface and should be used by applications...">SAXParser</a> :
<a name="l00065"></a>00065
<a name="l00066"></a>00066 <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="l00067"></a>00067 , <span class="keyword">public</span> <a class="code" href="classParser.html" title="Basic interface for SAX (Simple API for XML) parsers.">Parser</a>
<a name="l00068"></a>00068 , <span class="keyword">public</span> <a class="code" href="classXMLDocumentHandler.html" title="This abstract class provides the interface for the scanner to return XML document...">XMLDocumentHandler</a>
<a name="l00069"></a>00069 , <span class="keyword">public</span> <a class="code" href="classXMLErrorReporter.html" title="This abstract class defines a callback mechanism for the scanner.">XMLErrorReporter</a>
<a name="l00070"></a>00070 , <span class="keyword">public</span> <a class="code" href="classXMLEntityHandler.html" title="This abstract class is a callback mechanism for the scanner.">XMLEntityHandler</a>
<a name="l00071"></a>00071 , <span class="keyword">public</span> DocTypeHandler
<a name="l00072"></a>00072 {
<a name="l00073"></a>00073 <span class="keyword">public</span> :
<a name="l00074"></a>00074 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00075"></a>00075 <span class="comment">// Class types</span>
<a name="l00076"></a>00076 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00085"></a><a class="code" href="classSAXParser.html#69273edd1f4985e550a12bb1e499221e">00085</a> <span class="comment"></span> <span class="keyword">enum</span> <a class="code" href="classSAXParser.html#69273edd1f4985e550a12bb1e499221e" title="ValScheme enum used in setValidationScheme Val_Never: Do not report validation errors...">ValSchemes</a>
<a name="l00086"></a>00086 {
<a name="l00087"></a><a class="code" href="classSAXParser.html#69273edd1f4985e550a12bb1e499221e5db38e99844c87fa753475a2645a1be9">00087</a> Val_Never
<a name="l00088"></a><a class="code" href="classSAXParser.html#69273edd1f4985e550a12bb1e499221ea7e6109acdcabfb531559e92ad3e4f1e">00088</a> , Val_Always
<a name="l00089"></a><a class="code" href="classSAXParser.html#69273edd1f4985e550a12bb1e499221eb08a23615ce8b56718b3b8ece4bc9168">00089</a> , Val_Auto
<a name="l00090"></a>00090 };
<a name="l00091"></a>00091
<a name="l00092"></a>00092
<a name="l00093"></a>00093 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00094"></a>00094 <span class="comment">// Constructors and Destructor</span>
<a name="l00095"></a>00095 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00106"></a>00106 <span class="comment"></span> <a class="code" href="classSAXParser.html" title="This class implements the SAX &amp;#39;Parser&amp;#39; interface and should be used by applications...">SAXParser</a>
<a name="l00107"></a>00107 (
<a name="l00108"></a>00108 <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="l00109"></a>00109 , <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="l00110"></a>00110 , <a class="code" href="classXMLGrammarPool.html">XMLGrammarPool</a>* <span class="keyword">const</span> gramPool = 0
<a name="l00111"></a>00111 );
<a name="l00112"></a>00112
<a name="l00116"></a>00116 ~<a class="code" href="classSAXParser.html" title="This class implements the SAX &amp;#39;Parser&amp;#39; interface and should be used by applications...">SAXParser</a>();
<a name="l00118"></a>00118
<a name="l00119"></a>00119
<a name="l00120"></a>00120 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00121"></a>00121 <span class="comment">// Getter Methods</span>
<a name="l00122"></a>00122 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00131"></a>00131 <span class="comment"></span> <a class="code" href="classDocumentHandler.html" title="Receive notification of general document events.">DocumentHandler</a>* getDocumentHandler();
<a name="l00132"></a>00132
<a name="l00139"></a>00139 <span class="keyword">const</span> <a class="code" href="classDocumentHandler.html" title="Receive notification of general document events.">DocumentHandler</a>* getDocumentHandler() <span class="keyword">const</span>;
<a name="l00140"></a>00140
<a name="l00147"></a>00147 <a class="code" href="classEntityResolver.html" title="Basic interface for resolving entities.">EntityResolver</a>* getEntityResolver();
<a name="l00148"></a>00148
<a name="l00155"></a>00155 <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="l00156"></a>00156
<a name="l00163"></a>00163 <a class="code" href="classXMLEntityResolver.html" title="Revised interface for resolving entities.">XMLEntityResolver</a>* getXMLEntityResolver();
<a name="l00164"></a>00164
<a name="l00171"></a>00171 <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="l00172"></a>00172
<a name="l00179"></a>00179 <a class="code" href="classErrorHandler.html" title="Basic interface for SAX error handlers.">ErrorHandler</a>* getErrorHandler();
<a name="l00180"></a>00180
<a name="l00187"></a>00187 <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="l00188"></a>00188
<a name="l00195"></a>00195 <a class="code" href="classPSVIHandler.html" title="This abstract class provides the interface for the scanner to return PSVI information...">PSVIHandler</a>* getPSVIHandler();
<a name="l00196"></a>00196
<a name="l00203"></a>00203 <span class="keyword">const</span> <a class="code" href="classPSVIHandler.html" title="This abstract class provides the interface for the scanner to return PSVI information...">PSVIHandler</a>* getPSVIHandler() <span class="keyword">const</span>;
<a name="l00204"></a>00204
<a name="l00211"></a>00211 <span class="keyword">const</span> <a class="code" href="classXMLValidator.html" title="This abstract class provides the interface for all validators.">XMLValidator</a>&amp; getValidator() <span class="keyword">const</span>;
<a name="l00212"></a>00212
<a name="l00220"></a>00220 ValSchemes getValidationScheme() <span class="keyword">const</span>;
<a name="l00221"></a>00221
<a name="l00232"></a>00232 <span class="keywordtype">bool</span> getDoSchema() <span class="keyword">const</span>;
<a name="l00233"></a>00233
<a name="l00244"></a>00244 <span class="keywordtype">bool</span> getValidationSchemaFullChecking() <span class="keyword">const</span>;
<a name="l00245"></a>00245
<a name="l00256"></a>00256 <span class="keywordtype">bool</span> getIdentityConstraintChecking() <span class="keyword">const</span>;
<a name="l00257"></a>00257
<a name="l00268"></a>00268 <span class="keywordtype">int</span> getErrorCount() <span class="keyword">const</span>;
<a name="l00269"></a>00269
<a name="l00279"></a>00279 <span class="keywordtype">bool</span> getDoNamespaces() <span class="keyword">const</span>;
<a name="l00280"></a>00280
<a name="l00290"></a>00290 <span class="keywordtype">bool</span> getExitOnFirstFatalError() <span class="keyword">const</span>;
<a name="l00291"></a>00291
<a name="l00302"></a>00302 <span class="keywordtype">bool</span> getValidationConstraintFatal() <span class="keyword">const</span>;
<a name="l00303"></a>00303
<a name="l00323"></a>00323 XMLCh* getExternalSchemaLocation() <span class="keyword">const</span>;
<a name="l00324"></a>00324
<a name="l00344"></a>00344 XMLCh* getExternalNoNamespaceSchemaLocation() <span class="keyword">const</span>;
<a name="l00345"></a>00345
<a name="l00361"></a>00361 <a class="code" href="classSecurityManager.html" title="Allow application to force the parser to behave in a security-conscious way.">SecurityManager</a>* getSecurityManager() <span class="keyword">const</span>;
<a name="l00362"></a>00362
<a name="l00374"></a>00374 <span class="keywordtype">bool</span> getLoadExternalDTD() <span class="keyword">const</span>;
<a name="l00375"></a>00375
<a name="l00386"></a>00386 <span class="keywordtype">bool</span> isCachingGrammarFromParse() <span class="keyword">const</span>;
<a name="l00387"></a>00387
<a name="l00398"></a>00398 <span class="keywordtype">bool</span> isUsingCachedGrammarInParse() <span class="keyword">const</span>;
<a name="l00399"></a>00399
<a name="l00411"></a>00411 <span class="keywordtype">bool</span> getCalculateSrcOfs() <span class="keyword">const</span>;
<a name="l00412"></a>00412
<a name="l00423"></a>00423 <span class="keywordtype">bool</span> getStandardUriConformant() <span class="keyword">const</span>;
<a name="l00424"></a>00424
<a name="l00431"></a>00431 Grammar* getGrammar(<span class="keyword">const</span> XMLCh* <span class="keyword">const</span> nameSpaceKey);
<a name="l00432"></a>00432
<a name="l00438"></a>00438 Grammar* getRootGrammar();
<a name="l00439"></a>00439
<a name="l00446"></a>00446 <span class="keyword">const</span> XMLCh* getURIText(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> uriId) <span class="keyword">const</span>;
<a name="l00447"></a>00447
<a name="l00454"></a>00454 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> getSrcOffset() <span class="keyword">const</span>;
<a name="l00455"></a>00455
<a name="l00467"></a>00467 <span class="keywordtype">bool</span> getGenerateSyntheticAnnotations() <span class="keyword">const</span>;
<a name="l00468"></a>00468
<a name="l00476"></a>00476 <span class="keywordtype">bool</span> getValidateAnnotations() <span class="keyword">const</span>;
<a name="l00477"></a>00477
<a name="l00485"></a>00485 <span class="keywordtype">bool</span> getIgnoreCachedDTD() <span class="keyword">const</span>;
<a name="l00486"></a>00486
<a name="l00494"></a>00494 <span class="keywordtype">bool</span> getIgnoreAnnotations() <span class="keyword">const</span>;
<a name="l00495"></a>00495
<a name="l00503"></a>00503 <span class="keywordtype">bool</span> getDisableDefaultEntityResolution() <span class="keyword">const</span>;
<a name="l00504"></a>00504
<a name="l00512"></a>00512 <span class="keywordtype">bool</span> getSkipDTDValidation() <span class="keyword">const</span>;
<a name="l00513"></a>00513
<a name="l00515"></a>00515
<a name="l00516"></a>00516
<a name="l00517"></a>00517 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00518"></a>00518 <span class="comment">// Setter methods</span>
<a name="l00519"></a>00519 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00520"></a>00520
<a name="l00533"></a>00533 <span class="keywordtype">void</span> setGenerateSyntheticAnnotations(<span class="keyword">const</span> <span class="keywordtype">bool</span> newValue);
<a name="l00534"></a>00534
<a name="l00542"></a>00542 <span class="keywordtype">void</span> setValidateAnnotations(<span class="keyword">const</span> <span class="keywordtype">bool</span> newValue);
<a name="l00543"></a>00543
<a name="l00557"></a>00557 <span class="keywordtype">void</span> setDoNamespaces(<span class="keyword">const</span> <span class="keywordtype">bool</span> newState);
<a name="l00558"></a>00558
<a name="l00575"></a>00575 <span class="keywordtype">void</span> setValidationScheme(<span class="keyword">const</span> ValSchemes newScheme);
<a name="l00576"></a>00576
<a name="l00592"></a>00592 <span class="keywordtype">void</span> setDoSchema(<span class="keyword">const</span> <span class="keywordtype">bool</span> newState);
<a name="l00593"></a>00593
<a name="l00610"></a>00610 <span class="keywordtype">void</span> setValidationSchemaFullChecking(<span class="keyword">const</span> <span class="keywordtype">bool</span> schemaFullChecking);
<a name="l00611"></a>00611
<a name="l00623"></a>00623 <span class="keywordtype">void</span> setIdentityConstraintChecking(<span class="keyword">const</span> <span class="keywordtype">bool</span> identityConstraintChecking);
<a name="l00624"></a>00624
<a name="l00640"></a>00640 <span class="keywordtype">void</span> setExitOnFirstFatalError(<span class="keyword">const</span> <span class="keywordtype">bool</span> newState);
<a name="l00641"></a>00641
<a name="l00661"></a>00661 <span class="keywordtype">void</span> setValidationConstraintFatal(<span class="keyword">const</span> <span class="keywordtype">bool</span> newState);
<a name="l00662"></a>00662
<a name="l00683"></a>00683 <span class="keywordtype">void</span> setExternalSchemaLocation(<span class="keyword">const</span> XMLCh* <span class="keyword">const</span> schemaLocation);
<a name="l00684"></a>00684
<a name="l00693"></a>00693 <span class="keywordtype">void</span> setExternalSchemaLocation(<span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> schemaLocation);
<a name="l00694"></a>00694
<a name="l00709"></a>00709 <span class="keywordtype">void</span> setExternalNoNamespaceSchemaLocation(<span class="keyword">const</span> XMLCh* <span class="keyword">const</span> noNamespaceSchemaLocation);
<a name="l00710"></a>00710
<a name="l00719"></a>00719 <span class="keywordtype">void</span> setExternalNoNamespaceSchemaLocation(<span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> noNamespaceSchemaLocation);
<a name="l00720"></a>00720
<a name="l00736"></a>00736 <span class="keywordtype">void</span> setSecurityManager(<a class="code" href="classSecurityManager.html" title="Allow application to force the parser to behave in a security-conscious way.">SecurityManager</a>* <span class="keyword">const</span> securityManager);
<a name="l00737"></a>00737
<a name="l00754"></a>00754 <span class="keywordtype">void</span> setLoadExternalDTD(<span class="keyword">const</span> <span class="keywordtype">bool</span> newState);
<a name="l00755"></a>00755
<a name="l00773"></a>00773 <span class="keywordtype">void</span> cacheGrammarFromParse(<span class="keyword">const</span> <span class="keywordtype">bool</span> newState);
<a name="l00774"></a>00774
<a name="l00793"></a>00793 <span class="keywordtype">void</span> useCachedGrammarInParse(<span class="keyword">const</span> <span class="keywordtype">bool</span> newState);
<a name="l00794"></a>00794
<a name="l00807"></a>00807 <span class="keywordtype">void</span> setCalculateSrcOfs(<span class="keyword">const</span> <span class="keywordtype">bool</span> newState);
<a name="l00808"></a>00808
<a name="l00819"></a>00819 <span class="keywordtype">void</span> setStandardUriConformant(<span class="keyword">const</span> <span class="keywordtype">bool</span> newState);
<a name="l00820"></a>00820
<a name="l00828"></a>00828 <span class="keywordtype">void</span> useScanner(<span class="keyword">const</span> XMLCh* <span class="keyword">const</span> scannerName);
<a name="l00829"></a>00829
<a name="l00840"></a>00840 <span class="keywordtype">void</span> setInputBufferSize(<span class="keyword">const</span> <span class="keywordtype">size_t</span> bufferSize);
<a name="l00841"></a>00841
<a name="l00856"></a>00856 <span class="keywordtype">void</span> setIgnoreCachedDTD(<span class="keyword">const</span> <span class="keywordtype">bool</span> newValue);
<a name="l00857"></a>00857
<a name="l00867"></a>00867 <span class="keywordtype">void</span> setIgnoreAnnotations(<span class="keyword">const</span> <span class="keywordtype">bool</span> newValue);
<a name="l00868"></a>00868
<a name="l00883"></a>00883 <span class="keywordtype">void</span> setDisableDefaultEntityResolution(<span class="keyword">const</span> <span class="keywordtype">bool</span> newValue);
<a name="l00884"></a>00884
<a name="l00897"></a>00897 <span class="keywordtype">void</span> setSkipDTDValidation(<span class="keyword">const</span> <span class="keywordtype">bool</span> newValue);
<a name="l00899"></a>00899
<a name="l00900"></a>00900
<a name="l00901"></a>00901 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00902"></a>00902 <span class="comment">// Advanced document handler list maintenance methods</span>
<a name="l00903"></a>00903 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00904"></a>00904
<a name="l00920"></a>00920 <span class="keywordtype">void</span> installAdvDocHandler(<a class="code" href="classXMLDocumentHandler.html" title="This abstract class provides the interface for the scanner to return XML document...">XMLDocumentHandler</a>* <span class="keyword">const</span> toInstall);
<a name="l00921"></a>00921
<a name="l00931"></a>00931 <span class="keywordtype">bool</span> removeAdvDocHandler(<a class="code" href="classXMLDocumentHandler.html" title="This abstract class provides the interface for the scanner to return XML document...">XMLDocumentHandler</a>* <span class="keyword">const</span> toRemove);
<a name="l00933"></a>00933
<a name="l00934"></a>00934
<a name="l00935"></a>00935 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00936"></a>00936 <span class="comment">// Progressive scan methods</span>
<a name="l00937"></a>00937 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00938"></a>00938
<a name="l00941"></a>00941
<a name="l00969"></a>00969 <span class="keywordtype">bool</span> parseFirst
<a name="l00970"></a>00970 (
<a name="l00971"></a>00971 <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> systemId
<a name="l00972"></a>00972 , XMLPScanToken&amp; toFill
<a name="l00973"></a>00973 );
<a name="l00974"></a>00974
<a name="l01002"></a>01002 <span class="keywordtype">bool</span> parseFirst
<a name="l01003"></a>01003 (
<a name="l01004"></a>01004 <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> systemId
<a name="l01005"></a>01005 , XMLPScanToken&amp; toFill
<a name="l01006"></a>01006 );
<a name="l01007"></a>01007
<a name="l01035"></a>01035 <span class="keywordtype">bool</span> parseFirst
<a name="l01036"></a>01036 (
<a name="l01037"></a>01037 <span class="keyword">const</span> <a class="code" href="classInputSource.html" title="A single input source for an XML entity.">InputSource</a>&amp; source
<a name="l01038"></a>01038 , XMLPScanToken&amp; toFill
<a name="l01039"></a>01039 );
<a name="l01040"></a>01040
<a name="l01065"></a>01065 <span class="keywordtype">bool</span> parseNext(XMLPScanToken&amp; token);
<a name="l01066"></a>01066
<a name="l01088"></a>01088 <span class="keywordtype">void</span> parseReset(XMLPScanToken&amp; token);
<a name="l01089"></a>01089
<a name="l01091"></a>01091
<a name="l01092"></a>01092 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l01093"></a>01093 <span class="comment">// Grammar preparsing interface</span>
<a name="l01094"></a>01094 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l01095"></a>01095
<a name="l01125"></a>01125 Grammar* loadGrammar(<span class="keyword">const</span> <a class="code" href="classInputSource.html" title="A single input source for an XML entity.">InputSource</a>&amp; source,
<a name="l01126"></a>01126 <span class="keyword">const</span> <span class="keywordtype">short</span> grammarType,
<a name="l01127"></a>01127 <span class="keyword">const</span> <span class="keywordtype">bool</span> toCache = <span class="keyword">false</span>);
<a name="l01128"></a>01128
<a name="l01154"></a>01154 Grammar* loadGrammar(<span class="keyword">const</span> XMLCh* <span class="keyword">const</span> systemId,
<a name="l01155"></a>01155 <span class="keyword">const</span> <span class="keywordtype">short</span> grammarType,
<a name="l01156"></a>01156 <span class="keyword">const</span> <span class="keywordtype">bool</span> toCache = <span class="keyword">false</span>);
<a name="l01157"></a>01157
<a name="l01182"></a>01182 Grammar* loadGrammar(<span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> systemId,
<a name="l01183"></a>01183 <span class="keyword">const</span> <span class="keywordtype">short</span> grammarType,
<a name="l01184"></a>01184 <span class="keyword">const</span> <span class="keywordtype">bool</span> toCache = <span class="keyword">false</span>);
<a name="l01185"></a>01185
<a name="l01189"></a>01189 <span class="keywordtype">void</span> resetCachedGrammarPool();
<a name="l01190"></a>01190
<a name="l01192"></a>01192
<a name="l01193"></a>01193
<a name="l01194"></a>01194 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l01195"></a>01195 <span class="comment">// Implementation of the SAX Parser interface</span>
<a name="l01196"></a>01196 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l01197"></a>01197
<a name="l01209"></a>01209 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classParser.html#624fc687a49b917c11ef632367568b60" title="Parse an XML document.">parse</a>(<span class="keyword">const</span> <a class="code" href="classInputSource.html" title="A single input source for an XML entity.">InputSource</a>&amp; source);
<a name="l01210"></a>01210
<a name="l01220"></a>01220 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classParser.html#624fc687a49b917c11ef632367568b60" title="Parse an XML document.">parse</a>(<span class="keyword">const</span> XMLCh* <span class="keyword">const</span> systemId);
<a name="l01221"></a>01221
<a name="l01229"></a>01229 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classParser.html#624fc687a49b917c11ef632367568b60" title="Parse an XML document.">parse</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> systemId);
<a name="l01230"></a>01230
<a name="l01241"></a>01241 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classParser.html#2038c09146fff3b0ec66143630736bdb" title="Allow an application to register a document event handler.">setDocumentHandler</a>(<a class="code" href="classDocumentHandler.html" title="Receive notification of general document events.">DocumentHandler</a>* <span class="keyword">const</span> handler);
<a name="l01242"></a>01242
<a name="l01252"></a>01252 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classParser.html#d97184f9e4397e360903e2fdb72d23bf" title="Allow an application to register a DTD event handler.">setDTDHandler</a>(<a class="code" href="classDTDHandler.html" title="Receive notification of basic DTD-related events.">DTDHandler</a>* <span class="keyword">const</span> handler);
<a name="l01253"></a>01253
<a name="l01264"></a>01264 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classParser.html#acd0f62732e363faeb4e5ee5b0a6e12a" title="Allow an application to register an error event handler.">setErrorHandler</a>(<a class="code" href="classErrorHandler.html" title="Basic interface for SAX error handlers.">ErrorHandler</a>* <span class="keyword">const</span> handler);
<a name="l01265"></a>01265
<a name="l01276"></a>01276 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setPSVIHandler(<a class="code" href="classPSVIHandler.html" title="This abstract class provides the interface for the scanner to return PSVI information...">PSVIHandler</a>* <span class="keyword">const</span> handler);
<a name="l01277"></a>01277
<a name="l01293"></a>01293 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classParser.html#62435895e0615380f3017090ac232594" title="Allow an application to register a custom entity resolver.">setEntityResolver</a>(<a class="code" href="classEntityResolver.html" title="Basic interface for resolving entities.">EntityResolver</a>* <span class="keyword">const</span> resolver);
<a name="l01294"></a>01294
<a name="l01310"></a>01310 <span class="keyword">virtual</span> <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> resolver);
<a name="l01311"></a>01311
<a name="l01313"></a>01313
<a name="l01314"></a>01314
<a name="l01315"></a>01315 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l01316"></a>01316 <span class="comment">// Implementation of the XMLDocumentHandler interface</span>
<a name="l01317"></a>01317 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l01318"></a>01318
<a name="l01336"></a>01336 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classXMLDocumentHandler.html#0464060874d15cbabea8d6b50cebbcfd" title="Receive notification of character data.">docCharacters</a>
<a name="l01337"></a>01337 (
<a name="l01338"></a>01338 <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> chars
<a name="l01339"></a>01339 , <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> length
<a name="l01340"></a>01340 , <span class="keyword">const</span> <span class="keywordtype">bool</span> cdataSection
<a name="l01341"></a>01341 );
<a name="l01342"></a>01342
<a name="l01352"></a>01352 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classXMLDocumentHandler.html#797efd9c442d68cce9ff3c33709f3205" title="Receive notification of comments in the XML content being parsed.">docComment</a>
<a name="l01353"></a>01353 (
<a name="l01354"></a>01354 <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> comment
<a name="l01355"></a>01355 );
<a name="l01356"></a>01356
<a name="l01376"></a>01376 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classXMLDocumentHandler.html#fe1ef8ce4db872d933e06bc338a0914f" title="Receive notification of PI&amp;#39;s parsed in the XML content.">docPI</a>
<a name="l01377"></a>01377 (
<a name="l01378"></a>01378 <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> target
<a name="l01379"></a>01379 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> data
<a name="l01380"></a>01380 );
<a name="l01381"></a>01381
<a name="l01393"></a>01393 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classXMLDocumentHandler.html#6e18eebd0193230974b4b8d66afd9932" title="Receive notification after the scanner has parsed the end of the document.">endDocument</a>();
<a name="l01394"></a>01394
<a name="l01414"></a>01414 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classXMLDocumentHandler.html#3f0fa424c89fdfeeefbc112ac66f2976" title="Receive notification of the end of an element.">endElement</a>
<a name="l01415"></a>01415 (
<a name="l01416"></a>01416 <span class="keyword">const</span> <a class="code" href="classXMLElementDecl.html" title="This class defines the core information of an element declaration.">XMLElementDecl</a>&amp; elemDecl
<a name="l01417"></a>01417 , <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> urlId
<a name="l01418"></a>01418 , <span class="keyword">const</span> <span class="keywordtype">bool</span> isRoot
<a name="l01419"></a>01419 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> elemPrefix
<a name="l01420"></a>01420 );
<a name="l01421"></a>01421
<a name="l01432"></a>01432 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classXMLDocumentHandler.html#14b27af49a415848ea7e4f544622e8cc" title="Receive notification when a referenced entity&amp;#39;s content ends.">endEntityReference</a>
<a name="l01433"></a>01433 (
<a name="l01434"></a>01434 <span class="keyword">const</span> <a class="code" href="classXMLEntityDecl.html" title="This class defines that core information that defines an XML entity, no matter what...">XMLEntityDecl</a>&amp; entDecl
<a name="l01435"></a>01435 );
<a name="l01436"></a>01436
<a name="l01456"></a>01456 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classXMLDocumentHandler.html#e9be0bef7de33e0e4d62400528379550" title="Receive notification of ignorable whitespace in element content.">ignorableWhitespace</a>
<a name="l01457"></a>01457 (
<a name="l01458"></a>01458 <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> chars
<a name="l01459"></a>01459 , <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> length
<a name="l01460"></a>01460 , <span class="keyword">const</span> <span class="keywordtype">bool</span> cdataSection
<a name="l01461"></a>01461 );
<a name="l01462"></a>01462
<a name="l01467"></a>01467 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classXMLDocumentHandler.html#549b9b77f35e2c7cb4c1722d034841bf" title="Reset the document handler&amp;#39;s state, if required.">resetDocument</a>();
<a name="l01468"></a>01468
<a name="l01479"></a>01479 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classXMLDocumentHandler.html#8b9e5f68340f083cd0eb69cc85692084" title="Receive notification of the start of a new document.">startDocument</a>();
<a name="l01480"></a>01480
<a name="l01507"></a>01507 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classXMLDocumentHandler.html#3451d565d85e4971a55e67b87847b667" title="Receive notification of a new start tag.">startElement</a>
<a name="l01508"></a>01508 (
<a name="l01509"></a>01509 <span class="keyword">const</span> <a class="code" href="classXMLElementDecl.html" title="This class defines the core information of an element declaration.">XMLElementDecl</a>&amp; elemDecl
<a name="l01510"></a>01510 , <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> urlId
<a name="l01511"></a>01511 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> elemPrefix
<a name="l01512"></a>01512 , <span class="keyword">const</span> RefVectorOf&lt;XMLAttr&gt;&amp; attrList
<a name="l01513"></a>01513 , <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> attrCount
<a name="l01514"></a>01514 , <span class="keyword">const</span> <span class="keywordtype">bool</span> isEmpty
<a name="l01515"></a>01515 , <span class="keyword">const</span> <span class="keywordtype">bool</span> isRoot
<a name="l01516"></a>01516 );
<a name="l01517"></a>01517
<a name="l01527"></a>01527 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classXMLDocumentHandler.html#2d3ab93a0191825f8452a4980d163f37" title="Receive notification when the scanner hits an entity reference.">startEntityReference</a>
<a name="l01528"></a>01528 (
<a name="l01529"></a>01529 <span class="keyword">const</span> <a class="code" href="classXMLEntityDecl.html" title="This class defines that core information that defines an XML entity, no matter what...">XMLEntityDecl</a>&amp; entDecl
<a name="l01530"></a>01530 );
<a name="l01531"></a>01531
<a name="l01549"></a>01549 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classXMLDocumentHandler.html#262b2d7e996c21b466f4e573c052a583" title="Receive notification of an XML declaration.">XMLDecl</a>
<a name="l01550"></a>01550 (
<a name="l01551"></a>01551 <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> versionStr
<a name="l01552"></a>01552 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> encodingStr
<a name="l01553"></a>01553 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> standaloneStr
<a name="l01554"></a>01554 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> actualEncodingStr
<a name="l01555"></a>01555 );
<a name="l01557"></a>01557
<a name="l01558"></a>01558
<a name="l01559"></a>01559 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l01560"></a>01560 <span class="comment">// Implementation of the XMLErrorReporter interface</span>
<a name="l01561"></a>01561 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l01562"></a>01562
<a name="l01588"></a>01588 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classXMLErrorReporter.html#5fcbce55cdb40bd89009672d60370840" title="Called to report errors from the scanner or validator.">error</a>
<a name="l01589"></a>01589 (
<a name="l01590"></a>01590 <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> errCode
<a name="l01591"></a>01591 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> msgDomain
<a name="l01592"></a>01592 , <span class="keyword">const</span> <a class="code" href="classXMLErrorReporter.html#db34298ba3609a10c52328e5050d4434">XMLErrorReporter::ErrTypes</a> errType
<a name="l01593"></a>01593 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> errorText
<a name="l01594"></a>01594 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> systemId
<a name="l01595"></a>01595 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> publicId
<a name="l01596"></a>01596 , <span class="keyword">const</span> XMLSSize_t lineNum
<a name="l01597"></a>01597 , <span class="keyword">const</span> XMLSSize_t colNum
<a name="l01598"></a>01598 );
<a name="l01599"></a>01599
<a name="l01608"></a>01608 <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="l01610"></a>01610
<a name="l01611"></a>01611
<a name="l01612"></a>01612 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l01613"></a>01613 <span class="comment">// Implementation of the XMLEntityHandler interface</span>
<a name="l01614"></a>01614 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l01615"></a>01615
<a name="l01629"></a>01629 <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>&amp; inputSource);
<a name="l01630"></a>01630
<a name="l01645"></a>01645 <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="l01646"></a>01646 (
<a name="l01647"></a>01647 <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> systemId
<a name="l01648"></a>01648 , XMLBuffer&amp; toFill
<a name="l01649"></a>01649 );
<a name="l01650"></a>01650
<a name="l01658"></a>01658 <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="l01659"></a>01659
<a name="l01682"></a>01682 <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#f25d919aec09c959b37751377660e750" title="This method allows the entity handler to provide customized application specific...">resolveEntity</a>
<a name="l01683"></a>01683 (
<a name="l01684"></a>01684 <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> publicId
<a name="l01685"></a>01685 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> systemId
<a name="l01686"></a>01686 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> baseURI = 0
<a name="l01687"></a>01687 );
<a name="l01688"></a>01688
<a name="l01705"></a>01705 <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#f25d919aec09c959b37751377660e750" title="This method allows the entity handler to provide customized application specific...">resolveEntity</a>
<a name="l01706"></a>01706 (
<a name="l01707"></a>01707 <a class="code" href="classXMLResourceIdentifier.html">XMLResourceIdentifier</a>* resourceIdentifier
<a name="l01708"></a>01708 );
<a name="l01709"></a>01709
<a name="l01721"></a>01721 <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>&amp; inputSource);
<a name="l01723"></a>01723
<a name="l01724"></a>01724
<a name="l01725"></a>01725 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l01726"></a>01726 <span class="comment">// Implementation of the Deprecated DocTypeHandler Interface</span>
<a name="l01727"></a>01727 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l01744"></a>01744 <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> attDef
<a name="l01745"></a>01745 (
<a name="l01746"></a>01746 <span class="keyword">const</span> DTDElementDecl&amp; elemDecl
<a name="l01747"></a>01747 , <span class="keyword">const</span> DTDAttDef&amp; attDef
<a name="l01748"></a>01748 , <span class="keyword">const</span> <span class="keywordtype">bool</span> ignore
<a name="l01749"></a>01749 );
<a name="l01750"></a>01750
<a name="l01760"></a>01760 <span class="keyword">virtual</span> <span class="keywordtype">void</span> doctypeComment
<a name="l01761"></a>01761 (
<a name="l01762"></a>01762 <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> comment
<a name="l01763"></a>01763 );
<a name="l01764"></a>01764
<a name="l01783"></a>01783 <span class="keyword">virtual</span> <span class="keywordtype">void</span> doctypeDecl
<a name="l01784"></a>01784 (
<a name="l01785"></a>01785 <span class="keyword">const</span> DTDElementDecl&amp; elemDecl
<a name="l01786"></a>01786 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> publicId
<a name="l01787"></a>01787 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> systemId
<a name="l01788"></a>01788 , <span class="keyword">const</span> <span class="keywordtype">bool</span> hasIntSubset
<a name="l01789"></a>01789 , <span class="keyword">const</span> <span class="keywordtype">bool</span> hasExtSubset = <span class="keyword">false</span>
<a name="l01790"></a>01790 );
<a name="l01791"></a>01791
<a name="l01805"></a>01805 <span class="keyword">virtual</span> <span class="keywordtype">void</span> doctypePI
<a name="l01806"></a>01806 (
<a name="l01807"></a>01807 <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> target
<a name="l01808"></a>01808 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> data
<a name="l01809"></a>01809 );
<a name="l01810"></a>01810
<a name="l01822"></a>01822 <span class="keyword">virtual</span> <span class="keywordtype">void</span> doctypeWhitespace
<a name="l01823"></a>01823 (
<a name="l01824"></a>01824 <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> chars
<a name="l01825"></a>01825 , <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> length
<a name="l01826"></a>01826 );
<a name="l01827"></a>01827
<a name="l01840"></a>01840 <span class="keyword">virtual</span> <span class="keywordtype">void</span> elementDecl
<a name="l01841"></a>01841 (
<a name="l01842"></a>01842 <span class="keyword">const</span> DTDElementDecl&amp; decl
<a name="l01843"></a>01843 , <span class="keyword">const</span> <span class="keywordtype">bool</span> isIgnored
<a name="l01844"></a>01844 );
<a name="l01845"></a>01845
<a name="l01856"></a>01856 <span class="keyword">virtual</span> <span class="keywordtype">void</span> endAttList
<a name="l01857"></a>01857 (
<a name="l01858"></a>01858 <span class="keyword">const</span> DTDElementDecl&amp; elemDecl
<a name="l01859"></a>01859 );
<a name="l01860"></a>01860
<a name="l01867"></a>01867 <span class="keyword">virtual</span> <span class="keywordtype">void</span> endIntSubset();
<a name="l01868"></a>01868
<a name="l01875"></a>01875 <span class="keyword">virtual</span> <span class="keywordtype">void</span> endExtSubset();
<a name="l01876"></a>01876
<a name="l01891"></a>01891 <span class="keyword">virtual</span> <span class="keywordtype">void</span> entityDecl
<a name="l01892"></a>01892 (
<a name="l01893"></a>01893 <span class="keyword">const</span> DTDEntityDecl&amp; entityDecl
<a name="l01894"></a>01894 , <span class="keyword">const</span> <span class="keywordtype">bool</span> isPEDecl
<a name="l01895"></a>01895 , <span class="keyword">const</span> <span class="keywordtype">bool</span> isIgnored
<a name="l01896"></a>01896 );
<a name="l01897"></a>01897
<a name="l01902"></a>01902 <span class="keyword">virtual</span> <span class="keywordtype">void</span> resetDocType();
<a name="l01903"></a>01903
<a name="l01916"></a>01916 <span class="keyword">virtual</span> <span class="keywordtype">void</span> notationDecl
<a name="l01917"></a>01917 (
<a name="l01918"></a>01918 <span class="keyword">const</span> <a class="code" href="classXMLNotationDecl.html" title="This class represents the core information about a notation declaration that all...">XMLNotationDecl</a>&amp; notDecl
<a name="l01919"></a>01919 , <span class="keyword">const</span> <span class="keywordtype">bool</span> isIgnored
<a name="l01920"></a>01920 );
<a name="l01921"></a>01921
<a name="l01932"></a>01932 <span class="keyword">virtual</span> <span class="keywordtype">void</span> startAttList
<a name="l01933"></a>01933 (
<a name="l01934"></a>01934 <span class="keyword">const</span> DTDElementDecl&amp; elemDecl
<a name="l01935"></a>01935 );
<a name="l01936"></a>01936
<a name="l01943"></a>01943 <span class="keyword">virtual</span> <span class="keywordtype">void</span> startIntSubset();
<a name="l01944"></a>01944
<a name="l01951"></a>01951 <span class="keyword">virtual</span> <span class="keywordtype">void</span> startExtSubset();
<a name="l01952"></a>01952
<a name="l01965"></a>01965 <span class="keyword">virtual</span> <span class="keywordtype">void</span> TextDecl
<a name="l01966"></a>01966 (
<a name="l01967"></a>01967 <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> versionStr
<a name="l01968"></a>01968 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> encodingStr
<a name="l01969"></a>01969 );
<a name="l01971"></a>01971
<a name="l01972"></a>01972
<a name="l01973"></a>01973 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l01974"></a>01974 <span class="comment">// Deprecated Methods</span>
<a name="l01975"></a>01975 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l01988"></a>01988 <span class="comment"></span> <span class="keywordtype">bool</span> getDoValidation() <span class="keyword">const</span>;
<a name="l01989"></a>01989
<a name="l02003"></a>02003 <span class="keywordtype">void</span> setDoValidation(<span class="keyword">const</span> <span class="keywordtype">bool</span> newState);
<a name="l02005"></a>02005
<a name="l02006"></a>02006
<a name="l02007"></a>02007 <span class="keyword">protected</span> :
<a name="l02008"></a>02008 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l02009"></a>02009 <span class="comment">// Protected Methods</span>
<a name="l02010"></a>02010 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l02017"></a>02017 <span class="comment"></span> <span class="keyword">const</span> XMLScanner&amp; getScanner() <span class="keyword">const</span>;
<a name="l02018"></a>02018
<a name="l02023"></a>02023 GrammarResolver* getGrammarResolver() <span class="keyword">const</span>;
<a name="l02024"></a>02024
<a name="l02025"></a>02025
<a name="l02026"></a>02026 <span class="keyword">private</span>:
<a name="l02027"></a>02027 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l02028"></a>02028 <span class="comment">// Unimplemented constructors and operators</span>
<a name="l02029"></a>02029 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l02030"></a>02030 <a class="code" href="classSAXParser.html" title="This class implements the SAX &amp;#39;Parser&amp;#39; interface and should be used by applications...">SAXParser</a>(<span class="keyword">const</span> <a class="code" href="classSAXParser.html" title="This class implements the SAX &amp;#39;Parser&amp;#39; interface and should be used by applications...">SAXParser</a>&amp;);
<a name="l02031"></a>02031 <a class="code" href="classSAXParser.html" title="This class implements the SAX &amp;#39;Parser&amp;#39; interface and should be used by applications...">SAXParser</a>&amp; operator=(<span class="keyword">const</span> <a class="code" href="classSAXParser.html" title="This class implements the SAX &amp;#39;Parser&amp;#39; interface and should be used by applications...">SAXParser</a>&amp;);
<a name="l02032"></a>02032
<a name="l02033"></a>02033 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l02034"></a>02034 <span class="comment">// Initialize/Cleanup methods</span>
<a name="l02035"></a>02035 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l02036"></a>02036 <span class="keywordtype">void</span> initialize();
<a name="l02037"></a>02037 <span class="keywordtype">void</span> cleanUp();
<a name="l02038"></a>02038 <span class="keywordtype">void</span> resetInProgress();
<a name="l02039"></a>02039
<a name="l02040"></a>02040 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l02041"></a>02041 <span class="comment">// Private data members</span>
<a name="l02042"></a>02042 <span class="comment">//</span>
<a name="l02043"></a>02043 <span class="comment">// fAttrList</span>
<a name="l02044"></a>02044 <span class="comment">// A temporary implementation of the basic SAX attribute list</span>
<a name="l02045"></a>02045 <span class="comment">// interface. We use this one over and over on each startElement</span>
<a name="l02046"></a>02046 <span class="comment">// event to allow SAX-like access to the element attributes.</span>
<a name="l02047"></a>02047 <span class="comment">//</span>
<a name="l02048"></a>02048 <span class="comment">// fDocHandler</span>
<a name="l02049"></a>02049 <span class="comment">// The installed SAX doc handler, if any. Null if none.</span>
<a name="l02050"></a>02050 <span class="comment">//</span>
<a name="l02051"></a>02051 <span class="comment">// fDTDHandler</span>
<a name="l02052"></a>02052 <span class="comment">// The installed SAX DTD handler, if any. Null if none.</span>
<a name="l02053"></a>02053 <span class="comment">//</span>
<a name="l02054"></a>02054 <span class="comment">// fElemDepth</span>
<a name="l02055"></a>02055 <span class="comment">// This is used to track the element nesting depth, so that we can</span>
<a name="l02056"></a>02056 <span class="comment">// know when we are inside content. This is so we can ignore char</span>
<a name="l02057"></a>02057 <span class="comment">// data outside of content.</span>
<a name="l02058"></a>02058 <span class="comment">//</span>
<a name="l02059"></a>02059 <span class="comment">// fEntityResolver</span>
<a name="l02060"></a>02060 <span class="comment">// The installed SAX entity handler, if any. Null if none.</span>
<a name="l02061"></a>02061 <span class="comment">//</span>
<a name="l02062"></a>02062 <span class="comment">// fErrorHandler</span>
<a name="l02063"></a>02063 <span class="comment">// The installed SAX error handler, if any. Null if none.</span>
<a name="l02064"></a>02064 <span class="comment">//</span>
<a name="l02065"></a>02065 <span class="comment">// fPSVIHandler</span>
<a name="l02066"></a>02066 <span class="comment">// The installed PSVI handler, if any. Null if none.</span>
<a name="l02067"></a>02067 <span class="comment">//</span>
<a name="l02068"></a>02068 <span class="comment">// fAdvDHCount</span>
<a name="l02069"></a>02069 <span class="comment">// fAdvDHList</span>
<a name="l02070"></a>02070 <span class="comment">// fAdvDHListSize</span>
<a name="l02071"></a>02071 <span class="comment">// This is an array of pointers to XMLDocumentHandlers, which is</span>
<a name="l02072"></a>02072 <span class="comment">// how we see installed advanced document handlers. There will</span>
<a name="l02073"></a>02073 <span class="comment">// usually not be very many at all, so a simple array is used</span>
<a name="l02074"></a>02074 <span class="comment">// instead of a collection, for performance. It will grow if needed,</span>
<a name="l02075"></a>02075 <span class="comment">// but that is unlikely.</span>
<a name="l02076"></a>02076 <span class="comment">//</span>
<a name="l02077"></a>02077 <span class="comment">// The count is how many handlers are currently installed. The size</span>
<a name="l02078"></a>02078 <span class="comment">// is how big the array itself is (for expansion purposes.) When</span>
<a name="l02079"></a>02079 <span class="comment">// count == size, is time to expand.</span>
<a name="l02080"></a>02080 <span class="comment">//</span>
<a name="l02081"></a>02081 <span class="comment">// fParseInProgress</span>
<a name="l02082"></a>02082 <span class="comment">// This flag is set once a parse starts. It is used to prevent</span>
<a name="l02083"></a>02083 <span class="comment">// multiple entrance or reentrance of the parser.</span>
<a name="l02084"></a>02084 <span class="comment">//</span>
<a name="l02085"></a>02085 <span class="comment">// fScanner</span>
<a name="l02086"></a>02086 <span class="comment">// The scanner being used by this parser. It is created internally</span>
<a name="l02087"></a>02087 <span class="comment">// during construction.</span>
<a name="l02088"></a>02088 <span class="comment">//</span>
<a name="l02089"></a>02089 <span class="comment">// fGrammarPool</span>
<a name="l02090"></a>02090 <span class="comment">// The grammar pool passed from external application (through derivatives).</span>
<a name="l02091"></a>02091 <span class="comment">// which could be 0, not owned.</span>
<a name="l02092"></a>02092 <span class="comment">//</span>
<a name="l02093"></a>02093 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l02094"></a>02094 <span class="keywordtype">bool</span> fParseInProgress;
<a name="l02095"></a>02095 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> fElemDepth;
<a name="l02096"></a>02096 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> fAdvDHCount;
<a name="l02097"></a>02097 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> fAdvDHListSize;
<a name="l02098"></a>02098 VecAttrListImpl fAttrList;
<a name="l02099"></a>02099 <a class="code" href="classDocumentHandler.html" title="Receive notification of general document events.">DocumentHandler</a>* fDocHandler;
<a name="l02100"></a>02100 <a class="code" href="classDTDHandler.html" title="Receive notification of basic DTD-related events.">DTDHandler</a>* fDTDHandler;
<a name="l02101"></a>02101 <a class="code" href="classEntityResolver.html" title="Basic interface for resolving entities.">EntityResolver</a>* fEntityResolver;
<a name="l02102"></a>02102 <a class="code" href="classXMLEntityResolver.html" title="Revised interface for resolving entities.">XMLEntityResolver</a>* fXMLEntityResolver;
<a name="l02103"></a>02103 <a class="code" href="classErrorHandler.html" title="Basic interface for SAX error handlers.">ErrorHandler</a>* fErrorHandler;
<a name="l02104"></a>02104 <a class="code" href="classPSVIHandler.html" title="This abstract class provides the interface for the scanner to return PSVI information...">PSVIHandler</a>* fPSVIHandler;
<a name="l02105"></a>02105 <a class="code" href="classXMLDocumentHandler.html" title="This abstract class provides the interface for the scanner to return XML document...">XMLDocumentHandler</a>** fAdvDHList;
<a name="l02106"></a>02106 XMLScanner* fScanner;
<a name="l02107"></a>02107 GrammarResolver* fGrammarResolver;
<a name="l02108"></a>02108 XMLStringPool* fURIStringPool;
<a name="l02109"></a>02109 <a class="code" href="classXMLValidator.html" title="This abstract class provides the interface for all validators.">XMLValidator</a>* fValidator;
<a name="l02110"></a>02110 <a class="code" href="classMemoryManager.html" title="Configurable memory manager.">MemoryManager</a>* fMemoryManager;
<a name="l02111"></a>02111 <a class="code" href="classXMLGrammarPool.html">XMLGrammarPool</a>* fGrammarPool;
<a name="l02112"></a>02112 XMLBuffer fElemQNameBuf;
<a name="l02113"></a>02113 };
<a name="l02114"></a>02114
<a name="l02115"></a>02115
<a name="l02116"></a>02116 <span class="comment">// ---------------------------------------------------------------------------</span>
<a name="l02117"></a>02117 <span class="comment">// SAXParser: Getter methods</span>
<a name="l02118"></a>02118 <span class="comment">// ---------------------------------------------------------------------------</span>
<a name="l02119"></a><a class="code" href="classSAXParser.html#5c19e19874e6d78aef1e95569d182377">02119</a> <span class="keyword">inline</span> <a class="code" href="classDocumentHandler.html" title="Receive notification of general document events.">DocumentHandler</a>* <a class="code" href="classSAXParser.html#5c19e19874e6d78aef1e95569d182377" title="This method returns the installed document handler.">SAXParser::getDocumentHandler</a>()
<a name="l02120"></a>02120 {
<a name="l02121"></a>02121 <span class="keywordflow">return</span> fDocHandler;
<a name="l02122"></a>02122 }
<a name="l02123"></a>02123
<a name="l02124"></a><a class="code" href="classSAXParser.html#1a3185c79bd3a93fed941cb548a77e0f">02124</a> <span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="classDocumentHandler.html" title="Receive notification of general document events.">DocumentHandler</a>* <a class="code" href="classSAXParser.html#5c19e19874e6d78aef1e95569d182377" title="This method returns the installed document handler.">SAXParser::getDocumentHandler</a>()<span class="keyword"> const</span>
<a name="l02125"></a>02125 <span class="keyword"></span>{
<a name="l02126"></a>02126 <span class="keywordflow">return</span> fDocHandler;
<a name="l02127"></a>02127 }
<a name="l02128"></a>02128
<a name="l02129"></a><a class="code" href="classSAXParser.html#a5d7b8295c0d5ee5f25a13fed458d4e7">02129</a> <span class="keyword">inline</span> <a class="code" href="classEntityResolver.html" title="Basic interface for resolving entities.">EntityResolver</a>* <a class="code" href="classSAXParser.html#a5d7b8295c0d5ee5f25a13fed458d4e7" title="This method returns the installed entity resolver.">SAXParser::getEntityResolver</a>()
<a name="l02130"></a>02130 {
<a name="l02131"></a>02131 <span class="keywordflow">return</span> fEntityResolver;
<a name="l02132"></a>02132 }
<a name="l02133"></a>02133
<a name="l02134"></a><a class="code" href="classSAXParser.html#0f56e0e25beea27307a5470b7955d55e">02134</a> <span class="keyword">inline</span> <a class="code" href="classXMLEntityResolver.html" title="Revised interface for resolving entities.">XMLEntityResolver</a>* <a class="code" href="classSAXParser.html#0f56e0e25beea27307a5470b7955d55e" title="This method returns the installed entity resolver.">SAXParser::getXMLEntityResolver</a>()
<a name="l02135"></a>02135 {
<a name="l02136"></a>02136 <span class="keywordflow">return</span> fXMLEntityResolver;
<a name="l02137"></a>02137 }
<a name="l02138"></a>02138
<a name="l02139"></a><a class="code" href="classSAXParser.html#7ea691979dde005502ee233ae3b933da">02139</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="classSAXParser.html#0f56e0e25beea27307a5470b7955d55e" title="This method returns the installed entity resolver.">SAXParser::getXMLEntityResolver</a>()<span class="keyword"> const</span>
<a name="l02140"></a>02140 <span class="keyword"></span>{
<a name="l02141"></a>02141 <span class="keywordflow">return</span> fXMLEntityResolver;
<a name="l02142"></a>02142 }
<a name="l02143"></a>02143
<a name="l02144"></a><a class="code" href="classSAXParser.html#4e72809c353a83860016a9e35cc0a098">02144</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="classSAXParser.html#a5d7b8295c0d5ee5f25a13fed458d4e7" title="This method returns the installed entity resolver.">SAXParser::getEntityResolver</a>()<span class="keyword"> const</span>
<a name="l02145"></a>02145 <span class="keyword"></span>{
<a name="l02146"></a>02146 <span class="keywordflow">return</span> fEntityResolver;
<a name="l02147"></a>02147 }
<a name="l02148"></a>02148
<a name="l02149"></a><a class="code" href="classSAXParser.html#c1fc8cf19c9011490e586a369f0b6f85">02149</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="classSAXParser.html#c1fc8cf19c9011490e586a369f0b6f85" title="This method returns the installed error handler.">SAXParser::getErrorHandler</a>()
<a name="l02150"></a>02150 {
<a name="l02151"></a>02151 <span class="keywordflow">return</span> fErrorHandler;
<a name="l02152"></a>02152 }
<a name="l02153"></a>02153
<a name="l02154"></a><a class="code" href="classSAXParser.html#ecf5822cd9b382c1261a42a3edcd9194">02154</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="classSAXParser.html#c1fc8cf19c9011490e586a369f0b6f85" title="This method returns the installed error handler.">SAXParser::getErrorHandler</a>()<span class="keyword"> const</span>
<a name="l02155"></a>02155 <span class="keyword"></span>{
<a name="l02156"></a>02156 <span class="keywordflow">return</span> fErrorHandler;
<a name="l02157"></a>02157 }
<a name="l02158"></a>02158
<a name="l02159"></a><a class="code" href="classSAXParser.html#da18c84c47a802ca1a720c06ab10fc47">02159</a> <span class="keyword">inline</span> <a class="code" href="classPSVIHandler.html" title="This abstract class provides the interface for the scanner to return PSVI information...">PSVIHandler</a>* <a class="code" href="classSAXParser.html#da18c84c47a802ca1a720c06ab10fc47" title="This method returns the installed PSVI handler.">SAXParser::getPSVIHandler</a>()
<a name="l02160"></a>02160 {
<a name="l02161"></a>02161 <span class="keywordflow">return</span> fPSVIHandler;
<a name="l02162"></a>02162 }
<a name="l02163"></a>02163
<a name="l02164"></a><a class="code" href="classSAXParser.html#437680dd0adb1f1b262e7e6e191c5fbc">02164</a> <span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="classPSVIHandler.html" title="This abstract class provides the interface for the scanner to return PSVI information...">PSVIHandler</a>* <a class="code" href="classSAXParser.html#da18c84c47a802ca1a720c06ab10fc47" title="This method returns the installed PSVI handler.">SAXParser::getPSVIHandler</a>()<span class="keyword"> const</span>
<a name="l02165"></a>02165 <span class="keyword"></span>{
<a name="l02166"></a>02166 <span class="keywordflow">return</span> fPSVIHandler;
<a name="l02167"></a>02167 }
<a name="l02168"></a>02168
<a name="l02169"></a><a class="code" href="classSAXParser.html#fca882e35007fb148ebebce061172eab">02169</a> <span class="keyword">inline</span> <span class="keyword">const</span> XMLScanner&amp; <a class="code" href="classSAXParser.html#fca882e35007fb148ebebce061172eab" title="This method returns a reference to the underlying scanner object.">SAXParser::getScanner</a>()<span class="keyword"> const</span>
<a name="l02170"></a>02170 <span class="keyword"></span>{
<a name="l02171"></a>02171 <span class="keywordflow">return</span> *fScanner;
<a name="l02172"></a>02172 }
<a name="l02173"></a>02173
<a name="l02174"></a><a class="code" href="classSAXParser.html#64a257c98cc32901b51053626878f515">02174</a> <span class="keyword">inline</span> GrammarResolver* <a class="code" href="classSAXParser.html#64a257c98cc32901b51053626878f515" title="Get the Grammar resolver.">SAXParser::getGrammarResolver</a>()<span class="keyword"> const</span>
<a name="l02175"></a>02175 <span class="keyword"></span>{
<a name="l02176"></a>02176 <span class="keywordflow">return</span> fGrammarResolver;
<a name="l02177"></a>02177 }
<a name="l02178"></a>02178
<a name="l02179"></a>02179 <a class="code" href="XercesDefs_8hpp.html#f03d5cb905763ef7a7bd22ab82718285">XERCES_CPP_NAMESPACE_END</a>
<a name="l02180"></a>02180
<a name="l02181"></a>02181 <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>