1 | <HTML><HEAD><SCRIPT language="JavaScript" src="../resources/script.js" type="text/javascript"></SCRIPT><TITLE>SAXParser.hpp Source File</TITLE><link href="XercesApi.css" rel="stylesheet" type="text/css"></HEAD><BODY alink="#ff0000" bgcolor="#ffffff" leftmargin="4" link="#0000ff" marginheight="4" marginwidth="4" text="#000000" topmargin="4" vlink="#0000aa"><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" height="60" rowspan="3" valign="top" width="135"><IMG border="0" height="60" hspace="0" src="../resources/logo.gif" vspace="0" width="135"></TD><TD align="left" colspan="4" height="5" valign="top" width="456"><IMG border="0" height="5" hspace="0" src="../resources/line.gif" vspace="0" width="456"></TD><TD align="left" height="60" rowspan="3" valign="top" width="29"><IMG border="0" height="60" hspace="0" src="../resources/right.gif" vspace="0" width="29"></TD></TR><TR><TD align="left" bgcolor="#0086b2" colspan="4" height="35" valign="top" width="456"><IMG alt="" border="0" height="35" hspace="0" src="../graphics/api-header.jpg" vspace="0" width="456"></TD></TR><TR><TD align="left" height="20" valign="top" width="168"><IMG border="0" height="20" hspace="0" src="../resources/bottom.gif" vspace="0" width="168"></TD><TD align="left" height="20" valign="top" width="96"><A href="http://xml.apache.org/" onMouseOut="rolloverOff('xml');" onMouseOver="rolloverOn('xml');" target="new"><IMG alt="http://xml.apache.org/" border="0" height="20" hspace="0" name="xml" onLoad="rolloverLoad('xml','../resources/button-xml-hi.gif','../resources/button-xml-lo.gif');" src="../resources/button-xml-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.apache.org/" onMouseOut="rolloverOff('asf');" onMouseOver="rolloverOn('asf');" target="new"><IMG alt="http://www.apache.org/" border="0" height="20" hspace="0" name="asf" onLoad="rolloverLoad('asf','../resources/button-asf-hi.gif','../resources/button-asf-lo.gif');" src="../resources/button-asf-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.w3.org/" onMouseOut="rolloverOff('w3c');" onMouseOver="rolloverOn('w3c');" target="new"><IMG alt="http://www.w3.org/" border="0" height="20" hspace="0" name="w3c" onLoad="rolloverLoad('w3c','../resources/button-w3c-hi.gif','../resources/button-w3c-lo.gif');" src="../resources/button-w3c-lo.gif" vspace="0" width="96"></A></TD></TR></TABLE><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" valign="top" width="120"><IMG border="0" height="14" hspace="0" src="../resources/join.gif" vspace="0" width="120"><BR>
|
---|
2 | <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>
|
---|
3 |
|
---|
4 | <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
|
---|
5 |
|
---|
6 | <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>
|
---|
7 | <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>
|
---|
8 | <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
|
---|
9 | <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>
|
---|
10 | <A href="http://xml.apache.org/dist/xerces-c/" onMouseOut="rolloverOff('side-ext-18');" onMouseOver="rolloverOn('side-ext-18');"><IMG alt="Download" border="0" height="12" hspace="0" name="side-ext-18" onLoad="rolloverLoad('side-ext-18','../graphics/ext-18-label-2.jpg','../graphics/ext-18-label-3.jpg');" src="../graphics/ext-18-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
11 | <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>
|
---|
12 |
|
---|
13 | <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
|
---|
14 | <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>
|
---|
15 | <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>
|
---|
16 | <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>
|
---|
17 |
|
---|
18 | <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
|
---|
19 | <A href="../ApacheDOMC++Binding.html" onMouseOut="rolloverOff('side-ext-68');" onMouseOver="rolloverOn('side-ext-68');"><IMG alt="DOM C++ Binding" border="0" height="12" hspace="0" name="side-ext-68" onLoad="rolloverLoad('side-ext-68','../graphics/ext-68-label-2.jpg','../graphics/ext-68-label-3.jpg');" src="../graphics/ext-68-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
20 |
|
---|
21 | <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>
|
---|
22 | <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>
|
---|
23 |
|
---|
24 | <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
|
---|
25 |
|
---|
26 | <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>
|
---|
27 | <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>
|
---|
28 | <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>
|
---|
29 |
|
---|
30 | <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
|
---|
31 |
|
---|
32 | <A href="http://xml.apache.org/websrc/cvsweb.cgi/xml-xerces/c/" onMouseOut="rolloverOff('side-ext-100');" onMouseOver="rolloverOn('side-ext-100');"><IMG alt="CVS Repository" border="0" height="12" hspace="0" name="side-ext-100" onLoad="rolloverLoad('side-ext-100','../graphics/ext-100-label-2.jpg','../graphics/ext-100-label-3.jpg');" src="../graphics/ext-100-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
33 |
|
---|
34 | <A href="http://marc.theaimsgroup.com/?l=xerces-c-dev" onMouseOut="rolloverOff('side-ext-102');" onMouseOver="rolloverOn('side-ext-102');"><IMG alt="Mail Archive" border="0" height="12" hspace="0" name="side-ext-102" onLoad="rolloverLoad('side-ext-102','../graphics/ext-102-label-2.jpg','../graphics/ext-102-label-3.jpg');" src="../graphics/ext-102-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
35 |
|
---|
36 |
|
---|
37 | <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>
|
---|
38 | <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">
|
---|
39 |
|
---|
40 | <P>
|
---|
41 | <!-- Generated by Doxygen 1.2.14 -->
|
---|
42 | <center>
|
---|
43 | <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>
|
---|
44 | <hr><h1>SAXParser.hpp</h1><a href="SAXParser_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <font class="comment">/*</font>
|
---|
45 | 00002 <font class="comment"> * Copyright 1999-2004 The Apache Software Foundation.</font>
|
---|
46 | 00003 <font class="comment"> * </font>
|
---|
47 | 00004 <font class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</font>
|
---|
48 | 00005 <font class="comment"> * you may not use this file except in compliance with the License.</font>
|
---|
49 | 00006 <font class="comment"> * You may obtain a copy of the License at</font>
|
---|
50 | 00007 <font class="comment"> * </font>
|
---|
51 | 00008 <font class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</font>
|
---|
52 | 00009 <font class="comment"> * </font>
|
---|
53 | 00010 <font class="comment"> * Unless required by applicable law or agreed to in writing, software</font>
|
---|
54 | 00011 <font class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</font>
|
---|
55 | 00012 <font class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</font>
|
---|
56 | 00013 <font class="comment"> * See the License for the specific language governing permissions and</font>
|
---|
57 | 00014 <font class="comment"> * limitations under the License.</font>
|
---|
58 | 00015 <font class="comment"> */</font>
|
---|
59 | 00016
|
---|
60 | 00017 <font class="comment">/*</font>
|
---|
61 | 00018 <font class="comment"> * $Log: SAXParser.hpp,v $</font>
|
---|
62 | 00019 <font class="comment"> * Revision 1.36 2004/09/29 19:28:12 cargilld</font>
|
---|
63 | 00020 <font class="comment"> * Mark SAXParser as deprecated.</font>
|
---|
64 | 00021 <font class="comment"> *</font>
|
---|
65 | 00022 <font class="comment"> * Revision 1.35 2004/09/29 19:00:29 peiyongz</font>
|
---|
66 | 00023 <font class="comment"> * [jira1207] --patch from Dan Rosen</font>
|
---|
67 | 00024 <font class="comment"> *</font>
|
---|
68 | 00025 <font class="comment"> * Revision 1.34 2004/09/28 02:14:14 cargilld</font>
|
---|
69 | 00026 <font class="comment"> * Add support for validating annotations.</font>
|
---|
70 | 00027 <font class="comment"> *</font>
|
---|
71 | 00028 <font class="comment"> * Revision 1.33 2004/09/23 01:09:55 cargilld</font>
|
---|
72 | 00029 <font class="comment"> * Add support for generating synthetic XSAnnotations. When a schema component has non-schema attributes and no child attributes create a synthetic XSAnnotation (under feature control) so the non-schema attributes can be recovered under PSVI.</font>
|
---|
73 | 00030 <font class="comment"> *</font>
|
---|
74 | 00031 <font class="comment"> * Revision 1.32 2004/09/08 13:56:18 peiyongz</font>
|
---|
75 | 00032 <font class="comment"> * Apache License Version 2.0</font>
|
---|
76 | 00033 <font class="comment"> *</font>
|
---|
77 | 00034 <font class="comment"> * Revision 1.31 2004/09/02 19:08:09 cargilld</font>
|
---|
78 | 00035 <font class="comment"> * Fix API Doc warning message</font>
|
---|
79 | 00036 <font class="comment"> *</font>
|
---|
80 | 00037 <font class="comment"> * Revision 1.30 2004/04/13 18:58:36 peiyongz</font>
|
---|
81 | 00038 <font class="comment"> * correct comment</font>
|
---|
82 | 00039 <font class="comment"> *</font>
|
---|
83 | 00040 <font class="comment"> * Revision 1.29 2004/04/13 16:53:26 peiyongz</font>
|
---|
84 | 00041 <font class="comment"> * get/setIdentityConstraintChecking</font>
|
---|
85 | 00042 <font class="comment"> *</font>
|
---|
86 | 00043 <font class="comment"> * Revision 1.28 2003/12/01 23:23:26 neilg</font>
|
---|
87 | 00044 <font class="comment"> * fix for bug 25118; thanks to Jeroen Witmond</font>
|
---|
88 | 00045 <font class="comment"> *</font>
|
---|
89 | 00046 <font class="comment"> * Revision 1.27 2003/11/06 15:30:07 neilg</font>
|
---|
90 | 00047 <font class="comment"> * first part of PSVI/schema component model implementation, thanks to David Cargill. This covers setting the PSVIHandler on parser objects, as well as implementing XSNotation, XSSimpleTypeDefinition, XSIDCDefinition, and most of XSWildcard, XSComplexTypeDefinition, XSElementDeclaration, XSAttributeDeclaration and XSAttributeUse.</font>
|
---|
91 | 00048 <font class="comment"> *</font>
|
---|
92 | 00049 <font class="comment"> * Revision 1.26 2003/10/30 21:37:31 knoaman</font>
|
---|
93 | 00050 <font class="comment"> * Enhanced Entity Resolver Support. Thanks to David Cargill.</font>
|
---|
94 | 00051 <font class="comment"> *</font>
|
---|
95 | 00052 <font class="comment"> * Revision 1.25 2003/10/20 13:41:10 amassari</font>
|
---|
96 | 00053 <font class="comment"> * Added getGrammarResolver API</font>
|
---|
97 | 00054 <font class="comment"> *</font>
|
---|
98 | 00055 <font class="comment"> * Revision 1.24 2003/06/20 18:55:54 peiyongz</font>
|
---|
99 | 00056 <font class="comment"> * Stateless Grammar Pool :: Part I</font>
|
---|
100 | 00057 <font class="comment"> *</font>
|
---|
101 | 00058 <font class="comment"> * Revision 1.23 2003/05/15 18:26:50 knoaman</font>
|
---|
102 | 00059 <font class="comment"> * Partial implementation of the configurable memory manager.</font>
|
---|
103 | 00060 <font class="comment"> *</font>
|
---|
104 | 00061 <font class="comment"> * Revision 1.22 2003/04/17 21:58:50 neilg</font>
|
---|
105 | 00062 <font class="comment"> * Adding a new property,</font>
|
---|
106 | 00063 <font class="comment"> * http://apache.org/xml/properties/security-manager, with</font>
|
---|
107 | 00064 <font class="comment"> * appropriate getSecurityManager/setSecurityManager methods on DOM</font>
|
---|
108 | 00065 <font class="comment"> * and SAX parsers. Also adding a new SecurityManager class.</font>
|
---|
109 | 00066 <font class="comment"> *</font>
|
---|
110 | 00067 <font class="comment"> * The purpose of these modifications is to permit applications a</font>
|
---|
111 | 00068 <font class="comment"> * means to have the parser reject documents whose processing would</font>
|
---|
112 | 00069 <font class="comment"> * otherwise consume large amounts of system resources. Malicious</font>
|
---|
113 | 00070 <font class="comment"> * use of such documents could be used to launch a denial-of-service</font>
|
---|
114 | 00071 <font class="comment"> * attack against a system running the parser. Initially, the</font>
|
---|
115 | 00072 <font class="comment"> * SecurityManager only knows about attacks that can result from</font>
|
---|
116 | 00073 <font class="comment"> * exponential entity expansion; this is the only known attack that</font>
|
---|
117 | 00074 <font class="comment"> * involves processing a single XML document. Other, simlar attacks</font>
|
---|
118 | 00075 <font class="comment"> * can be launched if arbitrary schemas may be parsed; there already</font>
|
---|
119 | 00076 <font class="comment"> * exist means (via use of the EntityResolver interface) by which</font>
|
---|
120 | 00077 <font class="comment"> * applications can deny processing of untrusted schemas. In future,</font>
|
---|
121 | 00078 <font class="comment"> * the SecurityManager will be expanded to take these other exploits</font>
|
---|
122 | 00079 <font class="comment"> * into account.</font>
|
---|
123 | 00080 <font class="comment"> *</font>
|
---|
124 | 00081 <font class="comment"> * Add support for the SecurityManager</font>
|
---|
125 | 00082 <font class="comment"> * </font>
|
---|
126 | 00083 <font class="comment"> * Revision 1.21 2003/03/07 18:09:17 tng</font>
|
---|
127 | 00084 <font class="comment"> * Return a reference instead of void for operator=</font>
|
---|
128 | 00085 <font class="comment"> *</font>
|
---|
129 | 00086 <font class="comment"> * Revision 1.20 2003/02/04 19:27:43 knoaman</font>
|
---|
130 | 00087 <font class="comment"> * Performance: use global buffer to eliminate repetitive memory creation/deletion.</font>
|
---|
131 | 00088 <font class="comment"> *</font>
|
---|
132 | 00089 <font class="comment"> * Revision 1.19 2003/01/09 19:07:08 tng</font>
|
---|
133 | 00090 <font class="comment"> * [Bug 15802] Add "const" qualifier to getURIText.</font>
|
---|
134 | 00091 <font class="comment"> *</font>
|
---|
135 | 00092 <font class="comment"> * Revision 1.18 2003/01/03 20:09:36 tng</font>
|
---|
136 | 00093 <font class="comment"> * New feature StandardUriConformant to force strict standard uri conformance.</font>
|
---|
137 | 00094 <font class="comment"> *</font>
|
---|
138 | 00095 <font class="comment"> * Revision 1.17 2002/12/30 20:15:51 knoaman</font>
|
---|
139 | 00096 <font class="comment"> * Make calculate src offset option false by default.</font>
|
---|
140 | 00097 <font class="comment"> *</font>
|
---|
141 | 00098 <font class="comment"> * Revision 1.16 2002/12/23 15:23:18 knoaman</font>
|
---|
142 | 00099 <font class="comment"> * Added a public api to various parsers to return the src offset within the input</font>
|
---|
143 | 00100 <font class="comment"> * source.</font>
|
---|
144 | 00101 <font class="comment"> *</font>
|
---|
145 | 00102 <font class="comment"> * Revision 1.15 2002/12/04 01:57:09 knoaman</font>
|
---|
146 | 00103 <font class="comment"> * Scanner re-organization.</font>
|
---|
147 | 00104 <font class="comment"> *</font>
|
---|
148 | 00105 <font class="comment"> * Revision 1.14 2002/11/04 14:57:03 tng</font>
|
---|
149 | 00106 <font class="comment"> * C++ Namespace Support.</font>
|
---|
150 | 00107 <font class="comment"> *</font>
|
---|
151 | 00108 <font class="comment"> * Revision 1.13 2002/08/14 15:20:38 knoaman</font>
|
---|
152 | 00109 <font class="comment"> * [Bug 3111] Problem with LexicalHandler::startDTD() and LexicalHandler::endDTD().</font>
|
---|
153 | 00110 <font class="comment"> *</font>
|
---|
154 | 00111 <font class="comment"> * Revision 1.12 2002/07/11 18:27:03 knoaman</font>
|
---|
155 | 00112 <font class="comment"> * Grammar caching/preparsing - initial implementation.</font>
|
---|
156 | 00113 <font class="comment"> *</font>
|
---|
157 | 00114 <font class="comment"> * Revision 1.11 2002/06/27 18:48:04 tng</font>
|
---|
158 | 00115 <font class="comment"> * API Documentation Update and move getScanner as protected</font>
|
---|
159 | 00116 <font class="comment"> *</font>
|
---|
160 | 00117 <font class="comment"> * Revision 1.10 2002/06/17 15:41:44 tng</font>
|
---|
161 | 00118 <font class="comment"> * Update API Documentation</font>
|
---|
162 | 00119 <font class="comment"> *</font>
|
---|
163 | 00120 <font class="comment"> * Revision 1.9 2002/06/06 20:38:18 tng</font>
|
---|
164 | 00121 <font class="comment"> * Document Fix: document that the returned object from resolveEntity is owned by the parser</font>
|
---|
165 | 00122 <font class="comment"> *</font>
|
---|
166 | 00123 <font class="comment"> * Revision 1.8 2002/05/31 15:13:53 tng</font>
|
---|
167 | 00124 <font class="comment"> * Fix doxygen documentation.</font>
|
---|
168 | 00125 <font class="comment"> *</font>
|
---|
169 | 00126 <font class="comment"> * Revision 1.7 2002/05/30 16:39:06 knoaman</font>
|
---|
170 | 00127 <font class="comment"> * DOM L3 LS.</font>
|
---|
171 | 00128 <font class="comment"> *</font>
|
---|
172 | 00129 <font class="comment"> * Revision 1.6 2002/05/30 16:20:09 tng</font>
|
---|
173 | 00130 <font class="comment"> * Add feature to optionally ignore external DTD.</font>
|
---|
174 | 00131 <font class="comment"> *</font>
|
---|
175 | 00132 <font class="comment"> * Revision 1.5 2002/05/29 21:37:47 knoaman</font>
|
---|
176 | 00133 <font class="comment"> * Add baseURI to resolveEntity to support DOMInputSource.</font>
|
---|
177 | 00134 <font class="comment"> *</font>
|
---|
178 | 00135 <font class="comment"> * Revision 1.4 2002/05/28 20:44:14 tng</font>
|
---|
179 | 00136 <font class="comment"> * [Bug 9104] prefixes dissapearing when schema validation turned on.</font>
|
---|
180 | 00137 <font class="comment"> *</font>
|
---|
181 | 00138 <font class="comment"> * Revision 1.3 2002/05/27 18:39:21 tng</font>
|
---|
182 | 00139 <font class="comment"> * To get ready for 64 bit large file, use XMLSSize_t to represent line and column number.</font>
|
---|
183 | 00140 <font class="comment"> *</font>
|
---|
184 | 00141 <font class="comment"> * Revision 1.2 2002/02/20 18:17:01 tng</font>
|
---|
185 | 00142 <font class="comment"> * [Bug 5977] Warnings on generating apiDocs.</font>
|
---|
186 | 00143 <font class="comment"> *</font>
|
---|
187 | 00144 <font class="comment"> * Revision 1.1.1.1 2002/02/01 22:22:07 peiyongz</font>
|
---|
188 | 00145 <font class="comment"> * sane_include</font>
|
---|
189 | 00146 <font class="comment"> *</font>
|
---|
190 | 00147 <font class="comment"> * Revision 1.22 2001/12/05 22:09:02 tng</font>
|
---|
191 | 00148 <font class="comment"> * Update documentation for setExternalSchemaLocation and setExternalNoNamespaceSchemaLocation.</font>
|
---|
192 | 00149 <font class="comment"> *</font>
|
---|
193 | 00150 <font class="comment"> * Revision 1.21 2001/11/20 18:51:44 tng</font>
|
---|
194 | 00151 <font class="comment"> * Schema: schemaLocation and noNamespaceSchemaLocation to be specified outside the instance document. New methods setExternalSchemaLocation and setExternalNoNamespaceSchemaLocation are added (for SAX2, two new properties are added).</font>
|
---|
195 | 00152 <font class="comment"> *</font>
|
---|
196 | 00153 <font class="comment"> * Revision 1.20 2001/08/01 19:11:02 tng</font>
|
---|
197 | 00154 <font class="comment"> * Add full schema constraint checking flag to the samples and the parser.</font>
|
---|
198 | 00155 <font class="comment"> *</font>
|
---|
199 | 00156 <font class="comment"> * Revision 1.19 2001/07/27 20:24:21 tng</font>
|
---|
200 | 00157 <font class="comment"> * put getScanner() back as they were there before, not to break existing apps.</font>
|
---|
201 | 00158 <font class="comment"> *</font>
|
---|
202 | 00159 <font class="comment"> * Revision 1.18 2001/07/16 12:52:09 tng</font>
|
---|
203 | 00160 <font class="comment"> * APIDocs fix: default for schema processing in DOMParser, IDOMParser, and SAXParser should be false.</font>
|
---|
204 | 00161 <font class="comment"> *</font>
|
---|
205 | 00162 <font class="comment"> * Revision 1.17 2001/06/23 14:13:16 tng</font>
|
---|
206 | 00163 <font class="comment"> * Remove getScanner from the Parser headers as this is not needed and Scanner is not internal class.</font>
|
---|
207 | 00164 <font class="comment"> *</font>
|
---|
208 | 00165 <font class="comment"> * Revision 1.16 2001/06/03 19:26:20 jberry</font>
|
---|
209 | 00166 <font class="comment"> * Add support for querying error count following parse; enables simple parse without requiring error handler.</font>
|
---|
210 | 00167 <font class="comment"> *</font>
|
---|
211 | 00168 <font class="comment"> * Revision 1.15 2001/05/11 13:26:22 tng</font>
|
---|
212 | 00169 <font class="comment"> * Copyright update.</font>
|
---|
213 | 00170 <font class="comment"> *</font>
|
---|
214 | 00171 <font class="comment"> * Revision 1.14 2001/05/03 19:09:25 knoaman</font>
|
---|
215 | 00172 <font class="comment"> * Support Warning/Error/FatalError messaging.</font>
|
---|
216 | 00173 <font class="comment"> * Validity constraints errors are treated as errors, with the ability by user to set</font>
|
---|
217 | 00174 <font class="comment"> * validity constraints as fatal errors.</font>
|
---|
218 | 00175 <font class="comment"> *</font>
|
---|
219 | 00176 <font class="comment"> * Revision 1.13 2001/03/30 16:46:57 tng</font>
|
---|
220 | 00177 <font class="comment"> * Schema: Use setDoSchema instead of setSchemaValidation which makes more sense.</font>
|
---|
221 | 00178 <font class="comment"> *</font>
|
---|
222 | 00179 <font class="comment"> * Revision 1.12 2001/03/21 21:56:09 tng</font>
|
---|
223 | 00180 <font class="comment"> * Schema: Add Schema Grammar, Schema Validator, and split the DTDValidator into DTDValidator, DTDScanner, and DTDGrammar.</font>
|
---|
224 | 00181 <font class="comment"> *</font>
|
---|
225 | 00182 <font class="comment"> * Revision 1.11 2001/02/15 15:56:29 tng</font>
|
---|
226 | 00183 <font class="comment"> * Schema: Add setSchemaValidation and getSchemaValidation for DOMParser and SAXParser.</font>
|
---|
227 | 00184 <font class="comment"> * Add feature "http://apache.org/xml/features/validation/schema" for SAX2XMLReader.</font>
|
---|
228 | 00185 <font class="comment"> * New data field fSchemaValidation in XMLScanner as the flag.</font>
|
---|
229 | 00186 <font class="comment"> *</font>
|
---|
230 | 00187 <font class="comment"> * Revision 1.10 2001/01/12 21:23:41 tng</font>
|
---|
231 | 00188 <font class="comment"> * Documentation Enhancement: explain values of Val_Scheme</font>
|
---|
232 | 00189 <font class="comment"> *</font>
|
---|
233 | 00190 <font class="comment"> * Revision 1.9 2000/08/02 18:05:15 jpolast</font>
|
---|
234 | 00191 <font class="comment"> * changes required for sax2</font>
|
---|
235 | 00192 <font class="comment"> * (changed private members to protected)</font>
|
---|
236 | 00193 <font class="comment"> *</font>
|
---|
237 | 00194 <font class="comment"> * Revision 1.8 2000/04/12 22:58:30 roddey</font>
|
---|
238 | 00195 <font class="comment"> * Added support for 'auto validate' mode.</font>
|
---|
239 | 00196 <font class="comment"> *</font>
|
---|
240 | 00197 <font class="comment"> * Revision 1.7 2000/03/03 01:29:34 roddey</font>
|
---|
241 | 00198 <font class="comment"> * Added a scanReset()/parseReset() method to the scanner and</font>
|
---|
242 | 00199 <font class="comment"> * parsers, to allow for reset after early exit from a progressive parse.</font>
|
---|
243 | 00200 <font class="comment"> * Added calls to new Terminate() call to all of the samples. Improved</font>
|
---|
244 | 00201 <font class="comment"> * documentation in SAX and DOM parsers.</font>
|
---|
245 | 00202 <font class="comment"> *</font>
|
---|
246 | 00203 <font class="comment"> * Revision 1.6 2000/02/17 03:54:27 rahulj</font>
|
---|
247 | 00204 <font class="comment"> * Added some new getters to query the parser state and</font>
|
---|
248 | 00205 <font class="comment"> * clarified the documentation.</font>
|
---|
249 | 00206 <font class="comment"> *</font>
|
---|
250 | 00207 <font class="comment"> * Revision 1.5 2000/02/16 03:42:58 rahulj</font>
|
---|
251 | 00208 <font class="comment"> * Finished documenting the SAX Driver implementation.</font>
|
---|
252 | 00209 <font class="comment"> *</font>
|
---|
253 | 00210 <font class="comment"> * Revision 1.4 2000/02/15 04:47:37 rahulj</font>
|
---|
254 | 00211 <font class="comment"> * Documenting the SAXParser framework. Not done yet.</font>
|
---|
255 | 00212 <font class="comment"> *</font>
|
---|
256 | 00213 <font class="comment"> * Revision 1.3 2000/02/06 07:47:56 rahulj</font>
|
---|
257 | 00214 <font class="comment"> * Year 2K copyright swat.</font>
|
---|
258 | 00215 <font class="comment"> *</font>
|
---|
259 | 00216 <font class="comment"> * Revision 1.2 1999/12/15 19:57:48 roddey</font>
|
---|
260 | 00217 <font class="comment"> * Got rid of redundant 'const' on boolean return value. Some compilers choke</font>
|
---|
261 | 00218 <font class="comment"> * on this and its useless.</font>
|
---|
262 | 00219 <font class="comment"> *</font>
|
---|
263 | 00220 <font class="comment"> * Revision 1.1.1.1 1999/11/09 01:07:51 twl</font>
|
---|
264 | 00221 <font class="comment"> * Initial checkin</font>
|
---|
265 | 00222 <font class="comment"> *</font>
|
---|
266 | 00223 <font class="comment"> * Revision 1.6 1999/11/08 20:44:54 rahul</font>
|
---|
267 | 00224 <font class="comment"> * Swat for adding in Product name and CVS comment log variable.</font>
|
---|
268 | 00225 <font class="comment"> *</font>
|
---|
269 | 00226 <font class="comment"> */</font>
|
---|
270 | 00227
|
---|
271 | 00228 <font class="preprocessor">#if !defined(SAXPARSER_HPP)</font>
|
---|
272 | <a name="l00229"></a><a class="code" href="SAXParser_8hpp.html#a0">00229</a> <font class="preprocessor"></font><font class="preprocessor">#define SAXPARSER_HPP</font>
|
---|
273 | 00230 <font class="preprocessor"></font>
|
---|
274 | 00231 <font class="preprocessor">#include <<a class="code" href="Parser_8hpp.html">xercesc/sax/Parser.hpp</a>></font>
|
---|
275 | 00232 <font class="preprocessor">#include <xercesc/internal/VecAttrListImpl.hpp></font>
|
---|
276 | 00233 <font class="preprocessor">#include <<a class="code" href="XMLDocumentHandler_8hpp.html">xercesc/framework/XMLDocumentHandler.hpp</a>></font>
|
---|
277 | 00234 <font class="preprocessor">#include <<a class="code" href="XMLElementDecl_8hpp.html">xercesc/framework/XMLElementDecl.hpp</a>></font>
|
---|
278 | 00235 <font class="preprocessor">#include <<a class="code" href="XMLEntityHandler_8hpp.html">xercesc/framework/XMLEntityHandler.hpp</a>></font>
|
---|
279 | 00236 <font class="preprocessor">#include <<a class="code" href="XMLErrorReporter_8hpp.html">xercesc/framework/XMLErrorReporter.hpp</a>></font>
|
---|
280 | 00237 <font class="preprocessor">#include <xercesc/framework/XMLBuffer.hpp></font>
|
---|
281 | 00238 <font class="preprocessor">#include <<a class="code" href="SecurityManager_8hpp.html">xercesc/util/SecurityManager.hpp</a>></font>
|
---|
282 | 00239 <font class="preprocessor">#include <xercesc/validators/DTD/DocTypeHandler.hpp></font>
|
---|
283 | 00240
|
---|
284 | 00241 <a class="code" href="XercesDefs_8hpp.html#a2">XERCES_CPP_NAMESPACE_BEGIN</a>
|
---|
285 | 00242
|
---|
286 | 00243
|
---|
287 | <a name="l00244"></a><a class="code" href="SAXParser_8hpp.html#a1">00244</a> <font class="keyword">class </font><a class="code" href="classDocumentHandler.html">DocumentHandler</a>;
|
---|
288 | 00245 <font class="keyword">class </font><a class="code" href="classEntityResolver.html">EntityResolver</a>;
|
---|
289 | 00246 <font class="keyword">class </font><a class="code" href="AbstractDOMParser_8hpp.html#a1">XMLPScanToken</a>;
|
---|
290 | 00247 <font class="keyword">class </font>XMLScanner;
|
---|
291 | 00248 <font class="keyword">class </font><a class="code" href="classXMLValidator.html">XMLValidator</a>;
|
---|
292 | 00249 <font class="keyword">class </font>Grammar;
|
---|
293 | 00250 <font class="keyword">class </font>GrammarResolver;
|
---|
294 | 00251 <font class="keyword">class </font><a class="code" href="classXMLGrammarPool.html">XMLGrammarPool</a>;
|
---|
295 | 00252 <font class="keyword">class </font><a class="code" href="classXMLEntityResolver.html">XMLEntityResolver</a>;
|
---|
296 | 00253 <font class="keyword">class </font><a class="code" href="classXMLResourceIdentifier.html">XMLResourceIdentifier</a>;
|
---|
297 | 00254 <font class="keyword">class </font><a class="code" href="classPSVIHandler.html">PSVIHandler</a>;
|
---|
298 | 00255
|
---|
299 | <a name="l00270"></a><a class="code" href="classSAXParser.html">00270</a> <font class="keyword">class </font><a class="code" href="XercesDefs_8hpp.html#a14"></a> <a class="code" href="classSAXParser.html">SAXParser</a> :
|
---|
300 | 00271
|
---|
301 | 00272 <font class="keyword">public</font> <a class="code" href="classXMemory.html">XMemory</a>
|
---|
302 | 00273 , <font class="keyword">public</font> <a class="code" href="classParser.html">Parser</a>
|
---|
303 | 00274 , <font class="keyword">public</font> <a class="code" href="classXMLDocumentHandler.html">XMLDocumentHandler</a>
|
---|
304 | 00275 , <font class="keyword">public</font> <a class="code" href="classXMLErrorReporter.html">XMLErrorReporter</a>
|
---|
305 | 00276 , <font class="keyword">public</font> <a class="code" href="classXMLEntityHandler.html">XMLEntityHandler</a>
|
---|
306 | 00277 , <font class="keyword">public</font> DocTypeHandler
|
---|
307 | 00278 {
|
---|
308 | 00279 <font class="keyword">public</font> :
|
---|
309 | 00280 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
310 | 00281 <font class="comment">// Class types</font>
|
---|
311 | 00282 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
312 | <a name="l00291"></a><a class="code" href="classSAXParser.html#s3">00291</a> <font class="comment"></font> <font class="keyword">enum</font> ValSchemes
|
---|
313 | 00292 {
|
---|
314 | 00293 Val_Never
|
---|
315 | 00294 , Val_Always
|
---|
316 | 00295 , Val_Auto
|
---|
317 | 00296 };
|
---|
318 | 00297
|
---|
319 | 00298
|
---|
320 | 00299 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
321 | 00300 <font class="comment">// Constructors and Destructor</font>
|
---|
322 | 00301 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
323 | 00312 <font class="comment"></font> <a class="code" href="classSAXParser.html">SAXParser</a>
|
---|
324 | 00313 (
|
---|
325 | 00314 <a class="code" href="classXMLValidator.html">XMLValidator</a>* <font class="keyword">const</font> valToAdopt = 0
|
---|
326 | 00315 , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <font class="keyword">const</font> manager = <a class="code" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>
|
---|
327 | 00316 , <a class="code" href="classXMLGrammarPool.html">XMLGrammarPool</a>* <font class="keyword">const</font> gramPool = 0
|
---|
328 | 00317 );
|
---|
329 | 00318
|
---|
330 | 00322 ~<a class="code" href="classSAXParser.html">SAXParser</a>();
|
---|
331 | 00324
|
---|
332 | 00325
|
---|
333 | 00326 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
334 | 00327 <font class="comment">// Getter Methods</font>
|
---|
335 | 00328 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
336 | 00337 <font class="comment"></font> <a class="code" href="classDocumentHandler.html">DocumentHandler</a>* getDocumentHandler();
|
---|
337 | 00338
|
---|
338 | 00345 <font class="keyword">const</font> <a class="code" href="classDocumentHandler.html">DocumentHandler</a>* getDocumentHandler() <font class="keyword">const</font>;
|
---|
339 | 00346
|
---|
340 | 00353 <a class="code" href="classEntityResolver.html">EntityResolver</a>* getEntityResolver();
|
---|
341 | 00354
|
---|
342 | 00361 <font class="keyword">const</font> <a class="code" href="classEntityResolver.html">EntityResolver</a>* getEntityResolver() <font class="keyword">const</font>;
|
---|
343 | 00362
|
---|
344 | 00369 <a class="code" href="classXMLEntityResolver.html">XMLEntityResolver</a>* getXMLEntityResolver();
|
---|
345 | 00370
|
---|
346 | 00377 <font class="keyword">const</font> <a class="code" href="classXMLEntityResolver.html">XMLEntityResolver</a>* getXMLEntityResolver() <font class="keyword">const</font>;
|
---|
347 | 00378
|
---|
348 | 00385 <a class="code" href="classErrorHandler.html">ErrorHandler</a>* getErrorHandler();
|
---|
349 | 00386
|
---|
350 | 00393 <font class="keyword">const</font> <a class="code" href="classErrorHandler.html">ErrorHandler</a>* getErrorHandler() <font class="keyword">const</font>;
|
---|
351 | 00394
|
---|
352 | 00401 <a class="code" href="classPSVIHandler.html">PSVIHandler</a>* getPSVIHandler();
|
---|
353 | 00402
|
---|
354 | 00409 <font class="keyword">const</font> <a class="code" href="classPSVIHandler.html">PSVIHandler</a>* getPSVIHandler() <font class="keyword">const</font>;
|
---|
355 | 00410
|
---|
356 | 00417 <font class="keyword">const</font> <a class="code" href="classXMLValidator.html">XMLValidator</a>& getValidator() <font class="keyword">const</font>;
|
---|
357 | 00418
|
---|
358 | 00426 ValSchemes getValidationScheme() <font class="keyword">const</font>;
|
---|
359 | 00427
|
---|
360 | 00438 <font class="keywordtype">bool</font> getDoSchema() <font class="keyword">const</font>;
|
---|
361 | 00439
|
---|
362 | 00450 <font class="keywordtype">bool</font> getValidationSchemaFullChecking() <font class="keyword">const</font>;
|
---|
363 | 00451
|
---|
364 | 00462 <font class="keywordtype">bool</font> getIdentityConstraintChecking() <font class="keyword">const</font>;
|
---|
365 | 00463
|
---|
366 | 00474 <font class="keywordtype">int</font> getErrorCount() <font class="keyword">const</font>;
|
---|
367 | 00475
|
---|
368 | 00485 <font class="keywordtype">bool</font> getDoNamespaces() <font class="keyword">const</font>;
|
---|
369 | 00486
|
---|
370 | 00496 <font class="keywordtype">bool</font> getExitOnFirstFatalError() <font class="keyword">const</font>;
|
---|
371 | 00497
|
---|
372 | 00508 <font class="keywordtype">bool</font> getValidationConstraintFatal() <font class="keyword">const</font>;
|
---|
373 | 00509
|
---|
374 | 00529 XMLCh* getExternalSchemaLocation() <font class="keyword">const</font>;
|
---|
375 | 00530
|
---|
376 | 00550 XMLCh* getExternalNoNamespaceSchemaLocation() <font class="keyword">const</font>;
|
---|
377 | 00551
|
---|
378 | 00567 <a class="code" href="classSecurityManager.html">SecurityManager</a>* getSecurityManager() <font class="keyword">const</font>;
|
---|
379 | 00568
|
---|
380 | 00580 <font class="keywordtype">bool</font> getLoadExternalDTD() <font class="keyword">const</font>;
|
---|
381 | 00581
|
---|
382 | 00592 <font class="keywordtype">bool</font> isCachingGrammarFromParse() <font class="keyword">const</font>;
|
---|
383 | 00593
|
---|
384 | 00604 <font class="keywordtype">bool</font> isUsingCachedGrammarInParse() <font class="keyword">const</font>;
|
---|
385 | 00605
|
---|
386 | 00617 <font class="keywordtype">bool</font> getCalculateSrcOfs() <font class="keyword">const</font>;
|
---|
387 | 00618
|
---|
388 | 00629 <font class="keywordtype">bool</font> getStandardUriConformant() <font class="keyword">const</font>;
|
---|
389 | 00630
|
---|
390 | 00637 Grammar* getGrammar(<font class="keyword">const</font> XMLCh* <font class="keyword">const</font> nameSpaceKey);
|
---|
391 | 00638
|
---|
392 | 00644 Grammar* getRootGrammar();
|
---|
393 | 00645
|
---|
394 | 00652 <font class="keyword">const</font> XMLCh* getURIText(<font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> uriId) <font class="keyword">const</font>;
|
---|
395 | 00653
|
---|
396 | 00659 <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> getSrcOffset() <font class="keyword">const</font>;
|
---|
397 | 00660
|
---|
398 | 00672 <font class="keywordtype">bool</font> getGenerateSyntheticAnnotations() <font class="keyword">const</font>;
|
---|
399 | 00673
|
---|
400 | 00681 <font class="keywordtype">bool</font> getValidateAnnotations() <font class="keyword">const</font>;
|
---|
401 | 00682
|
---|
402 | 00684
|
---|
403 | 00685
|
---|
404 | 00686 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
405 | 00687 <font class="comment">// Setter methods</font>
|
---|
406 | 00688 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
407 | 00689
|
---|
408 | 00702 <font class="keywordtype">void</font> setGenerateSyntheticAnnotations(<font class="keyword">const</font> <font class="keywordtype">bool</font> newValue);
|
---|
409 | 00703
|
---|
410 | 00711 <font class="keywordtype">void</font> setValidateAnnotations(<font class="keyword">const</font> <font class="keywordtype">bool</font> newValue);
|
---|
411 | 00712
|
---|
412 | 00726 <font class="keywordtype">void</font> setDoNamespaces(<font class="keyword">const</font> <font class="keywordtype">bool</font> newState);
|
---|
413 | 00727
|
---|
414 | 00744 <font class="keywordtype">void</font> setValidationScheme(<font class="keyword">const</font> ValSchemes newScheme);
|
---|
415 | 00745
|
---|
416 | 00761 <font class="keywordtype">void</font> setDoSchema(<font class="keyword">const</font> <font class="keywordtype">bool</font> newState);
|
---|
417 | 00762
|
---|
418 | 00779 <font class="keywordtype">void</font> setValidationSchemaFullChecking(<font class="keyword">const</font> <font class="keywordtype">bool</font> schemaFullChecking);
|
---|
419 | 00780
|
---|
420 | 00792 <font class="keywordtype">void</font> setIdentityConstraintChecking(<font class="keyword">const</font> <font class="keywordtype">bool</font> identityConstraintChecking);
|
---|
421 | 00793
|
---|
422 | 00809 <font class="keywordtype">void</font> setExitOnFirstFatalError(<font class="keyword">const</font> <font class="keywordtype">bool</font> newState);
|
---|
423 | 00810
|
---|
424 | 00830 <font class="keywordtype">void</font> setValidationConstraintFatal(<font class="keyword">const</font> <font class="keywordtype">bool</font> newState);
|
---|
425 | 00831
|
---|
426 | 00852 <font class="keywordtype">void</font> setExternalSchemaLocation(<font class="keyword">const</font> XMLCh* <font class="keyword">const</font> schemaLocation);
|
---|
427 | 00853
|
---|
428 | 00862 <font class="keywordtype">void</font> setExternalSchemaLocation(<font class="keyword">const</font> <font class="keywordtype">char</font>* <font class="keyword">const</font> schemaLocation);
|
---|
429 | 00863
|
---|
430 | 00878 <font class="keywordtype">void</font> setExternalNoNamespaceSchemaLocation(<font class="keyword">const</font> XMLCh* <font class="keyword">const</font> noNamespaceSchemaLocation);
|
---|
431 | 00879
|
---|
432 | 00888 <font class="keywordtype">void</font> setExternalNoNamespaceSchemaLocation(<font class="keyword">const</font> <font class="keywordtype">char</font>* <font class="keyword">const</font> noNamespaceSchemaLocation);
|
---|
433 | 00889
|
---|
434 | 00905 <font class="keywordtype">void</font> setSecurityManager(<a class="code" href="classSecurityManager.html">SecurityManager</a>* <font class="keyword">const</font> securityManager);
|
---|
435 | 00906
|
---|
436 | 00923 <font class="keywordtype">void</font> setLoadExternalDTD(<font class="keyword">const</font> <font class="keywordtype">bool</font> newState);
|
---|
437 | 00924
|
---|
438 | 00942 <font class="keywordtype">void</font> cacheGrammarFromParse(<font class="keyword">const</font> <font class="keywordtype">bool</font> newState);
|
---|
439 | 00943
|
---|
440 | 00962 <font class="keywordtype">void</font> useCachedGrammarInParse(<font class="keyword">const</font> <font class="keywordtype">bool</font> newState);
|
---|
441 | 00963
|
---|
442 | 00976 <font class="keywordtype">void</font> setCalculateSrcOfs(<font class="keyword">const</font> <font class="keywordtype">bool</font> newState);
|
---|
443 | 00977
|
---|
444 | 00988 <font class="keywordtype">void</font> setStandardUriConformant(<font class="keyword">const</font> <font class="keywordtype">bool</font> newState);
|
---|
445 | 00989
|
---|
446 | 00997 <font class="keywordtype">void</font> useScanner(<font class="keyword">const</font> XMLCh* <font class="keyword">const</font> scannerName);
|
---|
447 | 00998
|
---|
448 | 01009 <font class="keywordtype">void</font> setInputBufferSize(<font class="keyword">const</font> size_t bufferSize);
|
---|
449 | 01010
|
---|
450 | 01012
|
---|
451 | 01013
|
---|
452 | 01014 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
453 | 01015 <font class="comment">// Advanced document handler list maintenance methods</font>
|
---|
454 | 01016 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
455 | 01017
|
---|
456 | 01033 <font class="keywordtype">void</font> installAdvDocHandler(<a class="code" href="classXMLDocumentHandler.html">XMLDocumentHandler</a>* <font class="keyword">const</font> toInstall);
|
---|
457 | 01034
|
---|
458 | 01044 <font class="keywordtype">bool</font> removeAdvDocHandler(<a class="code" href="classXMLDocumentHandler.html">XMLDocumentHandler</a>* <font class="keyword">const</font> toRemove);
|
---|
459 | 01046
|
---|
460 | 01047
|
---|
461 | 01048 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
462 | 01049 <font class="comment">// Progressive scan methods</font>
|
---|
463 | 01050 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
464 | 01051
|
---|
465 | 01054
|
---|
466 | 01082 <font class="keywordtype">bool</font> parseFirst
|
---|
467 | 01083 (
|
---|
468 | 01084 <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> systemId
|
---|
469 | 01085 , <a class="code" href="AbstractDOMParser_8hpp.html#a1">XMLPScanToken</a>& toFill
|
---|
470 | 01086 );
|
---|
471 | 01087
|
---|
472 | 01115 <font class="keywordtype">bool</font> parseFirst
|
---|
473 | 01116 (
|
---|
474 | 01117 <font class="keyword">const</font> <font class="keywordtype">char</font>* <font class="keyword">const</font> systemId
|
---|
475 | 01118 , <a class="code" href="AbstractDOMParser_8hpp.html#a1">XMLPScanToken</a>& toFill
|
---|
476 | 01119 );
|
---|
477 | 01120
|
---|
478 | 01148 <font class="keywordtype">bool</font> parseFirst
|
---|
479 | 01149 (
|
---|
480 | 01150 <font class="keyword">const</font> <a class="code" href="classInputSource.html">InputSource</a>& source
|
---|
481 | 01151 , <a class="code" href="AbstractDOMParser_8hpp.html#a1">XMLPScanToken</a>& toFill
|
---|
482 | 01152 );
|
---|
483 | 01153
|
---|
484 | 01178 <font class="keywordtype">bool</font> parseNext(<a class="code" href="AbstractDOMParser_8hpp.html#a1">XMLPScanToken</a>& token);
|
---|
485 | 01179
|
---|
486 | 01201 <font class="keywordtype">void</font> parseReset(<a class="code" href="AbstractDOMParser_8hpp.html#a1">XMLPScanToken</a>& token);
|
---|
487 | 01202
|
---|
488 | 01204
|
---|
489 | 01205 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
490 | 01206 <font class="comment">// Grammar preparsing interface</font>
|
---|
491 | 01207 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
492 | 01208
|
---|
493 | 01238 Grammar* loadGrammar(<font class="keyword">const</font> <a class="code" href="classInputSource.html">InputSource</a>& source,
|
---|
494 | 01239 <font class="keyword">const</font> <font class="keywordtype">short</font> grammarType,
|
---|
495 | 01240 <font class="keyword">const</font> <font class="keywordtype">bool</font> toCache = <font class="keyword">false</font>);
|
---|
496 | 01241
|
---|
497 | 01267 Grammar* loadGrammar(<font class="keyword">const</font> XMLCh* <font class="keyword">const</font> systemId,
|
---|
498 | 01268 <font class="keyword">const</font> <font class="keywordtype">short</font> grammarType,
|
---|
499 | 01269 <font class="keyword">const</font> <font class="keywordtype">bool</font> toCache = <font class="keyword">false</font>);
|
---|
500 | 01270
|
---|
501 | 01295 Grammar* loadGrammar(<font class="keyword">const</font> <font class="keywordtype">char</font>* <font class="keyword">const</font> systemId,
|
---|
502 | 01296 <font class="keyword">const</font> <font class="keywordtype">short</font> grammarType,
|
---|
503 | 01297 <font class="keyword">const</font> <font class="keywordtype">bool</font> toCache = <font class="keyword">false</font>);
|
---|
504 | 01298
|
---|
505 | 01302 <font class="keywordtype">void</font> resetCachedGrammarPool();
|
---|
506 | 01303
|
---|
507 | 01305
|
---|
508 | 01306
|
---|
509 | 01307 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
510 | 01308 <font class="comment">// Implementation of the SAX Parser interface</font>
|
---|
511 | 01309 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
512 | 01310
|
---|
513 | 01322 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classParser.html#z441_4">parse</a>(<font class="keyword">const</font> <a class="code" href="classInputSource.html">InputSource</a>& source);
|
---|
514 | 01323
|
---|
515 | 01333 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classParser.html#z441_4">parse</a>(<font class="keyword">const</font> XMLCh* <font class="keyword">const</font> systemId);
|
---|
516 | 01334
|
---|
517 | 01342 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classParser.html#z441_4">parse</a>(<font class="keyword">const</font> <font class="keywordtype">char</font>* <font class="keyword">const</font> systemId);
|
---|
518 | 01343
|
---|
519 | 01354 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classParser.html#z441_2">setDocumentHandler</a>(<a class="code" href="classDocumentHandler.html">DocumentHandler</a>* <font class="keyword">const</font> handler);
|
---|
520 | 01355
|
---|
521 | 01365 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classParser.html#z441_1">setDTDHandler</a>(<a class="code" href="classDTDHandler.html">DTDHandler</a>* <font class="keyword">const</font> handler);
|
---|
522 | 01366
|
---|
523 | 01377 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classParser.html#z441_3">setErrorHandler</a>(<a class="code" href="classErrorHandler.html">ErrorHandler</a>* <font class="keyword">const</font> handler);
|
---|
524 | 01378
|
---|
525 | 01389 <font class="keyword">virtual</font> <font class="keywordtype">void</font> setPSVIHandler(<a class="code" href="classPSVIHandler.html">PSVIHandler</a>* <font class="keyword">const</font> handler);
|
---|
526 | 01390
|
---|
527 | 01406 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classParser.html#z441_0">setEntityResolver</a>(<a class="code" href="classEntityResolver.html">EntityResolver</a>* <font class="keyword">const</font> resolver);
|
---|
528 | 01407
|
---|
529 | 01423 <font class="keyword">virtual</font> <font class="keywordtype">void</font> setXMLEntityResolver(<a class="code" href="classXMLEntityResolver.html">XMLEntityResolver</a>* <font class="keyword">const</font> resolver);
|
---|
530 | 01424
|
---|
531 | 01426
|
---|
532 | 01427
|
---|
533 | 01428 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
534 | 01429 <font class="comment">// Implementation of the XMLDocumentHandler interface</font>
|
---|
535 | 01430 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
536 | 01431
|
---|
537 | 01449 <font class="keyword">virtual</font> <font class="keywordtype">void</font> docCharacters
|
---|
538 | 01450 (
|
---|
539 | 01451 <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> chars
|
---|
540 | 01452 , <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> length
|
---|
541 | 01453 , <font class="keyword">const</font> <font class="keywordtype">bool</font> cdataSection
|
---|
542 | 01454 );
|
---|
543 | 01455
|
---|
544 | 01465 <font class="keyword">virtual</font> <font class="keywordtype">void</font> docComment
|
---|
545 | 01466 (
|
---|
546 | 01467 <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> comment
|
---|
547 | 01468 );
|
---|
548 | 01469
|
---|
549 | 01489 <font class="keyword">virtual</font> <font class="keywordtype">void</font> docPI
|
---|
550 | 01490 (
|
---|
551 | 01491 <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> target
|
---|
552 | 01492 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> data
|
---|
553 | 01493 );
|
---|
554 | 01494
|
---|
555 | 01506 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classXMLDocumentHandler.html#z256_3">endDocument</a>();
|
---|
556 | 01507
|
---|
557 | 01527 <font class="keyword">virtual</font> <font class="keywordtype">void</font> endElement
|
---|
558 | 01528 (
|
---|
559 | 01529 <font class="keyword">const</font> <a class="code" href="classXMLElementDecl.html">XMLElementDecl</a>& elemDecl
|
---|
560 | 01530 , <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> urlId
|
---|
561 | 01531 , <font class="keyword">const</font> <font class="keywordtype">bool</font> isRoot
|
---|
562 | 01532 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> elemPrefix
|
---|
563 | 01533 );
|
---|
564 | 01534
|
---|
565 | 01545 <font class="keyword">virtual</font> <font class="keywordtype">void</font> endEntityReference
|
---|
566 | 01546 (
|
---|
567 | 01547 <font class="keyword">const</font> <a class="code" href="classXMLEntityDecl.html">XMLEntityDecl</a>& entDecl
|
---|
568 | 01548 );
|
---|
569 | 01549
|
---|
570 | 01569 <font class="keyword">virtual</font> <font class="keywordtype">void</font> ignorableWhitespace
|
---|
571 | 01570 (
|
---|
572 | 01571 <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> chars
|
---|
573 | 01572 , <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> length
|
---|
574 | 01573 , <font class="keyword">const</font> <font class="keywordtype">bool</font> cdataSection
|
---|
575 | 01574 );
|
---|
576 | 01575
|
---|
577 | 01580 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classXMLDocumentHandler.html#z256_7">resetDocument</a>();
|
---|
578 | 01581
|
---|
579 | 01592 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classXMLDocumentHandler.html#z256_8">startDocument</a>();
|
---|
580 | 01593
|
---|
581 | 01620 <font class="keyword">virtual</font> <font class="keywordtype">void</font> startElement
|
---|
582 | 01621 (
|
---|
583 | 01622 <font class="keyword">const</font> <a class="code" href="classXMLElementDecl.html">XMLElementDecl</a>& elemDecl
|
---|
584 | 01623 , <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> urlId
|
---|
585 | 01624 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> elemPrefix
|
---|
586 | 01625 , <font class="keyword">const</font> RefVectorOf<XMLAttr>& attrList
|
---|
587 | 01626 , <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> attrCount
|
---|
588 | 01627 , <font class="keyword">const</font> <font class="keywordtype">bool</font> isEmpty
|
---|
589 | 01628 , <font class="keyword">const</font> <font class="keywordtype">bool</font> isRoot
|
---|
590 | 01629 );
|
---|
591 | 01630
|
---|
592 | 01640 <font class="keyword">virtual</font> <font class="keywordtype">void</font> startEntityReference
|
---|
593 | 01641 (
|
---|
594 | 01642 <font class="keyword">const</font> <a class="code" href="classXMLEntityDecl.html">XMLEntityDecl</a>& entDecl
|
---|
595 | 01643 );
|
---|
596 | 01644
|
---|
597 | 01662 <font class="keyword">virtual</font> <font class="keywordtype">void</font> XMLDecl
|
---|
598 | 01663 (
|
---|
599 | 01664 <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> versionStr
|
---|
600 | 01665 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> encodingStr
|
---|
601 | 01666 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> standaloneStr
|
---|
602 | 01667 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> actualEncodingStr
|
---|
603 | 01668 );
|
---|
604 | 01670
|
---|
605 | 01671
|
---|
606 | 01672 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
607 | 01673 <font class="comment">// Implementation of the XMLErrorReporter interface</font>
|
---|
608 | 01674 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
609 | 01675
|
---|
610 | 01701 <font class="keyword">virtual</font> <font class="keywordtype">void</font> error
|
---|
611 | 01702 (
|
---|
612 | 01703 <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> errCode
|
---|
613 | 01704 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> msgDomain
|
---|
614 | 01705 , <font class="keyword">const</font> <a class="code" href="classXMLErrorReporter.html#s4">XMLErrorReporter::ErrTypes</a> errType
|
---|
615 | 01706 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> errorText
|
---|
616 | 01707 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> systemId
|
---|
617 | 01708 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> publicId
|
---|
618 | 01709 , <font class="keyword">const</font> XMLSSize_t lineNum
|
---|
619 | 01710 , <font class="keyword">const</font> XMLSSize_t colNum
|
---|
620 | 01711 );
|
---|
621 | 01712
|
---|
622 | 01721 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classXMLErrorReporter.html#z277_1">resetErrors</a>();
|
---|
623 | 01723
|
---|
624 | 01724
|
---|
625 | 01725 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
626 | 01726 <font class="comment">// Implementation of the XMLEntityHandler interface</font>
|
---|
627 | 01727 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
628 | 01728
|
---|
629 | 01742 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classXMLEntityHandler.html#z274_0">endInputSource</a>(<font class="keyword">const</font> <a class="code" href="classInputSource.html">InputSource</a>& inputSource);
|
---|
630 | 01743
|
---|
631 | 01758 <font class="keyword">virtual</font> <font class="keywordtype">bool</font> expandSystemId
|
---|
632 | 01759 (
|
---|
633 | 01760 <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> systemId
|
---|
634 | 01761 , XMLBuffer& toFill
|
---|
635 | 01762 );
|
---|
636 | 01763
|
---|
637 | 01771 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classXMLEntityHandler.html#z274_2">resetEntities</a>();
|
---|
638 | 01772
|
---|
639 | 01795 <font class="keyword">virtual</font> <a class="code" href="classInputSource.html">InputSource</a>* resolveEntity
|
---|
640 | 01796 (
|
---|
641 | 01797 <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> publicId
|
---|
642 | 01798 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> systemId
|
---|
643 | 01799 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> baseURI = 0
|
---|
644 | 01800 );
|
---|
645 | 01801
|
---|
646 | 01818 <font class="keyword">virtual</font> <a class="code" href="classInputSource.html">InputSource</a>* resolveEntity
|
---|
647 | 01819 (
|
---|
648 | 01820 <a class="code" href="classXMLResourceIdentifier.html">XMLResourceIdentifier</a>* resourceIdentifier
|
---|
649 | 01821 );
|
---|
650 | 01822
|
---|
651 | 01834 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classXMLEntityHandler.html#z274_5">startInputSource</a>(<font class="keyword">const</font> <a class="code" href="classInputSource.html">InputSource</a>& inputSource);
|
---|
652 | 01836
|
---|
653 | 01837
|
---|
654 | 01838 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
655 | 01839 <font class="comment">// Implementation of the Deprecated DocTypeHandler Interface</font>
|
---|
656 | 01840 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
657 | 01857 <font class="comment"></font> <font class="keyword">virtual</font> <font class="keywordtype">void</font> attDef
|
---|
658 | 01858 (
|
---|
659 | 01859 <font class="keyword">const</font> DTDElementDecl& elemDecl
|
---|
660 | 01860 , <font class="keyword">const</font> DTDAttDef& attDef
|
---|
661 | 01861 , <font class="keyword">const</font> <font class="keywordtype">bool</font> ignore
|
---|
662 | 01862 );
|
---|
663 | 01863
|
---|
664 | 01873 <font class="keyword">virtual</font> <font class="keywordtype">void</font> doctypeComment
|
---|
665 | 01874 (
|
---|
666 | 01875 <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> comment
|
---|
667 | 01876 );
|
---|
668 | 01877
|
---|
669 | 01896 <font class="keyword">virtual</font> <font class="keywordtype">void</font> doctypeDecl
|
---|
670 | 01897 (
|
---|
671 | 01898 <font class="keyword">const</font> DTDElementDecl& elemDecl
|
---|
672 | 01899 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> publicId
|
---|
673 | 01900 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> systemId
|
---|
674 | 01901 , <font class="keyword">const</font> <font class="keywordtype">bool</font> hasIntSubset
|
---|
675 | 01902 , <font class="keyword">const</font> <font class="keywordtype">bool</font> hasExtSubset = <font class="keyword">false</font>
|
---|
676 | 01903 );
|
---|
677 | 01904
|
---|
678 | 01918 <font class="keyword">virtual</font> <font class="keywordtype">void</font> doctypePI
|
---|
679 | 01919 (
|
---|
680 | 01920 <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> target
|
---|
681 | 01921 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> data
|
---|
682 | 01922 );
|
---|
683 | 01923
|
---|
684 | 01935 <font class="keyword">virtual</font> <font class="keywordtype">void</font> doctypeWhitespace
|
---|
685 | 01936 (
|
---|
686 | 01937 <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> chars
|
---|
687 | 01938 , <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> length
|
---|
688 | 01939 );
|
---|
689 | 01940
|
---|
690 | 01953 <font class="keyword">virtual</font> <font class="keywordtype">void</font> elementDecl
|
---|
691 | 01954 (
|
---|
692 | 01955 <font class="keyword">const</font> DTDElementDecl& decl
|
---|
693 | 01956 , <font class="keyword">const</font> <font class="keywordtype">bool</font> isIgnored
|
---|
694 | 01957 );
|
---|
695 | 01958
|
---|
696 | 01969 <font class="keyword">virtual</font> <font class="keywordtype">void</font> endAttList
|
---|
697 | 01970 (
|
---|
698 | 01971 <font class="keyword">const</font> DTDElementDecl& elemDecl
|
---|
699 | 01972 );
|
---|
700 | 01973
|
---|
701 | 01980 <font class="keyword">virtual</font> <font class="keywordtype">void</font> endIntSubset();
|
---|
702 | 01981
|
---|
703 | 01988 <font class="keyword">virtual</font> <font class="keywordtype">void</font> endExtSubset();
|
---|
704 | 01989
|
---|
705 | 02004 <font class="keyword">virtual</font> <font class="keywordtype">void</font> entityDecl
|
---|
706 | 02005 (
|
---|
707 | 02006 <font class="keyword">const</font> DTDEntityDecl& entityDecl
|
---|
708 | 02007 , <font class="keyword">const</font> <font class="keywordtype">bool</font> isPEDecl
|
---|
709 | 02008 , <font class="keyword">const</font> <font class="keywordtype">bool</font> isIgnored
|
---|
710 | 02009 );
|
---|
711 | 02010
|
---|
712 | 02015 <font class="keyword">virtual</font> <font class="keywordtype">void</font> resetDocType();
|
---|
713 | 02016
|
---|
714 | 02029 <font class="keyword">virtual</font> <font class="keywordtype">void</font> notationDecl
|
---|
715 | 02030 (
|
---|
716 | 02031 <font class="keyword">const</font> <a class="code" href="classXMLNotationDecl.html">XMLNotationDecl</a>& notDecl
|
---|
717 | 02032 , <font class="keyword">const</font> <font class="keywordtype">bool</font> isIgnored
|
---|
718 | 02033 );
|
---|
719 | 02034
|
---|
720 | 02045 <font class="keyword">virtual</font> <font class="keywordtype">void</font> startAttList
|
---|
721 | 02046 (
|
---|
722 | 02047 <font class="keyword">const</font> DTDElementDecl& elemDecl
|
---|
723 | 02048 );
|
---|
724 | 02049
|
---|
725 | 02056 <font class="keyword">virtual</font> <font class="keywordtype">void</font> startIntSubset();
|
---|
726 | 02057
|
---|
727 | 02064 <font class="keyword">virtual</font> <font class="keywordtype">void</font> startExtSubset();
|
---|
728 | 02065
|
---|
729 | 02078 <font class="keyword">virtual</font> <font class="keywordtype">void</font> TextDecl
|
---|
730 | 02079 (
|
---|
731 | 02080 <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> versionStr
|
---|
732 | 02081 , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font> encodingStr
|
---|
733 | 02082 );
|
---|
734 | 02084
|
---|
735 | 02085
|
---|
736 | 02086 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
737 | 02087 <font class="comment">// Deprecated Methods</font>
|
---|
738 | 02088 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
739 | 02101 <font class="comment"></font> <font class="keywordtype">bool</font> getDoValidation() <font class="keyword">const</font>;
|
---|
740 | 02102
|
---|
741 | 02116 <font class="keywordtype">void</font> setDoValidation(<font class="keyword">const</font> <font class="keywordtype">bool</font> newState);
|
---|
742 | 02118
|
---|
743 | 02119
|
---|
744 | 02120 <font class="keyword">protected</font> :
|
---|
745 | 02121 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
746 | 02122 <font class="comment">// Protected Methods</font>
|
---|
747 | 02123 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
748 | 02130 <font class="comment"></font> <font class="keyword">const</font> XMLScanner& getScanner() <font class="keyword">const</font>;
|
---|
749 | 02131
|
---|
750 | 02136 GrammarResolver* getGrammarResolver() <font class="keyword">const</font>;
|
---|
751 | 02137
|
---|
752 | 02138
|
---|
753 | 02139 <font class="keyword">private</font>:
|
---|
754 | 02140 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
755 | 02141 <font class="comment">// Unimplemented constructors and operators</font>
|
---|
756 | 02142 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
757 | 02143 <a class="code" href="classSAXParser.html">SAXParser</a>(<font class="keyword">const</font> <a class="code" href="classSAXParser.html">SAXParser</a>&);
|
---|
758 | 02144 <a class="code" href="classSAXParser.html">SAXParser</a>& operator=(<font class="keyword">const</font> <a class="code" href="classSAXParser.html">SAXParser</a>&);
|
---|
759 | 02145
|
---|
760 | 02146 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
761 | 02147 <font class="comment">// Initialize/Cleanup methods</font>
|
---|
762 | 02148 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
763 | 02149 <font class="keywordtype">void</font> initialize();
|
---|
764 | 02150 <font class="keywordtype">void</font> cleanUp();
|
---|
765 | 02151
|
---|
766 | 02152 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
767 | 02153 <font class="comment">// Private data members</font>
|
---|
768 | 02154 <font class="comment">//</font>
|
---|
769 | 02155 <font class="comment">// fAttrList</font>
|
---|
770 | 02156 <font class="comment">// A temporary implementation of the basic SAX attribute list</font>
|
---|
771 | 02157 <font class="comment">// interface. We use this one over and over on each startElement</font>
|
---|
772 | 02158 <font class="comment">// event to allow SAX-like access to the element attributes.</font>
|
---|
773 | 02159 <font class="comment">//</font>
|
---|
774 | 02160 <font class="comment">// fDocHandler</font>
|
---|
775 | 02161 <font class="comment">// The installed SAX doc handler, if any. Null if none.</font>
|
---|
776 | 02162 <font class="comment">//</font>
|
---|
777 | 02163 <font class="comment">// fDTDHandler</font>
|
---|
778 | 02164 <font class="comment">// The installed SAX DTD handler, if any. Null if none.</font>
|
---|
779 | 02165 <font class="comment">//</font>
|
---|
780 | 02166 <font class="comment">// fElemDepth</font>
|
---|
781 | 02167 <font class="comment">// This is used to track the element nesting depth, so that we can</font>
|
---|
782 | 02168 <font class="comment">// know when we are inside content. This is so we can ignore char</font>
|
---|
783 | 02169 <font class="comment">// data outside of content.</font>
|
---|
784 | 02170 <font class="comment">//</font>
|
---|
785 | 02171 <font class="comment">// fEntityResolver</font>
|
---|
786 | 02172 <font class="comment">// The installed SAX entity handler, if any. Null if none.</font>
|
---|
787 | 02173 <font class="comment">//</font>
|
---|
788 | 02174 <font class="comment">// fErrorHandler</font>
|
---|
789 | 02175 <font class="comment">// The installed SAX error handler, if any. Null if none.</font>
|
---|
790 | 02176 <font class="comment">//</font>
|
---|
791 | 02177 <font class="comment">// fPSVIHandler</font>
|
---|
792 | 02178 <font class="comment">// The installed PSVI handler, if any. Null if none.</font>
|
---|
793 | 02179 <font class="comment">//</font>
|
---|
794 | 02180 <font class="comment">// fAdvDHCount</font>
|
---|
795 | 02181 <font class="comment">// fAdvDHList</font>
|
---|
796 | 02182 <font class="comment">// fAdvDHListSize</font>
|
---|
797 | 02183 <font class="comment">// This is an array of pointers to XMLDocumentHandlers, which is</font>
|
---|
798 | 02184 <font class="comment">// how we see installed advanced document handlers. There will</font>
|
---|
799 | 02185 <font class="comment">// usually not be very many at all, so a simple array is used</font>
|
---|
800 | 02186 <font class="comment">// instead of a collection, for performance. It will grow if needed,</font>
|
---|
801 | 02187 <font class="comment">// but that is unlikely.</font>
|
---|
802 | 02188 <font class="comment">//</font>
|
---|
803 | 02189 <font class="comment">// The count is how many handlers are currently installed. The size</font>
|
---|
804 | 02190 <font class="comment">// is how big the array itself is (for expansion purposes.) When</font>
|
---|
805 | 02191 <font class="comment">// count == size, is time to expand.</font>
|
---|
806 | 02192 <font class="comment">//</font>
|
---|
807 | 02193 <font class="comment">// fParseInProgress</font>
|
---|
808 | 02194 <font class="comment">// This flag is set once a parse starts. It is used to prevent</font>
|
---|
809 | 02195 <font class="comment">// multiple entrance or reentrance of the parser.</font>
|
---|
810 | 02196 <font class="comment">//</font>
|
---|
811 | 02197 <font class="comment">// fScanner</font>
|
---|
812 | 02198 <font class="comment">// The scanner being used by this parser. It is created internally</font>
|
---|
813 | 02199 <font class="comment">// during construction.</font>
|
---|
814 | 02200 <font class="comment">//</font>
|
---|
815 | 02201 <font class="comment">// fGrammarPool</font>
|
---|
816 | 02202 <font class="comment">// The grammar pool passed from external application (through derivatives).</font>
|
---|
817 | 02203 <font class="comment">// which could be 0, not owned.</font>
|
---|
818 | 02204 <font class="comment">//</font>
|
---|
819 | 02205 <font class="comment">// -----------------------------------------------------------------------</font>
|
---|
820 | 02206 <font class="keywordtype">bool</font> fParseInProgress;
|
---|
821 | 02207 <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> fElemDepth;
|
---|
822 | 02208 <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> fAdvDHCount;
|
---|
823 | 02209 <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> fAdvDHListSize;
|
---|
824 | 02210 VecAttrListImpl fAttrList;
|
---|
825 | 02211 <a class="code" href="classDocumentHandler.html">DocumentHandler</a>* fDocHandler;
|
---|
826 | 02212 <a class="code" href="classDTDHandler.html">DTDHandler</a>* fDTDHandler;
|
---|
827 | 02213 <a class="code" href="classEntityResolver.html">EntityResolver</a>* fEntityResolver;
|
---|
828 | 02214 <a class="code" href="classXMLEntityResolver.html">XMLEntityResolver</a>* fXMLEntityResolver;
|
---|
829 | 02215 <a class="code" href="classErrorHandler.html">ErrorHandler</a>* fErrorHandler;
|
---|
830 | 02216 <a class="code" href="classPSVIHandler.html">PSVIHandler</a>* fPSVIHandler;
|
---|
831 | 02217 <a class="code" href="classXMLDocumentHandler.html">XMLDocumentHandler</a>** fAdvDHList;
|
---|
832 | 02218 XMLScanner* fScanner;
|
---|
833 | 02219 GrammarResolver* fGrammarResolver;
|
---|
834 | 02220 <a class="code" href="XSNamedMap_8hpp.html#a1">XMLStringPool</a>* fURIStringPool;
|
---|
835 | 02221 <a class="code" href="classXMLValidator.html">XMLValidator</a>* fValidator;
|
---|
836 | 02222 <a class="code" href="classMemoryManager.html">MemoryManager</a>* fMemoryManager;
|
---|
837 | 02223 <a class="code" href="classXMLGrammarPool.html">XMLGrammarPool</a>* fGrammarPool;
|
---|
838 | 02224 XMLBuffer fElemQNameBuf;
|
---|
839 | 02225 };
|
---|
840 | 02226
|
---|
841 | 02227
|
---|
842 | 02228 <font class="comment">// ---------------------------------------------------------------------------</font>
|
---|
843 | 02229 <font class="comment">// SAXParser: Getter methods</font>
|
---|
844 | 02230 <font class="comment">// ---------------------------------------------------------------------------</font>
|
---|
845 | <a name="l02231"></a><a class="code" href="classSAXParser.html#z463_0">02231</a> <font class="keyword">inline</font> <a class="code" href="classDocumentHandler.html">DocumentHandler</a>* <a class="code" href="classSAXParser.html#z463_0">SAXParser::getDocumentHandler</a>()
|
---|
846 | 02232 {
|
---|
847 | 02233 <font class="keywordflow">return</font> fDocHandler;
|
---|
848 | 02234 }
|
---|
849 | 02235
|
---|
850 | <a name="l02236"></a><a class="code" href="classSAXParser.html#z463_1">02236</a> <font class="keyword">inline</font> <font class="keyword">const</font> <a class="code" href="classDocumentHandler.html">DocumentHandler</a>* <a class="code" href="classSAXParser.html#z463_0">SAXParser::getDocumentHandler</a>()<font class="keyword"> const</font>
|
---|
851 | 02237 <font class="keyword"></font>{
|
---|
852 | 02238 <font class="keywordflow">return</font> fDocHandler;
|
---|
853 | 02239 }
|
---|
854 | 02240
|
---|
855 | <a name="l02241"></a><a class="code" href="classSAXParser.html#z463_2">02241</a> <font class="keyword">inline</font> <a class="code" href="classEntityResolver.html">EntityResolver</a>* <a class="code" href="classSAXParser.html#z463_2">SAXParser::getEntityResolver</a>()
|
---|
856 | 02242 {
|
---|
857 | 02243 <font class="keywordflow">return</font> fEntityResolver;
|
---|
858 | 02244 }
|
---|
859 | 02245
|
---|
860 | <a name="l02246"></a><a class="code" href="classSAXParser.html#z463_4">02246</a> <font class="keyword">inline</font> <a class="code" href="classXMLEntityResolver.html">XMLEntityResolver</a>* <a class="code" href="classSAXParser.html#z463_4">SAXParser::getXMLEntityResolver</a>()
|
---|
861 | 02247 {
|
---|
862 | 02248 <font class="keywordflow">return</font> fXMLEntityResolver;
|
---|
863 | 02249 }
|
---|
864 | 02250
|
---|
865 | <a name="l02251"></a><a class="code" href="classSAXParser.html#z463_5">02251</a> <font class="keyword">inline</font> <font class="keyword">const</font> <a class="code" href="classXMLEntityResolver.html">XMLEntityResolver</a>* <a class="code" href="classSAXParser.html#z463_4">SAXParser::getXMLEntityResolver</a>()<font class="keyword"> const</font>
|
---|
866 | 02252 <font class="keyword"></font>{
|
---|
867 | 02253 <font class="keywordflow">return</font> fXMLEntityResolver;
|
---|
868 | 02254 }
|
---|
869 | 02255
|
---|
870 | <a name="l02256"></a><a class="code" href="classSAXParser.html#z463_3">02256</a> <font class="keyword">inline</font> <font class="keyword">const</font> <a class="code" href="classEntityResolver.html">EntityResolver</a>* <a class="code" href="classSAXParser.html#z463_2">SAXParser::getEntityResolver</a>()<font class="keyword"> const</font>
|
---|
871 | 02257 <font class="keyword"></font>{
|
---|
872 | 02258 <font class="keywordflow">return</font> fEntityResolver;
|
---|
873 | 02259 }
|
---|
874 | 02260
|
---|
875 | <a name="l02261"></a><a class="code" href="classSAXParser.html#z463_6">02261</a> <font class="keyword">inline</font> <a class="code" href="classErrorHandler.html">ErrorHandler</a>* <a class="code" href="classSAXParser.html#z463_6">SAXParser::getErrorHandler</a>()
|
---|
876 | 02262 {
|
---|
877 | 02263 <font class="keywordflow">return</font> fErrorHandler;
|
---|
878 | 02264 }
|
---|
879 | 02265
|
---|
880 | <a name="l02266"></a><a class="code" href="classSAXParser.html#z463_7">02266</a> <font class="keyword">inline</font> <font class="keyword">const</font> <a class="code" href="classErrorHandler.html">ErrorHandler</a>* <a class="code" href="classSAXParser.html#z463_6">SAXParser::getErrorHandler</a>()<font class="keyword"> const</font>
|
---|
881 | 02267 <font class="keyword"></font>{
|
---|
882 | 02268 <font class="keywordflow">return</font> fErrorHandler;
|
---|
883 | 02269 }
|
---|
884 | 02270
|
---|
885 | <a name="l02271"></a><a class="code" href="classSAXParser.html#z463_8">02271</a> <font class="keyword">inline</font> <a class="code" href="classPSVIHandler.html">PSVIHandler</a>* <a class="code" href="classSAXParser.html#z463_8">SAXParser::getPSVIHandler</a>()
|
---|
886 | 02272 {
|
---|
887 | 02273 <font class="keywordflow">return</font> fPSVIHandler;
|
---|
888 | 02274 }
|
---|
889 | 02275
|
---|
890 | <a name="l02276"></a><a class="code" href="classSAXParser.html#z463_9">02276</a> <font class="keyword">inline</font> <font class="keyword">const</font> <a class="code" href="classPSVIHandler.html">PSVIHandler</a>* <a class="code" href="classSAXParser.html#z463_8">SAXParser::getPSVIHandler</a>()<font class="keyword"> const</font>
|
---|
891 | 02277 <font class="keyword"></font>{
|
---|
892 | 02278 <font class="keywordflow">return</font> fPSVIHandler;
|
---|
893 | 02279 }
|
---|
894 | 02280
|
---|
895 | <a name="l02281"></a><a class="code" href="classSAXParser.html#b0">02281</a> <font class="keyword">inline</font> <font class="keyword">const</font> XMLScanner& <a class="code" href="classSAXParser.html#b0">SAXParser::getScanner</a>()<font class="keyword"> const</font>
|
---|
896 | 02282 <font class="keyword"></font>{
|
---|
897 | 02283 <font class="keywordflow">return</font> *fScanner;
|
---|
898 | 02284 }
|
---|
899 | 02285
|
---|
900 | <a name="l02286"></a><a class="code" href="classSAXParser.html#b1">02286</a> <font class="keyword">inline</font> GrammarResolver* <a class="code" href="classSAXParser.html#b1">SAXParser::getGrammarResolver</a>()<font class="keyword"> const</font>
|
---|
901 | 02287 <font class="keyword"></font>{
|
---|
902 | 02288 <font class="keywordflow">return</font> fGrammarResolver;
|
---|
903 | 02289 }
|
---|
904 | 02290
|
---|
905 | 02291 <a class="code" href="XercesDefs_8hpp.html#a3">XERCES_CPP_NAMESPACE_END</a>
|
---|
906 | 02292
|
---|
907 | 02293 <font class="preprocessor">#endif</font>
|
---|
908 | </pre></div> </FONT></TD></TR></TABLE><BR>
|
---|
909 | </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>
|
---|
910 | Copyright © 1994-2004 The Apache Software Foundation.
|
---|
911 | All Rights Reserved.
|
---|
912 | </I></FONT></TD></TR></TABLE></BODY></HTML>
|
---|