<HTML><HEAD><SCRIPT language="JavaScript" src="../resources/script.js" type="text/javascript"></SCRIPT><TITLE>DefaultHandler.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="http://xml.apache.org/dist/xerces-c/" onMouseOut="rolloverOff('side-ext-8');" onMouseOver="rolloverOn('side-ext-8');"><IMG alt="Download" border="0" height="12" hspace="0" name="side-ext-8" onLoad="rolloverLoad('side-ext-8','../graphics/ext-8-label-2.jpg','../graphics/ext-8-label-3.jpg');" src="../graphics/ext-8-label-3.jpg" vspace="0" width="120"></A><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="../build.html" onMouseOut="rolloverOff('side-build');" onMouseOver="rolloverOn('side-build');"><IMG alt="Build" 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> <IMG alt="API Docs" border="0" height="12" hspace="0" src="../graphics/api-label-1.jpg" vspace="0" width="120"><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="../schema.html" onMouseOut="rolloverOff('side-schema');" onMouseOver="rolloverOn('side-schema');"><IMG alt="Schema" border="0" height="12" hspace="0" name="side-schema" onLoad="rolloverLoad('side-schema','../graphics/schema-label-2.jpg','../graphics/schema-label-3.jpg');" src="../graphics/schema-label-3.jpg" vspace="0" width="120"></A><BR> <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR> <A href="../faqs.html" onMouseOut="rolloverOff('side-faqs');" onMouseOver="rolloverOn('side-faqs');"><IMG alt="FAQs" border="0" height="12" hspace="0" name="side-faqs" onLoad="rolloverLoad('side-faqs','../graphics/faqs-label-2.jpg','../graphics/faqs-label-3.jpg');" src="../graphics/faqs-label-3.jpg" vspace="0" width="120"></A><BR> <A href="../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="../migrate.html" onMouseOut="rolloverOff('side-migrate');" onMouseOver="rolloverOn('side-migrate');"><IMG alt="Migration" 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="../releases.html" onMouseOut="rolloverOff('side-releases');" onMouseOver="rolloverOn('side-releases');"><IMG alt="Releases" 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> <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="../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> <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR> <A href="../y2k.html" onMouseOut="rolloverOff('side-y2k');" onMouseOver="rolloverOn('side-y2k');"><IMG alt="Y2K Compliance" border="0" height="12" hspace="0" name="side-y2k" onLoad="rolloverLoad('side-y2k','../graphics/y2k-label-2.jpg','../graphics/y2k-label-3.jpg');" src="../graphics/y2k-label-3.jpg" vspace="0" width="120"></A><BR> <A href="../pdf.html" onMouseOut="rolloverOff('side-pdf');" onMouseOver="rolloverOn('side-pdf');"><IMG alt="PDF Document" border="0" height="12" hspace="0" name="side-pdf" onLoad="rolloverLoad('side-pdf','../graphics/pdf-label-2.jpg','../graphics/pdf-label-3.jpg');" src="../graphics/pdf-label-3.jpg" vspace="0" width="120"></A><BR> <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR> <A href="http://xml.apache.org/websrc/cvsweb.cgi/xml-xerces/c/" onMouseOut="rolloverOff('side-ext-50');" onMouseOver="rolloverOn('side-ext-50');"><IMG alt="CVS Repository" border="0" height="12" hspace="0" name="side-ext-50" onLoad="rolloverLoad('side-ext-50','../graphics/ext-50-label-2.jpg','../graphics/ext-50-label-3.jpg');" src="../graphics/ext-50-label-3.jpg" vspace="0" width="120"></A><BR> <A href="http://marc.theaimsgroup.com/?l=xerces-c-dev" onMouseOut="rolloverOff('side-ext-52');" onMouseOver="rolloverOn('side-ext-52');"><IMG alt="Mail Archive" border="0" height="12" hspace="0" name="side-ext-52" onLoad="rolloverLoad('side-ext-52','../graphics/ext-52-label-2.jpg','../graphics/ext-52-label-3.jpg');" src="../graphics/ext-52-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"> </TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif"> <P> <!-- Generated by Doxygen 1.2.4 on Fri Oct 26 10:31:58 2001 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center> <hr><h1>DefaultHandler.hpp</h1><a href="DefaultHandler_hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <font class="comment">/*</font> 00002 <font class="comment"> * The Apache Software License, Version 1.1</font> 00003 <font class="comment"> * </font> 00004 <font class="comment"> * Copyright (c) 1999-2000 The Apache Software Foundation. All rights</font> 00005 <font class="comment"> * reserved.</font> 00006 <font class="comment"> * </font> 00007 <font class="comment"> * Redistribution and use in source and binary forms, with or without</font> 00008 <font class="comment"> * modification, are permitted provided that the following conditions</font> 00009 <font class="comment"> * are met:</font> 00010 <font class="comment"> * </font> 00011 <font class="comment"> * 1. Redistributions of source code must retain the above copyright</font> 00012 <font class="comment"> * notice, this list of conditions and the following disclaimer. </font> 00013 <font class="comment"> * </font> 00014 <font class="comment"> * 2. Redistributions in binary form must reproduce the above copyright</font> 00015 <font class="comment"> * notice, this list of conditions and the following disclaimer in</font> 00016 <font class="comment"> * the documentation and/or other materials provided with the</font> 00017 <font class="comment"> * distribution.</font> 00018 <font class="comment"> * </font> 00019 <font class="comment"> * 3. The end-user documentation included with the redistribution,</font> 00020 <font class="comment"> * if any, must include the following acknowledgment: </font> 00021 <font class="comment"> * "This product includes software developed by the</font> 00022 <font class="comment"> * Apache Software Foundation (http://www.apache.org/)."</font> 00023 <font class="comment"> * Alternately, this acknowledgment may appear in the software itself,</font> 00024 <font class="comment"> * if and wherever such third-party acknowledgments normally appear.</font> 00025 <font class="comment"> * </font> 00026 <font class="comment"> * 4. The names "Xerces" and "Apache Software Foundation" must</font> 00027 <font class="comment"> * not be used to endorse or promote products derived from this</font> 00028 <font class="comment"> * software without prior written permission. For written </font> 00029 <font class="comment"> * permission, please contact apache\@apache.org.</font> 00030 <font class="comment"> * </font> 00031 <font class="comment"> * 5. Products derived from this software may not be called "Apache",</font> 00032 <font class="comment"> * nor may "Apache" appear in their name, without prior written</font> 00033 <font class="comment"> * permission of the Apache Software Foundation.</font> 00034 <font class="comment"> * </font> 00035 <font class="comment"> * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED</font> 00036 <font class="comment"> * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES</font> 00037 <font class="comment"> * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE</font> 00038 <font class="comment"> * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR</font> 00039 <font class="comment"> * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,</font> 00040 <font class="comment"> * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT</font> 00041 <font class="comment"> * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF</font> 00042 <font class="comment"> * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND</font> 00043 <font class="comment"> * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,</font> 00044 <font class="comment"> * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT</font> 00045 <font class="comment"> * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF</font> 00046 <font class="comment"> * SUCH DAMAGE.</font> 00047 <font class="comment"> * ====================================================================</font> 00048 <font class="comment"> * </font> 00049 <font class="comment"> * This software consists of voluntary contributions made by many</font> 00050 <font class="comment"> * individuals on behalf of the Apache Software Foundation, and was</font> 00051 <font class="comment"> * originally based on software copyright (c) 1999, International</font> 00052 <font class="comment"> * Business Machines, Inc., http://www.ibm.com . For more information</font> 00053 <font class="comment"> * on the Apache Software Foundation, please see</font> 00054 <font class="comment"> * <http://www.apache.org/>.</font> 00055 <font class="comment"> */</font> 00056 00057 <font class="comment">/*</font> 00058 <font class="comment"> * $Log: DefaultHandler.hpp,v $</font> 00059 <font class="comment"> * Revision 1.4 2000/12/22 15:17:01 tng</font> 00060 <font class="comment"> * SAX2-ext's LexicalHandler support added by David Bertoni.</font> 00061 <font class="comment"> *</font> 00062 <font class="comment"> * Revision 1.3 2000/08/14 18:56:14 aruna1</font> 00063 <font class="comment"> * Virtual parameter inconsistency fixed</font> 00064 <font class="comment"> *</font> 00065 <font class="comment"> * Revision 1.2 2000/08/07 18:21:27 jpolast</font> 00066 <font class="comment"> * change module to </font> 00067 <font class="comment"> *</font> 00068 <font class="comment"> * Revision 1.1 2000/08/02 18:02:34 jpolast</font> 00069 <font class="comment"> * initial checkin of sax2 implementation</font> 00070 <font class="comment"> * submitted by Simon Fell (simon@fell.com)</font> 00071 <font class="comment"> * and Joe Polastre (jpolast@apache.org)</font> 00072 <font class="comment"> *</font> 00073 <font class="comment"> *</font> 00074 <font class="comment"> */</font> 00075 00076 00077 <font class="preprocessor">#ifndef DEFAULTHANDLER_HPP</font> 00078 <font class="preprocessor"></font><font class="preprocessor">#define DEFAULTHANDLER_HPP</font> 00079 <font class="preprocessor"></font> 00080 <font class="preprocessor">#include <<a class="code" href="ContentHandler_hpp.html">sax2/ContentHandler.hpp</a>></font> 00081 <font class="preprocessor">#include <<a class="code" href="LexicalHandler_hpp.html">sax2/LexicalHandler.hpp</a>></font> 00082 <font class="preprocessor">#include <<a class="code" href="DTDHandler_hpp.html">sax/DTDHandler.hpp</a>></font> 00083 <font class="preprocessor">#include <<a class="code" href="EntityResolver_hpp.html">sax/EntityResolver.hpp</a>></font> 00084 <font class="preprocessor">#include <<a class="code" href="ErrorHandler_hpp.html">sax/ErrorHandler.hpp</a>></font> 00085 <font class="preprocessor">#include <<a class="code" href="SAXParseException_hpp.html">sax/SAXParseException.hpp</a>></font> 00086 00087 <font class="keyword">class </font><a class="code" href="class_Locator.html">Locator</a>; 00088 <font class="keyword">class </font><a class="code" href="class_Attributes.html">Attributes</a>; 00089 00109 <a name="l00110"></a><a class="code" href="class_DefaultHandler.html">00110</a> <font class="keyword">class </font> <a class="code" href="class_DefaultHandler.html">DefaultHandler</a> : 00111 00112 <font class="keyword">public</font> <a class="code" href="class_EntityResolver.html">EntityResolver</a>, 00113 <font class="keyword">public</font> <a class="code" href="class_DTDHandler.html">DTDHandler</a>, 00114 <font class="keyword">public</font> <a class="code" href="class_ContentHandler.html">ContentHandler</a>, 00115 <font class="keyword">public</font> <a class="code" href="class_ErrorHandler.html">ErrorHandler</a>, 00116 <font class="keyword">public</font> <a class="code" href="class_LexicalHandler.html">LexicalHandler</a> 00117 { 00118 <font class="keyword">public</font>: 00121 00136 <font class="keyword">virtual</font> <font class="keywordtype">void</font> characters 00137 ( 00138 <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> chars 00139 , <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> length 00140 ); 00141 00154 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="class_ContentHandler.html#a3">endDocument</a>(); 00155 00171 <font class="keyword">virtual</font> <font class="keywordtype">void</font> endElement 00172 ( 00173 <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> uri, 00174 <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> localname, 00175 <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> qname 00176 ); 00177 00193 <font class="keyword">virtual</font> <font class="keywordtype">void</font> ignorableWhitespace 00194 ( 00195 <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> chars 00196 , <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> length 00197 ); 00198 00214 <font class="keyword">virtual</font> <font class="keywordtype">void</font> processingInstruction 00215 ( 00216 <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> target 00217 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> data 00218 ); 00219 00225 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="class_DefaultHandler.html#a5">resetDocument</a>(); 00227 00229 00231 00242 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="class_ContentHandler.html#a7">setDocumentLocator</a>(<font class="keyword">const</font> <a class="code" href="class_Locator.html">Locator</a>* <font class="keyword">const</font> locator); 00243 00256 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="class_ContentHandler.html#a8">startDocument</a>(); 00257 00274 <font class="keyword">virtual</font> <font class="keywordtype">void</font> startElement 00275 ( 00276 <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> uri, 00277 <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> localname, 00278 <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> qname 00279 , <font class="keyword">const</font> <a class="code" href="class_Attributes.html">Attributes</a>& attrs 00280 ); 00281 00297 <font class="keyword">virtual</font> <font class="keywordtype">void</font> startPrefixMapping 00298 ( 00299 <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> prefix, 00300 <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> uri 00301 ) ; 00302 00317 <font class="keyword">virtual</font> <font class="keywordtype">void</font> endPrefixMapping 00318 ( 00319 <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> prefix 00320 ) ; 00321 00339 <font class="keyword">virtual</font> <font class="keywordtype">void</font> skippedEntity 00340 ( 00341 <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> name 00342 ) ; 00343 00345 00347 00349 00368 <font class="keyword">virtual</font> <a class="code" href="class_InputSource.html">InputSource</a>* resolveEntity 00369 ( 00370 <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> publicId 00371 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> systemId 00372 ); 00373 00375 00378 00392 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="class_ErrorHandler.html#a3">error</a>(<font class="keyword">const</font> <a class="code" href="class_SAXParseException.html">SAXParseException</a>& exception); 00393 00411 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="class_ErrorHandler.html#a4">fatalError</a>(<font class="keyword">const</font> <a class="code" href="class_SAXParseException.html">SAXParseException</a>& exception); 00412 00427 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="class_ErrorHandler.html#a2">warning</a>(<font class="keyword">const</font> <a class="code" href="class_SAXParseException.html">SAXParseException</a>& exception); 00428 00434 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="class_ErrorHandler.html#a5">resetErrors</a>(); 00435 00437 00438 00441 00455 <font class="keyword">virtual</font> <font class="keywordtype">void</font> notationDecl 00456 ( 00457 <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> name 00458 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> publicId 00459 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> systemId 00460 ); 00461 00467 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="class_DTDHandler.html#a4">resetDocType</a>(); 00468 00483 <font class="keyword">virtual</font> <font class="keywordtype">void</font> unparsedEntityDecl 00484 ( 00485 <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> name 00486 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> publicId 00487 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> systemId 00488 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> notationName 00489 ); 00491 00492 00494 00496 00510 <font class="keyword">virtual</font> <font class="keywordtype">void</font> comment 00511 ( 00512 <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> chars 00513 , <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> length 00514 ); 00515 00525 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="class_LexicalHandler.html#a3">endCDATA</a> (); 00526 00536 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="class_LexicalHandler.html#a4">endDTD</a> (); 00537 00548 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="class_LexicalHandler.html#a5">endEntity</a> (<font class="keyword">const</font> XMLCh* <font class="keyword">const</font> name); 00549 00559 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="class_LexicalHandler.html#a6">startCDATA</a> (); 00560 00573 <font class="keyword">virtual</font> <font class="keywordtype">void</font> startDTD 00574 ( 00575 <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> name 00576 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> publicId 00577 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> systemId 00578 ); 00579 00590 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="class_LexicalHandler.html#a8">startEntity</a> (<font class="keyword">const</font> XMLCh* <font class="keyword">const</font> name); 00591 00593 }; 00594 00595 00596 <font class="comment">// ---------------------------------------------------------------------------</font> 00597 <font class="comment">// HandlerBase: Inline default implementations</font> 00598 <font class="comment">// ---------------------------------------------------------------------------</font> <a name="l00599"></a><a class="code" href="class_DefaultHandler.html#a0">00599</a> <font class="keyword">inline</font> <font class="keywordtype">void</font> <a class="code" href="class_ContentHandler.html#a2">DefaultHandler::characters</a>(<font class="keyword">const</font> XMLCh* <font class="keyword">const</font> chars 00600 ,<font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> length)<font class="keyword"></font> 00601 <font class="keyword"></font>{ 00602 } 00603 <a name="l00604"></a><a class="code" href="class_DefaultHandler.html#a1">00604</a> <font class="keyword">inline</font> <font class="keywordtype">void</font> <a class="code" href="class_ContentHandler.html#a3">DefaultHandler::endDocument</a>()<font class="keyword"></font> 00605 <font class="keyword"></font>{ 00606 } 00607 <a name="l00608"></a><a class="code" href="class_DefaultHandler.html#a2">00608</a> <font class="keyword">inline</font> <font class="keywordtype">void</font> <a class="code" href="class_ContentHandler.html#a4">DefaultHandler::endElement</a>(<font class="keyword">const</font> XMLCh* <font class="keyword">const</font> uri 00609 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> localname 00610 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> qname)<font class="keyword"></font> 00611 <font class="keyword"></font>{ 00612 } 00613 <a name="l00614"></a><a class="code" href="class_DefaultHandler.html#a13">00614</a> <font class="keyword">inline</font> <font class="keywordtype">void</font> <a class="code" href="class_ErrorHandler.html#a3">DefaultHandler::error</a>(<font class="keyword">const</font> <a class="code" href="class_SAXParseException.html">SAXParseException</a>& exception)<font class="keyword"></font> 00615 <font class="keyword"></font>{ 00616 } 00617 <a name="l00618"></a><a class="code" href="class_DefaultHandler.html#a14">00618</a> <font class="keyword">inline</font> <font class="keywordtype">void</font> <a class="code" href="class_ErrorHandler.html#a4">DefaultHandler::fatalError</a>(<font class="keyword">const</font> <a class="code" href="class_SAXParseException.html">SAXParseException</a>& exception)<font class="keyword"></font> 00619 <font class="keyword"></font>{ 00620 <font class="keywordflow">throw</font> exception; 00621 } 00622 00623 <font class="keyword">inline</font> <font class="keywordtype">void</font> <a name="l00624"></a><a class="code" href="class_DefaultHandler.html#a3">00624</a> <a class="code" href="class_ContentHandler.html#a5">DefaultHandler::ignorableWhitespace</a>( <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> chars 00625 , <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> length)<font class="keyword"></font> 00626 <font class="keyword"></font>{ 00627 } 00628 <a name="l00629"></a><a class="code" href="class_DefaultHandler.html#a17">00629</a> <font class="keyword">inline</font> <font class="keywordtype">void</font> <a class="code" href="class_DTDHandler.html#a2">DefaultHandler::notationDecl</a>( <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> name 00630 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> publicId 00631 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> systemId)<font class="keyword"></font> 00632 <font class="keyword"></font>{ 00633 } 00634 00635 <font class="keyword">inline</font> <font class="keywordtype">void</font> <a name="l00636"></a><a class="code" href="class_DefaultHandler.html#a4">00636</a> <a class="code" href="class_ContentHandler.html#a6">DefaultHandler::processingInstruction</a>( <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> target 00637 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> data)<font class="keyword"></font> 00638 <font class="keyword"></font>{ 00639 } 00640 <a name="l00641"></a><a class="code" href="class_DefaultHandler.html#a16">00641</a> <font class="keyword">inline</font> <font class="keywordtype">void</font> <a class="code" href="class_ErrorHandler.html#a5">DefaultHandler::resetErrors</a>()<font class="keyword"></font> 00642 <font class="keyword"></font>{ 00643 } 00644 <a name="l00645"></a><a class="code" href="class_DefaultHandler.html#a5">00645</a> <font class="keyword">inline</font> <font class="keywordtype">void</font> <a class="code" href="class_DefaultHandler.html#a5">DefaultHandler::resetDocument</a>()<font class="keyword"></font> 00646 <font class="keyword"></font>{ 00647 } 00648 <a name="l00649"></a><a class="code" href="class_DefaultHandler.html#a18">00649</a> <font class="keyword">inline</font> <font class="keywordtype">void</font> <a class="code" href="class_DTDHandler.html#a4">DefaultHandler::resetDocType</a>()<font class="keyword"></font> 00650 <font class="keyword"></font>{ 00651 } 00652 00653 <font class="keyword">inline</font> <a class="code" href="class_InputSource.html">InputSource</a>* <a name="l00654"></a><a class="code" href="class_DefaultHandler.html#a12">00654</a> <a class="code" href="class_EntityResolver.html#a2">DefaultHandler::resolveEntity</a>( <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> publicId 00655 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> systemId)<font class="keyword"></font> 00656 <font class="keyword"></font>{ 00657 <font class="keywordflow">return</font> 0; 00658 } 00659 00660 <font class="keyword">inline</font> <font class="keywordtype">void</font> <a name="l00661"></a><a class="code" href="class_DefaultHandler.html#a19">00661</a> <a class="code" href="class_DTDHandler.html#a3">DefaultHandler::unparsedEntityDecl</a>(<font class="keyword">const</font> XMLCh* <font class="keyword">const</font> name 00662 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> publicId 00663 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> systemId 00664 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> notationName)<font class="keyword"></font> 00665 <font class="keyword"></font>{ 00666 } 00667 <a name="l00668"></a><a class="code" href="class_DefaultHandler.html#a6">00668</a> <font class="keyword">inline</font> <font class="keywordtype">void</font> <a class="code" href="class_ContentHandler.html#a7">DefaultHandler::setDocumentLocator</a>(<font class="keyword">const</font> <a class="code" href="class_Locator.html">Locator</a>* <font class="keyword">const</font> locator)<font class="keyword"></font> 00669 <font class="keyword"></font>{ 00670 } 00671 <a name="l00672"></a><a class="code" href="class_DefaultHandler.html#a7">00672</a> <font class="keyword">inline</font> <font class="keywordtype">void</font> <a class="code" href="class_ContentHandler.html#a8">DefaultHandler::startDocument</a>()<font class="keyword"></font> 00673 <font class="keyword"></font>{ 00674 } 00675 00676 <font class="keyword">inline</font> <font class="keywordtype">void</font> <a name="l00677"></a><a class="code" href="class_DefaultHandler.html#a8">00677</a> <a class="code" href="class_ContentHandler.html#a9">DefaultHandler::startElement</a>( <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> uri 00678 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> localname 00679 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> qname 00680 , <font class="keyword">const</font> <a class="code" href="class_Attributes.html">Attributes</a>& attrs 00681 )<font class="keyword"></font> 00682 <font class="keyword"></font>{ 00683 } 00684 <a name="l00685"></a><a class="code" href="class_DefaultHandler.html#a15">00685</a> <font class="keyword">inline</font> <font class="keywordtype">void</font> <a class="code" href="class_ErrorHandler.html#a2">DefaultHandler::warning</a>(<font class="keyword">const</font> <a class="code" href="class_SAXParseException.html">SAXParseException</a>& exception)<font class="keyword"></font> 00686 <font class="keyword"></font>{ 00687 } 00688 <a name="l00689"></a><a class="code" href="class_DefaultHandler.html#a9">00689</a> <font class="keyword">inline</font> <font class="keywordtype">void</font> <a class="code" href="class_ContentHandler.html#a10">DefaultHandler::startPrefixMapping</a> ( <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> prefix 00690 ,<font class="keyword">const</font> XMLCh* <font class="keyword">const</font> uri)<font class="keyword"></font> 00691 <font class="keyword"></font>{ 00692 } 00693 <a name="l00694"></a><a class="code" href="class_DefaultHandler.html#a10">00694</a> <font class="keyword">inline</font> <font class="keywordtype">void</font> <a class="code" href="class_ContentHandler.html#a11">DefaultHandler::endPrefixMapping</a> ( <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> prefix )<font class="keyword"></font> 00695 <font class="keyword"></font>{ 00696 } 00697 <a name="l00698"></a><a class="code" href="class_DefaultHandler.html#a11">00698</a> <font class="keyword">inline</font> <font class="keywordtype">void</font> <a class="code" href="class_ContentHandler.html#a12">DefaultHandler::skippedEntity</a> ( <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> name )<font class="keyword"></font> 00699 <font class="keyword"></font>{ 00700 } 00701 <a name="l00702"></a><a class="code" href="class_DefaultHandler.html#a20">00702</a> <font class="keyword">inline</font> <font class="keywordtype">void</font> <a class="code" href="class_LexicalHandler.html#a2">DefaultHandler::comment</a>( <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> chars 00703 , <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> length)<font class="keyword"></font> 00704 <font class="keyword"></font>{ 00705 } 00706 <a name="l00707"></a><a class="code" href="class_DefaultHandler.html#a21">00707</a> <font class="keyword">inline</font> <font class="keywordtype">void</font> <a class="code" href="class_LexicalHandler.html#a3">DefaultHandler::endCDATA</a> ()<font class="keyword"></font> 00708 <font class="keyword"></font>{ 00709 } 00710 <a name="l00711"></a><a class="code" href="class_DefaultHandler.html#a22">00711</a> <font class="keyword">inline</font> <font class="keywordtype">void</font> <a class="code" href="class_LexicalHandler.html#a4">DefaultHandler::endDTD</a> ()<font class="keyword"></font> 00712 <font class="keyword"></font>{ 00713 } 00714 <a name="l00715"></a><a class="code" href="class_DefaultHandler.html#a23">00715</a> <font class="keyword">inline</font> <font class="keywordtype">void</font> <a class="code" href="class_LexicalHandler.html#a5">DefaultHandler::endEntity</a> (<font class="keyword">const</font> XMLCh* <font class="keyword">const</font> name)<font class="keyword"></font> 00716 <font class="keyword"></font>{ 00717 } 00718 <a name="l00719"></a><a class="code" href="class_DefaultHandler.html#a24">00719</a> <font class="keyword">inline</font> <font class="keywordtype">void</font> <a class="code" href="class_LexicalHandler.html#a6">DefaultHandler::startCDATA</a> ()<font class="keyword"></font> 00720 <font class="keyword"></font>{ 00721 } 00722 <a name="l00723"></a><a class="code" href="class_DefaultHandler.html#a25">00723</a> <font class="keyword">inline</font> <font class="keywordtype">void</font> <a class="code" href="class_LexicalHandler.html#a7">DefaultHandler::startDTD</a>( <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> name 00724 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> publicId 00725 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> systemId)<font class="keyword"></font> 00726 <font class="keyword"></font>{ 00727 } 00728 <a name="l00729"></a><a class="code" href="class_DefaultHandler.html#a26">00729</a> <font class="keyword">inline</font> <font class="keywordtype">void</font> <a class="code" href="class_LexicalHandler.html#a8">DefaultHandler::startEntity</a> (<font class="keyword">const</font> XMLCh* <font class="keyword">const</font> name)<font class="keyword"></font> 00730 <font class="keyword"></font>{ 00731 } 00732 00733 <font class="preprocessor">#endif // ! DEFAULTHANDLER_HPP</font> </font></div></pre> </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"></TD></TR><TR><TD align="center"><FONT color="#0086b2" size="-1"><I> Copyright © 2000 The Apache Software Foundation. All Rights Reserved. </I></FONT></TD></TR></TABLE></BODY></HTML>