1 | <HTML><HEAD><SCRIPT language="JavaScript" src="../resources/script.js" type="text/javascript"></SCRIPT><TITLE>LexicalHandler class Reference</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>LexicalHandler Class Reference</h1>Receive notification of lexical events.
|
---|
45 | <a href="#_details">More...</a>
|
---|
46 | <p>
|
---|
47 | Inheritance diagram for LexicalHandler:<p><center><img src="classLexicalHandler__inherit__graph.gif" border="0" usemap="#LexicalHandler__inherit__map" alt="Inheritance graph"></center>
|
---|
48 | <map name="LexicalHandler__inherit__map">
|
---|
49 | <area href="classDefaultHandler.html" shape="rect" coords="7,105,105,87" alt="">
|
---|
50 | </map>
|
---|
51 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classLexicalHandler-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
|
---|
52 | <tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
|
---|
53 | <tr><td colspan="2"><div class="groupHeader">Constructors and Destructor</div></td></tr>
|
---|
54 | <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classLexicalHandler.html#z541_0">LexicalHandler</a> ()</td></tr>
|
---|
55 | <tr><td> </td><td><font size=-1><em>Default constructor.</em> <a href="#z541_0">More...</a><em></em></font><br><br></td></tr>
|
---|
56 | <tr><td nowrap align=right valign=top>virtual </td><td valign=bottom><a class="el" href="classLexicalHandler.html#z541_1">~LexicalHandler</a> ()</td></tr>
|
---|
57 | <tr><td> </td><td><font size=-1><em>Destructor.</em> <a href="#z541_1">More...</a><em></em></font><br><br></td></tr>
|
---|
58 | <tr><td colspan="2"><div class="groupHeader">The virtual document handler interface</div></td></tr>
|
---|
59 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classLexicalHandler.html#z542_0">comment</a> (const XMLCh *const chars, const unsigned int length)=0</td></tr>
|
---|
60 | <tr><td> </td><td><font size=-1><em>Receive notification of comments.</em> <a href="#z542_0">More...</a><em></em></font><br><br></td></tr>
|
---|
61 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classLexicalHandler.html#z542_1">endCDATA</a> ()=0</td></tr>
|
---|
62 | <tr><td> </td><td><font size=-1><em>Receive notification of the end of a CDATA section.</em> <a href="#z542_1">More...</a><em></em></font><br><br></td></tr>
|
---|
63 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classLexicalHandler.html#z542_2">endDTD</a> ()=0</td></tr>
|
---|
64 | <tr><td> </td><td><font size=-1><em>Receive notification of the end of the DTD declarations.</em> <a href="#z542_2">More...</a><em></em></font><br><br></td></tr>
|
---|
65 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classLexicalHandler.html#z542_3">endEntity</a> (const XMLCh *const name)=0</td></tr>
|
---|
66 | <tr><td> </td><td><font size=-1><em>Receive notification of the end of an entity.</em> <a href="#z542_3">More...</a><em></em></font><br><br></td></tr>
|
---|
67 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classLexicalHandler.html#z542_4">startCDATA</a> ()=0</td></tr>
|
---|
68 | <tr><td> </td><td><font size=-1><em>Receive notification of the start of a CDATA section.</em> <a href="#z542_4">More...</a><em></em></font><br><br></td></tr>
|
---|
69 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classLexicalHandler.html#z542_5">startDTD</a> (const XMLCh *const name, const XMLCh *const publicId, const XMLCh *const systemId)=0</td></tr>
|
---|
70 | <tr><td> </td><td><font size=-1><em>Receive notification of the start of the DTD declarations.</em> <a href="#z542_5">More...</a><em></em></font><br><br></td></tr>
|
---|
71 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classLexicalHandler.html#z542_6">startEntity</a> (const XMLCh *const name)=0</td></tr>
|
---|
72 | <tr><td> </td><td><font size=-1><em>Receive notification of the start of an entity.</em> <a href="#z542_6">More...</a><em></em></font><br><br></td></tr>
|
---|
73 | </table>
|
---|
74 | <hr><a name="_details"></a><h2>Detailed Description</h2>
|
---|
75 | Receive notification of lexical events.
|
---|
76 | <p>
|
---|
77 |
|
---|
78 | <p>
|
---|
79 | This is an extension handler for that provides lexical information about an XML document. It does not provide information about document content. For those events, an application must register an instance of a <a class="el" href="classContentHandler.html">ContentHandler</a>.
|
---|
80 | <p>
|
---|
81 |
|
---|
82 | <p>
|
---|
83 | The order of events in this interface is very important, and mirrors the order of information in the document itself. For example, <a class="el" href="classLexicalHandler.html#z542_5">startDTD</a>() and <a class="el" href="classLexicalHandler.html#z542_2">endDTD</a>() events will occur before the first element in the document.
|
---|
84 | <p>
|
---|
85 | <dl compact><dt><b>
|
---|
86 | See also: </b><dd>
|
---|
87 | <a class="el" href="classSAX2XMLReader.html#z546_3">SAX2XMLReader::setLexicalHandler</a> , <a class="el" href="classSAX2XMLReader.html#z545_6">SAX2XMLReader::setContentHandler</a> </dl>
|
---|
88 | <p>
|
---|
89 | <hr><h2>Constructor & Destructor Documentation</h2>
|
---|
90 | <a name="z541_0" doxytag="LexicalHandler::LexicalHandler"></a><p>
|
---|
91 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
92 | <tr>
|
---|
93 | <td class="md">
|
---|
94 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
95 | <tr>
|
---|
96 | <td class="md" nowrap valign="top"> LexicalHandler::LexicalHandler </td>
|
---|
97 | <td class="md" valign="top">( </td>
|
---|
98 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
99 | <td class="md" valign="top">) </td>
|
---|
100 | <td class="md" nowrap></td>
|
---|
101 | </tr>
|
---|
102 |
|
---|
103 | </table>
|
---|
104 | </td>
|
---|
105 | </tr>
|
---|
106 | </table>
|
---|
107 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
108 | <tr>
|
---|
109 | <td>
|
---|
110 |
|
---|
111 | </td>
|
---|
112 | <td>
|
---|
113 |
|
---|
114 | <p>
|
---|
115 | Default constructor.
|
---|
116 | <p>
|
---|
117 | </td>
|
---|
118 | </tr>
|
---|
119 | </table>
|
---|
120 | <a name="z541_1" doxytag="LexicalHandler::~LexicalHandler"></a><p>
|
---|
121 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
122 | <tr>
|
---|
123 | <td class="md">
|
---|
124 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
125 | <tr>
|
---|
126 | <td class="md" nowrap valign="top"> virtual LexicalHandler::~LexicalHandler </td>
|
---|
127 | <td class="md" valign="top">( </td>
|
---|
128 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
129 | <td class="md" valign="top">) </td>
|
---|
130 | <td class="md" nowrap><code> [virtual]</code></td>
|
---|
131 | </tr>
|
---|
132 |
|
---|
133 | </table>
|
---|
134 | </td>
|
---|
135 | </tr>
|
---|
136 | </table>
|
---|
137 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
138 | <tr>
|
---|
139 | <td>
|
---|
140 |
|
---|
141 | </td>
|
---|
142 | <td>
|
---|
143 |
|
---|
144 | <p>
|
---|
145 | Destructor.
|
---|
146 | <p>
|
---|
147 | </td>
|
---|
148 | </tr>
|
---|
149 | </table>
|
---|
150 | <hr><h2>Member Function Documentation</h2>
|
---|
151 | <a name="z542_0" doxytag="LexicalHandler::comment"></a><p>
|
---|
152 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
153 | <tr>
|
---|
154 | <td class="md">
|
---|
155 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
156 | <tr>
|
---|
157 | <td class="md" nowrap valign="top"> virtual void LexicalHandler::comment </td>
|
---|
158 | <td class="md" valign="top">( </td>
|
---|
159 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
160 | <td class="mdname" nowrap> <em>chars</em>, </td>
|
---|
161 | </tr>
|
---|
162 | <tr>
|
---|
163 | <td></td>
|
---|
164 | <td></td>
|
---|
165 | <td class="md" nowrap>const unsigned int </td>
|
---|
166 | <td class="mdname" nowrap> <em>length</em></td>
|
---|
167 | </tr>
|
---|
168 | <tr>
|
---|
169 | <td></td>
|
---|
170 | <td class="md">) </td>
|
---|
171 | <td class="md" colspan="2"><code> [pure virtual]</code></td>
|
---|
172 | </tr>
|
---|
173 |
|
---|
174 | </table>
|
---|
175 | </td>
|
---|
176 | </tr>
|
---|
177 | </table>
|
---|
178 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
179 | <tr>
|
---|
180 | <td>
|
---|
181 |
|
---|
182 | </td>
|
---|
183 | <td>
|
---|
184 |
|
---|
185 | <p>
|
---|
186 | Receive notification of comments.
|
---|
187 | <p>
|
---|
188 |
|
---|
189 | <p>
|
---|
190 | The <a class="el" href="classParser.html">Parser</a> will call this method to report each occurence of a comment in the XML document.
|
---|
191 | <p>
|
---|
192 |
|
---|
193 | <p>
|
---|
194 | The application must not attempt to read from the array outside of the specified range.<dl compact><dt><b>
|
---|
195 | Parameters: </b><dd>
|
---|
196 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
197 | <tr><td valign=top><em>chars</em> </td><td>
|
---|
198 | The characters from the XML document. </td></tr>
|
---|
199 | <tr><td valign=top><em>length</em> </td><td>
|
---|
200 | The number of characters to read from the array. </td></tr>
|
---|
201 | </table>
|
---|
202 | </dl><dl compact><dt><b>
|
---|
203 | Exceptions: </b><dd>
|
---|
204 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
205 | <tr><td valign=top><em><a class="el" href="classSAXException.html">SAXException</a></em> </td><td>
|
---|
206 | Any SAX exception, possibly wrapping another exception. </td></tr>
|
---|
207 | </table>
|
---|
208 | </dl>
|
---|
209 | <p>
|
---|
210 | Implemented in <a class="el" href="classDefaultHandler.html#z539_0">DefaultHandler</a>. </td>
|
---|
211 | </tr>
|
---|
212 | </table>
|
---|
213 | <a name="z542_1" doxytag="LexicalHandler::endCDATA"></a><p>
|
---|
214 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
215 | <tr>
|
---|
216 | <td class="md">
|
---|
217 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
218 | <tr>
|
---|
219 | <td class="md" nowrap valign="top"> virtual void LexicalHandler::endCDATA </td>
|
---|
220 | <td class="md" valign="top">( </td>
|
---|
221 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
222 | <td class="md" valign="top">) </td>
|
---|
223 | <td class="md" nowrap><code> [pure virtual]</code></td>
|
---|
224 | </tr>
|
---|
225 |
|
---|
226 | </table>
|
---|
227 | </td>
|
---|
228 | </tr>
|
---|
229 | </table>
|
---|
230 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
231 | <tr>
|
---|
232 | <td>
|
---|
233 |
|
---|
234 | </td>
|
---|
235 | <td>
|
---|
236 |
|
---|
237 | <p>
|
---|
238 | Receive notification of the end of a CDATA section.
|
---|
239 | <p>
|
---|
240 |
|
---|
241 | <p>
|
---|
242 | The SAX parser will invoke this method at the end of each CDATA parsed.<dl compact><dt><b>
|
---|
243 | Exceptions: </b><dd>
|
---|
244 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
245 | <tr><td valign=top><em><a class="el" href="classSAXException.html">SAXException</a></em> </td><td>
|
---|
246 | Any SAX exception, possibly wrapping another exception. </td></tr>
|
---|
247 | </table>
|
---|
248 | </dl>
|
---|
249 | <p>
|
---|
250 | Implemented in <a class="el" href="classDefaultHandler.html#z539_1">DefaultHandler</a>. </td>
|
---|
251 | </tr>
|
---|
252 | </table>
|
---|
253 | <a name="z542_2" doxytag="LexicalHandler::endDTD"></a><p>
|
---|
254 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
255 | <tr>
|
---|
256 | <td class="md">
|
---|
257 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
258 | <tr>
|
---|
259 | <td class="md" nowrap valign="top"> virtual void LexicalHandler::endDTD </td>
|
---|
260 | <td class="md" valign="top">( </td>
|
---|
261 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
262 | <td class="md" valign="top">) </td>
|
---|
263 | <td class="md" nowrap><code> [pure virtual]</code></td>
|
---|
264 | </tr>
|
---|
265 |
|
---|
266 | </table>
|
---|
267 | </td>
|
---|
268 | </tr>
|
---|
269 | </table>
|
---|
270 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
271 | <tr>
|
---|
272 | <td>
|
---|
273 |
|
---|
274 | </td>
|
---|
275 | <td>
|
---|
276 |
|
---|
277 | <p>
|
---|
278 | Receive notification of the end of the DTD declarations.
|
---|
279 | <p>
|
---|
280 |
|
---|
281 | <p>
|
---|
282 | The SAX parser will invoke this method at the end of the DTD<dl compact><dt><b>
|
---|
283 | Exceptions: </b><dd>
|
---|
284 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
285 | <tr><td valign=top><em><a class="el" href="classSAXException.html">SAXException</a></em> </td><td>
|
---|
286 | Any SAX exception, possibly wrapping another exception. </td></tr>
|
---|
287 | </table>
|
---|
288 | </dl>
|
---|
289 | <p>
|
---|
290 | Implemented in <a class="el" href="classDefaultHandler.html#z539_2">DefaultHandler</a>. </td>
|
---|
291 | </tr>
|
---|
292 | </table>
|
---|
293 | <a name="z542_3" doxytag="LexicalHandler::endEntity"></a><p>
|
---|
294 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
295 | <tr>
|
---|
296 | <td class="md">
|
---|
297 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
298 | <tr>
|
---|
299 | <td class="md" nowrap valign="top"> virtual void LexicalHandler::endEntity </td>
|
---|
300 | <td class="md" valign="top">( </td>
|
---|
301 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
302 | <td class="mdname1" valign="top" nowrap> <em>name</em> </td>
|
---|
303 | <td class="md" valign="top">) </td>
|
---|
304 | <td class="md" nowrap><code> [pure virtual]</code></td>
|
---|
305 | </tr>
|
---|
306 |
|
---|
307 | </table>
|
---|
308 | </td>
|
---|
309 | </tr>
|
---|
310 | </table>
|
---|
311 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
312 | <tr>
|
---|
313 | <td>
|
---|
314 |
|
---|
315 | </td>
|
---|
316 | <td>
|
---|
317 |
|
---|
318 | <p>
|
---|
319 | Receive notification of the end of an entity.
|
---|
320 | <p>
|
---|
321 |
|
---|
322 | <p>
|
---|
323 | The SAX parser will invoke this method at the end of an entity<dl compact><dt><b>
|
---|
324 | Parameters: </b><dd>
|
---|
325 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
326 | <tr><td valign=top><em>name</em> </td><td>
|
---|
327 | The name of the entity that is ending. </td></tr>
|
---|
328 | </table>
|
---|
329 | </dl><dl compact><dt><b>
|
---|
330 | Exceptions: </b><dd>
|
---|
331 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
332 | <tr><td valign=top><em><a class="el" href="classSAXException.html">SAXException</a></em> </td><td>
|
---|
333 | Any SAX exception, possibly wrapping another exception. </td></tr>
|
---|
334 | </table>
|
---|
335 | </dl>
|
---|
336 | <p>
|
---|
337 | Implemented in <a class="el" href="classDefaultHandler.html#z539_3">DefaultHandler</a>. </td>
|
---|
338 | </tr>
|
---|
339 | </table>
|
---|
340 | <a name="z542_4" doxytag="LexicalHandler::startCDATA"></a><p>
|
---|
341 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
342 | <tr>
|
---|
343 | <td class="md">
|
---|
344 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
345 | <tr>
|
---|
346 | <td class="md" nowrap valign="top"> virtual void LexicalHandler::startCDATA </td>
|
---|
347 | <td class="md" valign="top">( </td>
|
---|
348 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
349 | <td class="md" valign="top">) </td>
|
---|
350 | <td class="md" nowrap><code> [pure virtual]</code></td>
|
---|
351 | </tr>
|
---|
352 |
|
---|
353 | </table>
|
---|
354 | </td>
|
---|
355 | </tr>
|
---|
356 | </table>
|
---|
357 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
358 | <tr>
|
---|
359 | <td>
|
---|
360 |
|
---|
361 | </td>
|
---|
362 | <td>
|
---|
363 |
|
---|
364 | <p>
|
---|
365 | Receive notification of the start of a CDATA section.
|
---|
366 | <p>
|
---|
367 |
|
---|
368 | <p>
|
---|
369 | The SAX parser will invoke this method at the start of each CDATA parsed.<dl compact><dt><b>
|
---|
370 | Exceptions: </b><dd>
|
---|
371 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
372 | <tr><td valign=top><em><a class="el" href="classSAXException.html">SAXException</a></em> </td><td>
|
---|
373 | Any SAX exception, possibly wrapping another exception. </td></tr>
|
---|
374 | </table>
|
---|
375 | </dl>
|
---|
376 | <p>
|
---|
377 | Implemented in <a class="el" href="classDefaultHandler.html#z539_4">DefaultHandler</a>. </td>
|
---|
378 | </tr>
|
---|
379 | </table>
|
---|
380 | <a name="z542_5" doxytag="LexicalHandler::startDTD"></a><p>
|
---|
381 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
382 | <tr>
|
---|
383 | <td class="md">
|
---|
384 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
385 | <tr>
|
---|
386 | <td class="md" nowrap valign="top"> virtual void LexicalHandler::startDTD </td>
|
---|
387 | <td class="md" valign="top">( </td>
|
---|
388 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
389 | <td class="mdname" nowrap> <em>name</em>, </td>
|
---|
390 | </tr>
|
---|
391 | <tr>
|
---|
392 | <td></td>
|
---|
393 | <td></td>
|
---|
394 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
395 | <td class="mdname" nowrap> <em>publicId</em>, </td>
|
---|
396 | </tr>
|
---|
397 | <tr>
|
---|
398 | <td></td>
|
---|
399 | <td></td>
|
---|
400 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
401 | <td class="mdname" nowrap> <em>systemId</em></td>
|
---|
402 | </tr>
|
---|
403 | <tr>
|
---|
404 | <td></td>
|
---|
405 | <td class="md">) </td>
|
---|
406 | <td class="md" colspan="2"><code> [pure virtual]</code></td>
|
---|
407 | </tr>
|
---|
408 |
|
---|
409 | </table>
|
---|
410 | </td>
|
---|
411 | </tr>
|
---|
412 | </table>
|
---|
413 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
414 | <tr>
|
---|
415 | <td>
|
---|
416 |
|
---|
417 | </td>
|
---|
418 | <td>
|
---|
419 |
|
---|
420 | <p>
|
---|
421 | Receive notification of the start of the DTD declarations.
|
---|
422 | <p>
|
---|
423 |
|
---|
424 | <p>
|
---|
425 | The SAX parser will invoke this method at the start of the DTD<dl compact><dt><b>
|
---|
426 | Parameters: </b><dd>
|
---|
427 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
428 | <tr><td valign=top><em>name</em> </td><td>
|
---|
429 | The document type name. </td></tr>
|
---|
430 | <tr><td valign=top><em>publicId</em> </td><td>
|
---|
431 | The declared public identifier for the external DTD subset, or null if none was declared. </td></tr>
|
---|
432 | <tr><td valign=top><em>systemId</em> </td><td>
|
---|
433 | The declared system identifier for the external DTD subset, or null if none was declared. </td></tr>
|
---|
434 | </table>
|
---|
435 | </dl><dl compact><dt><b>
|
---|
436 | Exceptions: </b><dd>
|
---|
437 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
438 | <tr><td valign=top><em><a class="el" href="classSAXException.html">SAXException</a></em> </td><td>
|
---|
439 | Any SAX exception, possibly wrapping another exception. </td></tr>
|
---|
440 | </table>
|
---|
441 | </dl>
|
---|
442 | <p>
|
---|
443 | Implemented in <a class="el" href="classDefaultHandler.html#z539_5">DefaultHandler</a>. </td>
|
---|
444 | </tr>
|
---|
445 | </table>
|
---|
446 | <a name="z542_6" doxytag="LexicalHandler::startEntity"></a><p>
|
---|
447 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
448 | <tr>
|
---|
449 | <td class="md">
|
---|
450 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
451 | <tr>
|
---|
452 | <td class="md" nowrap valign="top"> virtual void LexicalHandler::startEntity </td>
|
---|
453 | <td class="md" valign="top">( </td>
|
---|
454 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
455 | <td class="mdname1" valign="top" nowrap> <em>name</em> </td>
|
---|
456 | <td class="md" valign="top">) </td>
|
---|
457 | <td class="md" nowrap><code> [pure virtual]</code></td>
|
---|
458 | </tr>
|
---|
459 |
|
---|
460 | </table>
|
---|
461 | </td>
|
---|
462 | </tr>
|
---|
463 | </table>
|
---|
464 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
465 | <tr>
|
---|
466 | <td>
|
---|
467 |
|
---|
468 | </td>
|
---|
469 | <td>
|
---|
470 |
|
---|
471 | <p>
|
---|
472 | Receive notification of the start of an entity.
|
---|
473 | <p>
|
---|
474 |
|
---|
475 | <p>
|
---|
476 | The SAX parser will invoke this method at the start of an entity<dl compact><dt><b>
|
---|
477 | Parameters: </b><dd>
|
---|
478 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
479 | <tr><td valign=top><em>name</em> </td><td>
|
---|
480 | The name of the entity that is starting. </td></tr>
|
---|
481 | </table>
|
---|
482 | </dl><dl compact><dt><b>
|
---|
483 | Exceptions: </b><dd>
|
---|
484 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
485 | <tr><td valign=top><em><a class="el" href="classSAXException.html">SAXException</a></em> </td><td>
|
---|
486 | Any SAX exception, possibly wrapping another exception. </td></tr>
|
---|
487 | </table>
|
---|
488 | </dl>
|
---|
489 | <p>
|
---|
490 | Implemented in <a class="el" href="classDefaultHandler.html#z539_6">DefaultHandler</a>. </td>
|
---|
491 | </tr>
|
---|
492 | </table>
|
---|
493 | <hr>The documentation for this class was generated from the following file:<ul>
|
---|
494 | <li><a class="el" href="LexicalHandler_8hpp-source.html">LexicalHandler.hpp</a></ul>
|
---|
495 | </FONT></TD></TR></TABLE><BR>
|
---|
496 | </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>
|
---|
497 | Copyright © 1994-2004 The Apache Software Foundation.
|
---|
498 | All Rights Reserved.
|
---|
499 | </I></FONT></TD></TR></TABLE></BODY></HTML>
|
---|