blob: 2534b83a88d170f627dc657c90527a742949d625 [file] [log] [blame]
<HTML><HEAD><SCRIPT language="JavaScript" src="../resources/script.js" type="text/javascript"></SCRIPT><TITLE>Xerces-C++: HandlerBase.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>HandlerBase.hpp</h1><a href="HandlerBase_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: HandlerBase.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
<a name="l00023"></a>00023 <span class="preprocessor">#ifndef HANDLERBASE_HPP</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span><span class="preprocessor">#define HANDLERBASE_HPP</span>
<a name="l00025"></a>00025 <span class="preprocessor"></span>
<a name="l00026"></a>00026 <span class="preprocessor">#include &lt;<a class="code" href="DocumentHandler_8hpp.html">xercesc/sax/DocumentHandler.hpp</a>&gt;</span>
<a name="l00027"></a>00027 <span class="preprocessor">#include &lt;<a class="code" href="DTDHandler_8hpp.html">xercesc/sax/DTDHandler.hpp</a>&gt;</span>
<a name="l00028"></a>00028 <span class="preprocessor">#include &lt;<a class="code" href="EntityResolver_8hpp.html">xercesc/sax/EntityResolver.hpp</a>&gt;</span>
<a name="l00029"></a>00029 <span class="preprocessor">#include &lt;<a class="code" href="ErrorHandler_8hpp.html">xercesc/sax/ErrorHandler.hpp</a>&gt;</span>
<a name="l00030"></a>00030 <span class="preprocessor">#include &lt;<a class="code" href="SAXParseException_8hpp.html">xercesc/sax/SAXParseException.hpp</a>&gt;</span>
<a name="l00031"></a>00031
<a name="l00032"></a>00032 <a class="code" href="XercesDefs_8hpp.html#43d74fa53d868d978f3e97cbb78b194d">XERCES_CPP_NAMESPACE_BEGIN</a>
<a name="l00033"></a>00033
<a name="l00034"></a>00034 <span class="keyword">class </span><a class="code" href="classLocator.html" title="Interface for associating a SAX event with a document location.">Locator</a>;
<a name="l00035"></a>00035 <span class="keyword">class </span><a class="code" href="classAttributeList.html" title="Interface for an element&amp;#39;s attribute specifications.">AttributeList</a>;
<a name="l00036"></a>00036
<a name="l00057"></a><a class="code" href="classHandlerBase.html">00057</a> <span class="keyword">class </span><a class="code" href="XercesDefs_8hpp.html#7fdf07718ad6e0a80a00387c4fb5f82d"></a> <a class="code" href="classHandlerBase.html" title="Default base class for handlers.">HandlerBase</a> :
<a name="l00058"></a>00058
<a name="l00059"></a>00059 <span class="keyword">public</span> <a class="code" href="classEntityResolver.html" title="Basic interface for resolving entities.">EntityResolver</a>, <span class="keyword">public</span> <a class="code" href="classDTDHandler.html" title="Receive notification of basic DTD-related events.">DTDHandler</a>, <span class="keyword">public</span> <a class="code" href="classDocumentHandler.html" title="Receive notification of general document events.">DocumentHandler</a>
<a name="l00060"></a>00060 , <span class="keyword">public</span> <a class="code" href="classErrorHandler.html" title="Basic interface for SAX error handlers.">ErrorHandler</a>
<a name="l00061"></a>00061 {
<a name="l00062"></a>00062 <span class="keyword">public</span>:
<a name="l00080"></a>00080 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classDocumentHandler.html#66d405c78187ffae92143006082e49cf" title="Receive notification of character data.">characters</a>
<a name="l00081"></a>00081 (
<a name="l00082"></a>00082 <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> chars
<a name="l00083"></a>00083 , <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> length
<a name="l00084"></a>00084 );
<a name="l00085"></a>00085
<a name="l00098"></a>00098 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classDocumentHandler.html#87e8fefd7fa90cbbd629ce45aa82c736" title="Receive notification of the end of a document.">endDocument</a>();
<a name="l00099"></a>00099
<a name="l00113"></a>00113 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classDocumentHandler.html#d3b6e82b8d674030b0b9b34173524af3" title="Receive notification of the end of an element.">endElement</a>(<span class="keyword">const</span> XMLCh* <span class="keyword">const</span> name);
<a name="l00114"></a>00114
<a name="l00130"></a>00130 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classDocumentHandler.html#bf0888e5782f4faa059ca2ace8c58267" title="Receive notification of ignorable whitespace in element content.">ignorableWhitespace</a>
<a name="l00131"></a>00131 (
<a name="l00132"></a>00132 <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> chars
<a name="l00133"></a>00133 , <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> length
<a name="l00134"></a>00134 );
<a name="l00135"></a>00135
<a name="l00151"></a>00151 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classDocumentHandler.html#546c9915fbb6e926b7313c05772ca17c" title="Receive notification of a processing instruction.">processingInstruction</a>
<a name="l00152"></a>00152 (
<a name="l00153"></a>00153 <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> target
<a name="l00154"></a>00154 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> data
<a name="l00155"></a>00155 );
<a name="l00156"></a>00156
<a name="l00162"></a>00162 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classDocumentHandler.html#b74ecca443af07aa9e75e23846fb5868" title="Reset the Docuemnt object on its reuse.">resetDocument</a>();
<a name="l00164"></a>00164
<a name="l00179"></a>00179 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classDocumentHandler.html#d9e42f7996fc226800c2e445f32f4f6c" title="Receive an object for locating the origin of SAX document events.">setDocumentLocator</a>(<span class="keyword">const</span> <a class="code" href="classLocator.html" title="Interface for associating a SAX event with a document location.">Locator</a>* <span class="keyword">const</span> locator);
<a name="l00180"></a>00180
<a name="l00193"></a>00193 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classDocumentHandler.html#286dec815391a19130674d4f389f5db4" title="Receive notification of the beginning of a document.">startDocument</a>();
<a name="l00194"></a>00194
<a name="l00209"></a>00209 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classDocumentHandler.html#15fb4581aec4828d3ee85b658f7ceb69" title="Receive notification of the beginning of an element.">startElement</a>
<a name="l00210"></a>00210 (
<a name="l00211"></a>00211 <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> name
<a name="l00212"></a>00212 , <a class="code" href="classAttributeList.html" title="Interface for an element&amp;#39;s attribute specifications.">AttributeList</a>&amp; attributes
<a name="l00213"></a>00213 );
<a name="l00214"></a>00214
<a name="l00216"></a>00216
<a name="l00241"></a>00241 <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="classEntityResolver.html#f6e630429ea35de71acda7287846911e" title="Allow the application to resolve external entities.">resolveEntity</a>
<a name="l00242"></a>00242 (
<a name="l00243"></a>00243 <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> publicId
<a name="l00244"></a>00244 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> systemId
<a name="l00245"></a>00245 );
<a name="l00246"></a>00246
<a name="l00248"></a>00248
<a name="l00265"></a>00265 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classErrorHandler.html#9f6d55ac2d4aec618aaffb75494c8b94" title="Receive notification of a recoverable error.">error</a>(<span class="keyword">const</span> <a class="code" href="classSAXParseException.html" title="Encapsulate an XML parse error or warning.">SAXParseException</a>&amp; exc);
<a name="l00266"></a>00266
<a name="l00284"></a>00284 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classErrorHandler.html#1e45f82d84a9e305a3fa7059da96bc13" title="Receive notification of a non-recoverable error.">fatalError</a>(<span class="keyword">const</span> <a class="code" href="classSAXParseException.html" title="Encapsulate an XML parse error or warning.">SAXParseException</a>&amp; exc);
<a name="l00285"></a>00285
<a name="l00300"></a>00300 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classErrorHandler.html#1b9ae5ce728c0cc610ff9d1284c0f415" title="Receive notification of a warning.">warning</a>(<span class="keyword">const</span> <a class="code" href="classSAXParseException.html" title="Encapsulate an XML parse error or warning.">SAXParseException</a>&amp; exc);
<a name="l00301"></a>00301
<a name="l00307"></a>00307 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classErrorHandler.html#6069802c864480be0e2431ac5129c5dd" title="Reset the Error handler object on its reuse.">resetErrors</a>();
<a name="l00308"></a>00308
<a name="l00310"></a>00310
<a name="l00311"></a>00311
<a name="l00314"></a>00314
<a name="l00328"></a>00328 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classDTDHandler.html#aafc15a4880f41e9e44904be254cb70d" title="Receive notification of a notation declaration event.">notationDecl</a>
<a name="l00329"></a>00329 (
<a name="l00330"></a>00330 <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> name
<a name="l00331"></a>00331 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> publicId
<a name="l00332"></a>00332 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> systemId
<a name="l00333"></a>00333 );
<a name="l00334"></a>00334
<a name="l00340"></a>00340 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classDTDHandler.html#4eebace32128b2215f51a5c73a9437ad" title="Reset the DocType object on its reuse.">resetDocType</a>();
<a name="l00341"></a>00341
<a name="l00356"></a>00356 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classDTDHandler.html#713d4ba5348319077a8d9b8f2d0948d6" title="Receive notification of an unparsed entity declaration event.">unparsedEntityDecl</a>
<a name="l00357"></a>00357 (
<a name="l00358"></a>00358 <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> name
<a name="l00359"></a>00359 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> publicId
<a name="l00360"></a>00360 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> systemId
<a name="l00361"></a>00361 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> notationName
<a name="l00362"></a>00362 );
<a name="l00364"></a>00364
<a name="l00365"></a><a class="code" href="classHandlerBase.html#a9bbcdb7958bace9296940ab702ef367">00365</a> <a class="code" href="classHandlerBase.html" title="Default base class for handlers.">HandlerBase</a>() {};
<a name="l00366"></a><a class="code" href="classHandlerBase.html#3eea8d7462c14e9ba80fe9bb6d6e48d8">00366</a> <span class="keyword">virtual</span> ~<a class="code" href="classHandlerBase.html" title="Default base class for handlers.">HandlerBase</a>() {};
<a name="l00367"></a>00367
<a name="l00368"></a>00368 <span class="keyword">private</span>:
<a name="l00369"></a>00369 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00370"></a>00370 <span class="comment">// Unimplemented constructors and operators</span>
<a name="l00371"></a>00371 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00372"></a>00372 <a class="code" href="classHandlerBase.html" title="Default base class for handlers.">HandlerBase</a>(<span class="keyword">const</span> <a class="code" href="classHandlerBase.html" title="Default base class for handlers.">HandlerBase</a>&amp;);
<a name="l00373"></a>00373 <a class="code" href="classHandlerBase.html" title="Default base class for handlers.">HandlerBase</a>&amp; operator=(<span class="keyword">const</span> <a class="code" href="classHandlerBase.html" title="Default base class for handlers.">HandlerBase</a>&amp;);
<a name="l00374"></a>00374 };
<a name="l00375"></a>00375
<a name="l00376"></a>00376
<a name="l00377"></a>00377 <span class="comment">// ---------------------------------------------------------------------------</span>
<a name="l00378"></a>00378 <span class="comment">// HandlerBase: Inline default implementations</span>
<a name="l00379"></a>00379 <span class="comment">// ---------------------------------------------------------------------------</span>
<a name="l00380"></a><a class="code" href="classHandlerBase.html#7932fda60f420eaec04c4eae497d72df">00380</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classHandlerBase.html#7932fda60f420eaec04c4eae497d72df" title="Receive notification of character data inside an element.">HandlerBase::characters</a>(<span class="keyword">const</span> XMLCh* <span class="keyword">const</span>
<a name="l00381"></a>00381 , <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>)
<a name="l00382"></a>00382 {
<a name="l00383"></a>00383 }
<a name="l00384"></a>00384
<a name="l00385"></a><a class="code" href="classHandlerBase.html#0902ca7ae75dae9d06a2525db4eb3cac">00385</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classHandlerBase.html#0902ca7ae75dae9d06a2525db4eb3cac" title="Receive notification of the end of the document.">HandlerBase::endDocument</a>()
<a name="l00386"></a>00386 {
<a name="l00387"></a>00387 }
<a name="l00388"></a>00388
<a name="l00389"></a><a class="code" href="classHandlerBase.html#c37346b7da927c89c4459450b9bc1c7c">00389</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classHandlerBase.html#c37346b7da927c89c4459450b9bc1c7c" title="Receive notification of the end of an element.">HandlerBase::endElement</a>(<span class="keyword">const</span> XMLCh* <span class="keyword">const</span>)
<a name="l00390"></a>00390 {
<a name="l00391"></a>00391 }
<a name="l00392"></a>00392
<a name="l00393"></a><a class="code" href="classHandlerBase.html#8f3e85255c373cffa53e1f28a69a6e2c">00393</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classHandlerBase.html#8f3e85255c373cffa53e1f28a69a6e2c" title="Receive notification of a recoverable parser error.">HandlerBase::error</a>(<span class="keyword">const</span> <a class="code" href="classSAXParseException.html" title="Encapsulate an XML parse error or warning.">SAXParseException</a>&amp;)
<a name="l00394"></a>00394 {
<a name="l00395"></a>00395 }
<a name="l00396"></a>00396
<a name="l00397"></a><a class="code" href="classHandlerBase.html#91555ff758c3817fb2a4a863ce07265c">00397</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classHandlerBase.html#91555ff758c3817fb2a4a863ce07265c" title="Report a fatal XML parsing error.">HandlerBase::fatalError</a>(<span class="keyword">const</span> <a class="code" href="classSAXParseException.html" title="Encapsulate an XML parse error or warning.">SAXParseException</a>&amp; exc)
<a name="l00398"></a>00398 {
<a name="l00399"></a>00399 <span class="keywordflow">throw</span> exc;
<a name="l00400"></a>00400 }
<a name="l00401"></a>00401
<a name="l00402"></a>00402 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00403"></a><a class="code" href="classHandlerBase.html#70c9b8bd4ebfd5038b57b463ff1bea11">00403</a> <a class="code" href="classHandlerBase.html#70c9b8bd4ebfd5038b57b463ff1bea11" title="Receive notification of ignorable whitespace in element content.">HandlerBase::ignorableWhitespace</a>( <span class="keyword">const</span> XMLCh* <span class="keyword">const</span>
<a name="l00404"></a>00404 , <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>)
<a name="l00405"></a>00405 {
<a name="l00406"></a>00406 }
<a name="l00407"></a>00407
<a name="l00408"></a><a class="code" href="classHandlerBase.html#5f7df4e12baac8cd33ba56ea0f49fcdc">00408</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classHandlerBase.html#5f7df4e12baac8cd33ba56ea0f49fcdc" title="Receive notification of a notation declaration.">HandlerBase::notationDecl</a>( <span class="keyword">const</span> XMLCh* <span class="keyword">const</span>
<a name="l00409"></a>00409 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span>
<a name="l00410"></a>00410 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span>)
<a name="l00411"></a>00411 {
<a name="l00412"></a>00412 }
<a name="l00413"></a>00413
<a name="l00414"></a>00414 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00415"></a><a class="code" href="classHandlerBase.html#99e381277cc9d8daa44a990d1d0244ae">00415</a> <a class="code" href="classHandlerBase.html#99e381277cc9d8daa44a990d1d0244ae" title="Receive notification of a processing instruction.">HandlerBase::processingInstruction</a>( <span class="keyword">const</span> XMLCh* <span class="keyword">const</span>
<a name="l00416"></a>00416 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span>)
<a name="l00417"></a>00417 {
<a name="l00418"></a>00418 }
<a name="l00419"></a>00419
<a name="l00420"></a><a class="code" href="classHandlerBase.html#d66d005fa7630d520ace8a94bab13cb1">00420</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classHandlerBase.html#d66d005fa7630d520ace8a94bab13cb1" title="Reset the Error handler object on its reuse.">HandlerBase::resetErrors</a>()
<a name="l00421"></a>00421 {
<a name="l00422"></a>00422 }
<a name="l00423"></a>00423
<a name="l00424"></a><a class="code" href="classHandlerBase.html#27d5aa7a1fca56f35fc9ef5d74aad57b">00424</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classHandlerBase.html#27d5aa7a1fca56f35fc9ef5d74aad57b" title="Reset the Docuemnt object on its reuse.">HandlerBase::resetDocument</a>()
<a name="l00425"></a>00425 {
<a name="l00426"></a>00426 }
<a name="l00427"></a>00427
<a name="l00428"></a><a class="code" href="classHandlerBase.html#22cb17b641774f7eba0a717da6657195">00428</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classHandlerBase.html#22cb17b641774f7eba0a717da6657195" title="Reset the DTD object on its reuse.">HandlerBase::resetDocType</a>()
<a name="l00429"></a>00429 {
<a name="l00430"></a>00430 }
<a name="l00431"></a>00431
<a name="l00432"></a>00432 <span class="keyword">inline</span> <a class="code" href="classInputSource.html" title="A single input source for an XML entity.">InputSource</a>*
<a name="l00433"></a><a class="code" href="classHandlerBase.html#c8887abf3674946a8c02bf6097bffd28">00433</a> <a class="code" href="classHandlerBase.html#c8887abf3674946a8c02bf6097bffd28" title="Resolve an external entity.">HandlerBase::resolveEntity</a>( <span class="keyword">const</span> XMLCh* <span class="keyword">const</span>
<a name="l00434"></a>00434 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span>)
<a name="l00435"></a>00435 {
<a name="l00436"></a>00436 <span class="keywordflow">return</span> 0;
<a name="l00437"></a>00437 }
<a name="l00438"></a>00438
<a name="l00439"></a>00439 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00440"></a><a class="code" href="classHandlerBase.html#29bf492b4a6253b21f7f9bafcef03b9a">00440</a> <a class="code" href="classHandlerBase.html#29bf492b4a6253b21f7f9bafcef03b9a" title="Receive notification of an unparsed entity declaration.">HandlerBase::unparsedEntityDecl</a>(<span class="keyword">const</span> XMLCh* <span class="keyword">const</span>
<a name="l00441"></a>00441 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span>
<a name="l00442"></a>00442 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span>
<a name="l00443"></a>00443 , <span class="keyword">const</span> XMLCh* <span class="keyword">const</span>)
<a name="l00444"></a>00444 {
<a name="l00445"></a>00445 }
<a name="l00446"></a>00446
<a name="l00447"></a><a class="code" href="classHandlerBase.html#f1109bc43e42025f985480f8369d7db3">00447</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classHandlerBase.html#f1109bc43e42025f985480f8369d7db3" title="Receive a Locator object for document events.">HandlerBase::setDocumentLocator</a>(<span class="keyword">const</span> <a class="code" href="classLocator.html" title="Interface for associating a SAX event with a document location.">Locator</a>* <span class="keyword">const</span>)
<a name="l00448"></a>00448 {
<a name="l00449"></a>00449 }
<a name="l00450"></a>00450
<a name="l00451"></a><a class="code" href="classHandlerBase.html#5459be20011e9d25b6471b2a8e5f053d">00451</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classHandlerBase.html#5459be20011e9d25b6471b2a8e5f053d" title="Receive notification of the beginning of the document.">HandlerBase::startDocument</a>()
<a name="l00452"></a>00452 {
<a name="l00453"></a>00453 }
<a name="l00454"></a>00454
<a name="l00455"></a>00455 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00456"></a><a class="code" href="classHandlerBase.html#3f6d8a77ea81cc65e4f6ad9dda352cea">00456</a> <a class="code" href="classHandlerBase.html#3f6d8a77ea81cc65e4f6ad9dda352cea" title="Receive notification of the start of an element.">HandlerBase::startElement</a>( <span class="keyword">const</span> XMLCh* <span class="keyword">const</span>
<a name="l00457"></a>00457 , <a class="code" href="classAttributeList.html" title="Interface for an element&amp;#39;s attribute specifications.">AttributeList</a>&amp;)
<a name="l00458"></a>00458 {
<a name="l00459"></a>00459 }
<a name="l00460"></a>00460
<a name="l00461"></a><a class="code" href="classHandlerBase.html#ed6265de65594d5f4f6e1eab1d0a20c6">00461</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classHandlerBase.html#ed6265de65594d5f4f6e1eab1d0a20c6" title="Receive notification of a parser warning.">HandlerBase::warning</a>(<span class="keyword">const</span> <a class="code" href="classSAXParseException.html" title="Encapsulate an XML parse error or warning.">SAXParseException</a>&amp;)
<a name="l00462"></a>00462 {
<a name="l00463"></a>00463 }
<a name="l00464"></a>00464
<a name="l00465"></a>00465 <a class="code" href="XercesDefs_8hpp.html#f03d5cb905763ef7a7bd22ab82718285">XERCES_CPP_NAMESPACE_END</a>
<a name="l00466"></a>00466
<a name="l00467"></a>00467 <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>