git-svn-id: http://moon:8086/svn/software/trunk/libsrc/xerces-c-3.0.0@1 b431acfa-c32f-4a4a-93f1-934dc6c82436
152 lines
16 KiB
HTML
Executable File
152 lines
16 KiB
HTML
Executable File
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
|
<title>Xerces-C++: XMLDocumentHandler.hpp Source File</title>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
|
<link href="tabs.css" rel="stylesheet" type="text/css">
|
|
</head><body>
|
|
<!-- Generated by Doxygen 1.5.4 -->
|
|
<div class="tabs">
|
|
<ul>
|
|
<li><a href="index.html"><span>Main 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 Pages</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<h1>XMLDocumentHandler.hpp</h1><a href="XMLDocumentHandler_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: XMLDocumentHandler.hpp 673679 2008-07-03 13:50:10Z borisk $</span>
|
|
<a name="l00020"></a>00020 <span class="comment"> */</span>
|
|
<a name="l00021"></a>00021
|
|
<a name="l00022"></a>00022 <span class="preprocessor">#if !defined(XERCESC_INCLUDE_GUARD_XMLDOCUMENTHANDLER_HPP)</span>
|
|
<a name="l00023"></a><a class="code" href="XMLDocumentHandler_8hpp.html#8b74d2e72526f26cac7522e1bd991428">00023</a> <span class="preprocessor"></span><span class="preprocessor">#define XERCESC_INCLUDE_GUARD_XMLDOCUMENTHANDLER_HPP</span>
|
|
<a name="l00024"></a>00024 <span class="preprocessor"></span>
|
|
<a name="l00025"></a>00025 <span class="preprocessor">#include <<a class="code" href="XercesDefs_8hpp.html">xercesc/util/XercesDefs.hpp</a>></span>
|
|
<a name="l00026"></a>00026 <span class="preprocessor">#include <xercesc/util/RefVectorOf.hpp></span>
|
|
<a name="l00027"></a>00027 <span class="preprocessor">#include <<a class="code" href="XMLAttr_8hpp.html">xercesc/framework/XMLAttr.hpp</a>></span>
|
|
<a name="l00028"></a>00028
|
|
<a name="l00029"></a>00029 <a class="code" href="XercesDefs_8hpp.html#43d74fa53d868d978f3e97cbb78b194d">XERCES_CPP_NAMESPACE_BEGIN</a>
|
|
<a name="l00030"></a>00030
|
|
<a name="l00031"></a>00031 <span class="keyword">class </span><a class="code" href="classXMLElementDecl.html" title="This class defines the core information of an element declaration.">XMLElementDecl</a>;
|
|
<a name="l00032"></a>00032 <span class="keyword">class </span><a class="code" href="classXMLEntityDecl.html" title="This class defines that core information that defines an XML entity, no matter what...">XMLEntityDecl</a>;
|
|
<a name="l00033"></a>00033
|
|
<a name="l00042"></a><a class="code" href="classXMLDocumentHandler.html">00042</a> <span class="keyword">class </span><a class="code" href="XercesDefs_8hpp.html#13df5a01e63e51f62a1467b588b59054">XMLPARSER_EXPORT</a> <a class="code" href="classXMLDocumentHandler.html" title="This abstract class provides the interface for the scanner to return XML document...">XMLDocumentHandler</a>
|
|
<a name="l00043"></a>00043 {
|
|
<a name="l00044"></a>00044 <span class="keyword">public</span>:
|
|
<a name="l00045"></a>00045 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00046"></a>00046 <span class="comment">// Constructors are hidden, just the virtual destructor is exposed</span>
|
|
<a name="l00047"></a>00047 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00050"></a><a class="code" href="classXMLDocumentHandler.html#60654a54cea7f1e3597ced0ead6ccad4">00050</a> <span class="comment"></span> <span class="keyword">virtual</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="l00051"></a>00051 {
|
|
<a name="l00052"></a>00052 }
|
|
<a name="l00054"></a>00054
|
|
<a name="l00077"></a>00077 <span class="keyword">virtual</span> <span class="keywordtype">void</span> docCharacters
|
|
<a name="l00078"></a>00078 (
|
|
<a name="l00079"></a>00079 <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> chars
|
|
<a name="l00080"></a>00080 , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#c0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> length
|
|
<a name="l00081"></a>00081 , <span class="keyword">const</span> <span class="keywordtype">bool</span> cdataSection
|
|
<a name="l00082"></a>00082 ) = 0;
|
|
<a name="l00083"></a>00083
|
|
<a name="l00091"></a>00091 <span class="keyword">virtual</span> <span class="keywordtype">void</span> docComment
|
|
<a name="l00092"></a>00092 (
|
|
<a name="l00093"></a>00093 <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> comment
|
|
<a name="l00094"></a>00094 ) = 0;
|
|
<a name="l00095"></a>00095
|
|
<a name="l00105"></a>00105 <span class="keyword">virtual</span> <span class="keywordtype">void</span> docPI
|
|
<a name="l00106"></a>00106 (
|
|
<a name="l00107"></a>00107 <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> target
|
|
<a name="l00108"></a>00108 , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> data
|
|
<a name="l00109"></a>00109 ) = 0;
|
|
<a name="l00110"></a>00110
|
|
<a name="l00118"></a>00118 <span class="keyword">virtual</span> <span class="keywordtype">void</span> endDocument() = 0;
|
|
<a name="l00119"></a>00119
|
|
<a name="l00134"></a>00134 <span class="keyword">virtual</span> <span class="keywordtype">void</span> endElement
|
|
<a name="l00135"></a>00135 (
|
|
<a name="l00136"></a>00136 <span class="keyword">const</span> <a class="code" href="classXMLElementDecl.html" title="This class defines the core information of an element declaration.">XMLElementDecl</a>& elemDecl
|
|
<a name="l00137"></a>00137 , <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> uriId
|
|
<a name="l00138"></a>00138 , <span class="keyword">const</span> <span class="keywordtype">bool</span> isRoot
|
|
<a name="l00139"></a>00139 , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> prefixName = 0
|
|
<a name="l00140"></a>00140 ) = 0;
|
|
<a name="l00141"></a>00141
|
|
<a name="l00149"></a>00149 <span class="keyword">virtual</span> <span class="keywordtype">void</span> endEntityReference
|
|
<a name="l00150"></a>00150 (
|
|
<a name="l00151"></a>00151 <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>& entDecl
|
|
<a name="l00152"></a>00152 ) = 0;
|
|
<a name="l00153"></a>00153
|
|
<a name="l00176"></a>00176 <span class="keyword">virtual</span> <span class="keywordtype">void</span> ignorableWhitespace
|
|
<a name="l00177"></a>00177 (
|
|
<a name="l00178"></a>00178 <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> chars
|
|
<a name="l00179"></a>00179 , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#c0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> length
|
|
<a name="l00180"></a>00180 , <span class="keyword">const</span> <span class="keywordtype">bool</span> cdataSection
|
|
<a name="l00181"></a>00181 ) = 0;
|
|
<a name="l00182"></a>00182
|
|
<a name="l00189"></a>00189 <span class="keyword">virtual</span> <span class="keywordtype">void</span> resetDocument() = 0;
|
|
<a name="l00190"></a>00190
|
|
<a name="l00196"></a>00196 <span class="keyword">virtual</span> <span class="keywordtype">void</span> startDocument() = 0;
|
|
<a name="l00197"></a>00197
|
|
<a name="l00215"></a>00215 <span class="keyword">virtual</span> <span class="keywordtype">void</span> startElement
|
|
<a name="l00216"></a>00216 (
|
|
<a name="l00217"></a>00217 <span class="keyword">const</span> <a class="code" href="classXMLElementDecl.html" title="This class defines the core information of an element declaration.">XMLElementDecl</a>& elemDecl
|
|
<a name="l00218"></a>00218 , <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> uriId
|
|
<a name="l00219"></a>00219 , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> prefixName
|
|
<a name="l00220"></a>00220 , <span class="keyword">const</span> RefVectorOf<XMLAttr>& attrList
|
|
<a name="l00221"></a>00221 , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#c0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> attrCount
|
|
<a name="l00222"></a>00222 , <span class="keyword">const</span> <span class="keywordtype">bool</span> isEmpty
|
|
<a name="l00223"></a>00223 , <span class="keyword">const</span> <span class="keywordtype">bool</span> isRoot
|
|
<a name="l00224"></a>00224 ) = 0;
|
|
<a name="l00225"></a>00225
|
|
<a name="l00233"></a>00233 <span class="keyword">virtual</span> <span class="keywordtype">void</span> startEntityReference(<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>& entDecl) = 0;
|
|
<a name="l00234"></a>00234
|
|
<a name="l00252"></a>00252 <span class="keyword">virtual</span> <span class="keywordtype">void</span> XMLDecl
|
|
<a name="l00253"></a>00253 (
|
|
<a name="l00254"></a>00254 <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> versionStr
|
|
<a name="l00255"></a>00255 , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> encodingStr
|
|
<a name="l00256"></a>00256 , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> standaloneStr
|
|
<a name="l00257"></a>00257 , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> autoEncodingStr
|
|
<a name="l00258"></a>00258 ) = 0;
|
|
<a name="l00259"></a>00259
|
|
<a name="l00261"></a>00261
|
|
<a name="l00262"></a>00262
|
|
<a name="l00263"></a>00263
|
|
<a name="l00264"></a>00264 <span class="keyword">protected</span> :
|
|
<a name="l00265"></a>00265 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00266"></a>00266 <span class="comment">// Hidden Constructors</span>
|
|
<a name="l00267"></a>00267 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00268"></a><a class="code" href="classXMLDocumentHandler.html#4a9b42209dd6e8cf0ea73cc5a7c7a23f">00268</a> <a class="code" href="classXMLDocumentHandler.html" title="This abstract class provides the interface for the scanner to return XML document...">XMLDocumentHandler</a>()
|
|
<a name="l00269"></a>00269 {
|
|
<a name="l00270"></a>00270 }
|
|
<a name="l00271"></a>00271
|
|
<a name="l00272"></a>00272
|
|
<a name="l00273"></a>00273 <span class="keyword">private</span>:
|
|
<a name="l00274"></a>00274 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00275"></a>00275 <span class="comment">// Unimplemented constructors and operators</span>
|
|
<a name="l00276"></a>00276 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00277"></a>00277 <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> <a class="code" href="classXMLDocumentHandler.html" title="This abstract class provides the interface for the scanner to return XML document...">XMLDocumentHandler</a>&);
|
|
<a name="l00278"></a>00278 <a class="code" href="classXMLDocumentHandler.html" title="This abstract class provides the interface for the scanner to return XML document...">XMLDocumentHandler</a>& operator=(<span class="keyword">const</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="l00279"></a>00279 };
|
|
<a name="l00280"></a>00280
|
|
<a name="l00281"></a>00281 <a class="code" href="XercesDefs_8hpp.html#f03d5cb905763ef7a7bd22ab82718285">XERCES_CPP_NAMESPACE_END</a>
|
|
<a name="l00282"></a>00282
|
|
<a name="l00283"></a>00283 <span class="preprocessor">#endif</span>
|
|
</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Wed Sep 24 16:36:33 2008 for Xerces-C++ by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.4 </small></address>
|
|
</body>
|
|
</html>
|