1 | <HTML><HEAD><SCRIPT language="JavaScript" src="../resources/script.js" type="text/javascript"></SCRIPT><TITLE>XMLDocumentHandler 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>XMLDocumentHandler Class Reference</h1>This abstract class provides the interface for the scanner to return XML document information up to the parser as it scans through the document.
|
---|
45 | <a href="#_details">More...</a>
|
---|
46 | <p>
|
---|
47 | Inheritance diagram for XMLDocumentHandler:<p><center><img src="classXMLDocumentHandler__inherit__graph.gif" border="0" usemap="#XMLDocumentHandler__inherit__map" alt="Inheritance graph"></center>
|
---|
48 | <map name="XMLDocumentHandler__inherit__map">
|
---|
49 | <area href="classAbstractDOMParser.html" shape="rect" coords="7,105,140,86" alt="">
|
---|
50 | <area href="classSAXParser.html" shape="rect" coords="164,105,244,86" alt="">
|
---|
51 | <area href="classXercesDOMParser.html" shape="rect" coords="11,174,136,156" alt="">
|
---|
52 | </map>
|
---|
53 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classXMLDocumentHandler-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
|
---|
54 | <tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
|
---|
55 | <tr><td colspan="2"><div class="groupHeader">Destructor</div></td></tr>
|
---|
56 | <tr><td nowrap align=right valign=top>virtual </td><td valign=bottom><a class="el" href="classXMLDocumentHandler.html#z255_0">~XMLDocumentHandler</a> ()</td></tr>
|
---|
57 | <tr><td colspan="2"><div class="groupHeader">The document handler interface</div></td></tr>
|
---|
58 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classXMLDocumentHandler.html#z256_0">docCharacters</a> (const XMLCh *const chars, const unsigned int length, const bool cdataSection)=0</td></tr>
|
---|
59 | <tr><td> </td><td><font size=-1><em>Receive notification of character data.</em> <a href="#z256_0">More...</a><em></em></font><br><br></td></tr>
|
---|
60 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classXMLDocumentHandler.html#z256_1">docComment</a> (const XMLCh *const comment)=0</td></tr>
|
---|
61 | <tr><td> </td><td><font size=-1><em>Receive notification of comments in the XML content being parsed.</em> <a href="#z256_1">More...</a><em></em></font><br><br></td></tr>
|
---|
62 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classXMLDocumentHandler.html#z256_2">docPI</a> (const XMLCh *const target, const XMLCh *const data)=0</td></tr>
|
---|
63 | <tr><td> </td><td><font size=-1><em>Receive notification of PI's parsed in the XML content.</em> <a href="#z256_2">More...</a><em></em></font><br><br></td></tr>
|
---|
64 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classXMLDocumentHandler.html#z256_3">endDocument</a> ()=0</td></tr>
|
---|
65 | <tr><td> </td><td><font size=-1><em>Receive notification after the scanner has parsed the end of the document.</em> <a href="#z256_3">More...</a><em></em></font><br><br></td></tr>
|
---|
66 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classXMLDocumentHandler.html#z256_4">endElement</a> (const <a class="el" href="classXMLElementDecl.html">XMLElementDecl</a> &elemDecl, const unsigned int uriId, const bool isRoot, const XMLCh *const prefixName=0)=0</td></tr>
|
---|
67 | <tr><td> </td><td><font size=-1><em>Receive notification of the end of an element.</em> <a href="#z256_4">More...</a><em></em></font><br><br></td></tr>
|
---|
68 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classXMLDocumentHandler.html#z256_5">endEntityReference</a> (const <a class="el" href="classXMLEntityDecl.html">XMLEntityDecl</a> &entDecl)=0</td></tr>
|
---|
69 | <tr><td> </td><td><font size=-1><em>Receive notification when a referenced entity's content ends.</em> <a href="#z256_5">More...</a><em></em></font><br><br></td></tr>
|
---|
70 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classXMLDocumentHandler.html#z256_6">ignorableWhitespace</a> (const XMLCh *const chars, const unsigned int length, const bool cdataSection)=0</td></tr>
|
---|
71 | <tr><td> </td><td><font size=-1><em>Receive notification of ignorable whitespace in element content.</em> <a href="#z256_6">More...</a><em></em></font><br><br></td></tr>
|
---|
72 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classXMLDocumentHandler.html#z256_7">resetDocument</a> ()=0</td></tr>
|
---|
73 | <tr><td> </td><td><font size=-1><em>Reset the document handler's state, if required.</em> <a href="#z256_7">More...</a><em></em></font><br><br></td></tr>
|
---|
74 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classXMLDocumentHandler.html#z256_8">startDocument</a> ()=0</td></tr>
|
---|
75 | <tr><td> </td><td><font size=-1><em>Receive notification of the start of a new document.</em> <a href="#z256_8">More...</a><em></em></font><br><br></td></tr>
|
---|
76 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classXMLDocumentHandler.html#z256_9">startElement</a> (const <a class="el" href="classXMLElementDecl.html">XMLElementDecl</a> &elemDecl, const unsigned int uriId, const XMLCh *const prefixName, const RefVectorOf< <a class="el" href="classXMLAttr.html">XMLAttr</a> > &attrList, const unsigned int attrCount, const bool isEmpty, const bool isRoot)=0</td></tr>
|
---|
77 | <tr><td> </td><td><font size=-1><em>Receive notification of a new start tag.</em> <a href="#z256_9">More...</a><em></em></font><br><br></td></tr>
|
---|
78 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classXMLDocumentHandler.html#z256_10">startEntityReference</a> (const <a class="el" href="classXMLEntityDecl.html">XMLEntityDecl</a> &entDecl)=0</td></tr>
|
---|
79 | <tr><td> </td><td><font size=-1><em>Receive notification when the scanner hits an entity reference.</em> <a href="#z256_10">More...</a><em></em></font><br><br></td></tr>
|
---|
80 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classXMLDocumentHandler.html#z256_11">XMLDecl</a> (const XMLCh *const versionStr, const XMLCh *const encodingStr, const XMLCh *const standaloneStr, const XMLCh *const autoEncodingStr)=0</td></tr>
|
---|
81 | <tr><td> </td><td><font size=-1><em>Receive notification of an XML declaration.</em> <a href="#z256_11">More...</a><em></em></font><br><br></td></tr>
|
---|
82 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classXMLDocumentHandler.html#z256_12">elementTypeInfo</a> (const XMLCh *const, const XMLCh *const)</td></tr>
|
---|
83 | <tr><td> </td><td><font size=-1><em>Receive notification of the name and namespace of the type that validated the element corresponding to the most recent endElement event.</em> <a href="#z256_12">More...</a><em></em></font><br><br></td></tr>
|
---|
84 | <tr><td colspan=2><br><h2>Protected Methods</h2></td></tr>
|
---|
85 | <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classXMLDocumentHandler.html#b0">XMLDocumentHandler</a> ()</td></tr>
|
---|
86 | </table>
|
---|
87 | <hr><a name="_details"></a><h2>Detailed Description</h2>
|
---|
88 | This abstract class provides the interface for the scanner to return XML document information up to the parser as it scans through the document.
|
---|
89 | <p>
|
---|
90 | The interface is very similar to org.sax.DocumentHandler, but has some extra methods required to get all the data out.
|
---|
91 | <p>
|
---|
92 | <hr><h2>Constructor & Destructor Documentation</h2>
|
---|
93 | <a name="z255_0" doxytag="XMLDocumentHandler::~XMLDocumentHandler"></a><p>
|
---|
94 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
95 | <tr>
|
---|
96 | <td class="md">
|
---|
97 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
98 | <tr>
|
---|
99 | <td class="md" nowrap valign="top"> virtual XMLDocumentHandler::~XMLDocumentHandler </td>
|
---|
100 | <td class="md" valign="top">( </td>
|
---|
101 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
102 | <td class="md" valign="top">) </td>
|
---|
103 | <td class="md" nowrap><code> [virtual]</code></td>
|
---|
104 | </tr>
|
---|
105 |
|
---|
106 | </table>
|
---|
107 | </td>
|
---|
108 | </tr>
|
---|
109 | </table>
|
---|
110 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
111 | <tr>
|
---|
112 | <td>
|
---|
113 |
|
---|
114 | </td>
|
---|
115 | <td>
|
---|
116 |
|
---|
117 | <p>
|
---|
118 | </td>
|
---|
119 | </tr>
|
---|
120 | </table>
|
---|
121 | <a name="b0" doxytag="XMLDocumentHandler::XMLDocumentHandler"></a><p>
|
---|
122 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
123 | <tr>
|
---|
124 | <td class="md">
|
---|
125 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
126 | <tr>
|
---|
127 | <td class="md" nowrap valign="top"> XMLDocumentHandler::XMLDocumentHandler </td>
|
---|
128 | <td class="md" valign="top">( </td>
|
---|
129 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
130 | <td class="md" valign="top">) </td>
|
---|
131 | <td class="md" nowrap><code> [protected]</code></td>
|
---|
132 | </tr>
|
---|
133 |
|
---|
134 | </table>
|
---|
135 | </td>
|
---|
136 | </tr>
|
---|
137 | </table>
|
---|
138 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
139 | <tr>
|
---|
140 | <td>
|
---|
141 |
|
---|
142 | </td>
|
---|
143 | <td>
|
---|
144 |
|
---|
145 | <p>
|
---|
146 | </td>
|
---|
147 | </tr>
|
---|
148 | </table>
|
---|
149 | <hr><h2>Member Function Documentation</h2>
|
---|
150 | <a name="z256_0" doxytag="XMLDocumentHandler::docCharacters"></a><p>
|
---|
151 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
152 | <tr>
|
---|
153 | <td class="md">
|
---|
154 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
155 | <tr>
|
---|
156 | <td class="md" nowrap valign="top"> virtual void XMLDocumentHandler::docCharacters </td>
|
---|
157 | <td class="md" valign="top">( </td>
|
---|
158 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
159 | <td class="mdname" nowrap> <em>chars</em>, </td>
|
---|
160 | </tr>
|
---|
161 | <tr>
|
---|
162 | <td></td>
|
---|
163 | <td></td>
|
---|
164 | <td class="md" nowrap>const unsigned int </td>
|
---|
165 | <td class="mdname" nowrap> <em>length</em>, </td>
|
---|
166 | </tr>
|
---|
167 | <tr>
|
---|
168 | <td></td>
|
---|
169 | <td></td>
|
---|
170 | <td class="md" nowrap>const bool </td>
|
---|
171 | <td class="mdname" nowrap> <em>cdataSection</em></td>
|
---|
172 | </tr>
|
---|
173 | <tr>
|
---|
174 | <td></td>
|
---|
175 | <td class="md">) </td>
|
---|
176 | <td class="md" colspan="2"><code> [pure virtual]</code></td>
|
---|
177 | </tr>
|
---|
178 |
|
---|
179 | </table>
|
---|
180 | </td>
|
---|
181 | </tr>
|
---|
182 | </table>
|
---|
183 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
184 | <tr>
|
---|
185 | <td>
|
---|
186 |
|
---|
187 | </td>
|
---|
188 | <td>
|
---|
189 |
|
---|
190 | <p>
|
---|
191 | Receive notification of character data.
|
---|
192 | <p>
|
---|
193 |
|
---|
194 | <p>
|
---|
195 | The scanner will call this method to report each chunk of character data. The scanner may return all contiguous character data in a single chunk, or they may split it into several chunks; however, all of the characters in any single event will come from the same external entity, so that the <a class="el" href="classLocator.html">Locator</a> provides useful information.
|
---|
196 | <p>
|
---|
197 |
|
---|
198 | <p>
|
---|
199 | The parser must not attempt to read from the array outside of the specified range.<dl compact><dt><b>
|
---|
200 | Parameters: </b><dd>
|
---|
201 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
202 | <tr><td valign=top><em>chars</em> </td><td>
|
---|
203 | The content (characters) between markup from the XML document. </td></tr>
|
---|
204 | <tr><td valign=top><em>length</em> </td><td>
|
---|
205 | The number of characters to read from the array. </td></tr>
|
---|
206 | <tr><td valign=top><em>cdataSection</em> </td><td>
|
---|
207 | Indicates that this data is inside a CDATA section. </td></tr>
|
---|
208 | </table>
|
---|
209 | </dl><dl compact><dt><b>
|
---|
210 | See also: </b><dd>
|
---|
211 | <a class="el" href="classXMLDocumentHandler.html#z256_6">ignorableWhitespace</a> , <a class="el" href="classLocator.html">Locator</a> </dl>
|
---|
212 | <p>
|
---|
213 | Implemented in <a class="el" href="classAbstractDOMParser.html#z455_0">AbstractDOMParser</a>. </td>
|
---|
214 | </tr>
|
---|
215 | </table>
|
---|
216 | <a name="z256_1" doxytag="XMLDocumentHandler::docComment"></a><p>
|
---|
217 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
218 | <tr>
|
---|
219 | <td class="md">
|
---|
220 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
221 | <tr>
|
---|
222 | <td class="md" nowrap valign="top"> virtual void XMLDocumentHandler::docComment </td>
|
---|
223 | <td class="md" valign="top">( </td>
|
---|
224 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
225 | <td class="mdname1" valign="top" nowrap> <em>comment</em> </td>
|
---|
226 | <td class="md" valign="top">) </td>
|
---|
227 | <td class="md" nowrap><code> [pure virtual]</code></td>
|
---|
228 | </tr>
|
---|
229 |
|
---|
230 | </table>
|
---|
231 | </td>
|
---|
232 | </tr>
|
---|
233 | </table>
|
---|
234 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
235 | <tr>
|
---|
236 | <td>
|
---|
237 |
|
---|
238 | </td>
|
---|
239 | <td>
|
---|
240 |
|
---|
241 | <p>
|
---|
242 | Receive notification of comments in the XML content being parsed.
|
---|
243 | <p>
|
---|
244 | This scanner will call this method for any comments found in the content of the document.<dl compact><dt><b>
|
---|
245 | Parameters: </b><dd>
|
---|
246 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
247 | <tr><td valign=top><em>comment</em> </td><td>
|
---|
248 | The text of the comment. </td></tr>
|
---|
249 | </table>
|
---|
250 | </dl>
|
---|
251 | <p>
|
---|
252 | Implemented in <a class="el" href="classAbstractDOMParser.html#z455_1">AbstractDOMParser</a>. </td>
|
---|
253 | </tr>
|
---|
254 | </table>
|
---|
255 | <a name="z256_2" doxytag="XMLDocumentHandler::docPI"></a><p>
|
---|
256 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
257 | <tr>
|
---|
258 | <td class="md">
|
---|
259 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
260 | <tr>
|
---|
261 | <td class="md" nowrap valign="top"> virtual void XMLDocumentHandler::docPI </td>
|
---|
262 | <td class="md" valign="top">( </td>
|
---|
263 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
264 | <td class="mdname" nowrap> <em>target</em>, </td>
|
---|
265 | </tr>
|
---|
266 | <tr>
|
---|
267 | <td></td>
|
---|
268 | <td></td>
|
---|
269 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
270 | <td class="mdname" nowrap> <em>data</em></td>
|
---|
271 | </tr>
|
---|
272 | <tr>
|
---|
273 | <td></td>
|
---|
274 | <td class="md">) </td>
|
---|
275 | <td class="md" colspan="2"><code> [pure virtual]</code></td>
|
---|
276 | </tr>
|
---|
277 |
|
---|
278 | </table>
|
---|
279 | </td>
|
---|
280 | </tr>
|
---|
281 | </table>
|
---|
282 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
283 | <tr>
|
---|
284 | <td>
|
---|
285 |
|
---|
286 | </td>
|
---|
287 | <td>
|
---|
288 |
|
---|
289 | <p>
|
---|
290 | Receive notification of PI's parsed in the XML content.
|
---|
291 | <p>
|
---|
292 | The scanner will call this method for any PIs it finds within the content of the document.<dl compact><dt><b>
|
---|
293 | Parameters: </b><dd>
|
---|
294 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
295 | <tr><td valign=top><em>target</em> </td><td>
|
---|
296 | The name of the PI. </td></tr>
|
---|
297 | <tr><td valign=top><em>data</em> </td><td>
|
---|
298 | The body of the PI. This may be an empty string since the body is optional. </td></tr>
|
---|
299 | </table>
|
---|
300 | </dl>
|
---|
301 | <p>
|
---|
302 | Implemented in <a class="el" href="classAbstractDOMParser.html#z455_2">AbstractDOMParser</a>. </td>
|
---|
303 | </tr>
|
---|
304 | </table>
|
---|
305 | <a name="z256_12" doxytag="XMLDocumentHandler::elementTypeInfo"></a><p>
|
---|
306 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
307 | <tr>
|
---|
308 | <td class="md">
|
---|
309 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
310 | <tr>
|
---|
311 | <td class="md" nowrap valign="top"> virtual void XMLDocumentHandler::elementTypeInfo </td>
|
---|
312 | <td class="md" valign="top">( </td>
|
---|
313 | <td class="md" nowrap valign="top">const XMLCh * </td>
|
---|
314 | <td class="mdname" nowrap> <em>const</em>, </td>
|
---|
315 | </tr>
|
---|
316 | <tr>
|
---|
317 | <td></td>
|
---|
318 | <td></td>
|
---|
319 | <td class="md" nowrap>const XMLCh * </td>
|
---|
320 | <td class="mdname" nowrap> <em>const</em></td>
|
---|
321 | </tr>
|
---|
322 | <tr>
|
---|
323 | <td></td>
|
---|
324 | <td class="md">) </td>
|
---|
325 | <td class="md" colspan="2"><code> [virtual]</code></td>
|
---|
326 | </tr>
|
---|
327 |
|
---|
328 | </table>
|
---|
329 | </td>
|
---|
330 | </tr>
|
---|
331 | </table>
|
---|
332 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
333 | <tr>
|
---|
334 | <td>
|
---|
335 |
|
---|
336 | </td>
|
---|
337 | <td>
|
---|
338 |
|
---|
339 | <p>
|
---|
340 | Receive notification of the name and namespace of the type that validated the element corresponding to the most recent endElement event.
|
---|
341 | <p>
|
---|
342 | This event will be fired immediately after the <a class="el" href="classXMLDocumentHandler.html#z256_4">endElement</a>() event that signifies the end of the element to which it applies; no other events will intervene. This method is <em>EXPERIMENTAL</em> and may change, disappear or become pure virtual at any time.
|
---|
343 | <p>
|
---|
344 | This corresponds to a part of the information required by DOM Core level 3's TypeInfo interface.<dl compact><dt><b>
|
---|
345 | Parameters: </b><dd>
|
---|
346 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
347 | <tr><td valign=top><em>typeName</em> </td><td>
|
---|
348 | local name of the type that actually validated the content of the element corresponding to the most recent <a class="el" href="classXMLDocumentHandler.html#z256_4">endElement</a>() callback </td></tr>
|
---|
349 | <tr><td valign=top><em>typeURI</em> </td><td>
|
---|
350 | namespace of the type that actually validated the content of the element corresponding to the most recent <a class="el" href="classXMLDocumentHandler.html#z256_4">endElement</a>() callback </td></tr>
|
---|
351 | </table>
|
---|
352 | </dl><dl compact><dt><b>
|
---|
353 | Deprecated: </b><dd>
|
---|
354 | </dl>
|
---|
355 | <p>
|
---|
356 | Reimplemented in <a class="el" href="classAbstractDOMParser.html#z455_12">AbstractDOMParser</a>. </td>
|
---|
357 | </tr>
|
---|
358 | </table>
|
---|
359 | <a name="z256_3" doxytag="XMLDocumentHandler::endDocument"></a><p>
|
---|
360 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
361 | <tr>
|
---|
362 | <td class="md">
|
---|
363 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
364 | <tr>
|
---|
365 | <td class="md" nowrap valign="top"> virtual void XMLDocumentHandler::endDocument </td>
|
---|
366 | <td class="md" valign="top">( </td>
|
---|
367 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
368 | <td class="md" valign="top">) </td>
|
---|
369 | <td class="md" nowrap><code> [pure virtual]</code></td>
|
---|
370 | </tr>
|
---|
371 |
|
---|
372 | </table>
|
---|
373 | </td>
|
---|
374 | </tr>
|
---|
375 | </table>
|
---|
376 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
377 | <tr>
|
---|
378 | <td>
|
---|
379 |
|
---|
380 | </td>
|
---|
381 | <td>
|
---|
382 |
|
---|
383 | <p>
|
---|
384 | Receive notification after the scanner has parsed the end of the document.
|
---|
385 | <p>
|
---|
386 | The scanner will call this method when the current document has been fully parsed. The handler may use this opportunity to do something with the data, clean up temporary data, etc...
|
---|
387 | <p>
|
---|
388 | Implemented in <a class="el" href="classAbstractDOMParser.html#z455_3">AbstractDOMParser</a>. </td>
|
---|
389 | </tr>
|
---|
390 | </table>
|
---|
391 | <a name="z256_4" doxytag="XMLDocumentHandler::endElement"></a><p>
|
---|
392 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
393 | <tr>
|
---|
394 | <td class="md">
|
---|
395 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
396 | <tr>
|
---|
397 | <td class="md" nowrap valign="top"> virtual void XMLDocumentHandler::endElement </td>
|
---|
398 | <td class="md" valign="top">( </td>
|
---|
399 | <td class="md" nowrap valign="top">const <a class="el" href="classXMLElementDecl.html">XMLElementDecl</a> & </td>
|
---|
400 | <td class="mdname" nowrap> <em>elemDecl</em>, </td>
|
---|
401 | </tr>
|
---|
402 | <tr>
|
---|
403 | <td></td>
|
---|
404 | <td></td>
|
---|
405 | <td class="md" nowrap>const unsigned int </td>
|
---|
406 | <td class="mdname" nowrap> <em>uriId</em>, </td>
|
---|
407 | </tr>
|
---|
408 | <tr>
|
---|
409 | <td></td>
|
---|
410 | <td></td>
|
---|
411 | <td class="md" nowrap>const bool </td>
|
---|
412 | <td class="mdname" nowrap> <em>isRoot</em>, </td>
|
---|
413 | </tr>
|
---|
414 | <tr>
|
---|
415 | <td></td>
|
---|
416 | <td></td>
|
---|
417 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
418 | <td class="mdname" nowrap> <em>prefixName</em> = 0</td>
|
---|
419 | </tr>
|
---|
420 | <tr>
|
---|
421 | <td></td>
|
---|
422 | <td class="md">) </td>
|
---|
423 | <td class="md" colspan="2"><code> [pure virtual]</code></td>
|
---|
424 | </tr>
|
---|
425 |
|
---|
426 | </table>
|
---|
427 | </td>
|
---|
428 | </tr>
|
---|
429 | </table>
|
---|
430 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
431 | <tr>
|
---|
432 | <td>
|
---|
433 |
|
---|
434 | </td>
|
---|
435 | <td>
|
---|
436 |
|
---|
437 | <p>
|
---|
438 | Receive notification of the end of an element.
|
---|
439 | <p>
|
---|
440 | This method is called when scanner encounters the end of element tag. There will be a corresponding <a class="el" href="classXMLDocumentHandler.html#z256_9">startElement</a>() event for every <a class="el" href="classXMLDocumentHandler.html#z256_4">endElement</a>() event, but not necessarily the other way around. For empty tags, there is only a <a class="el" href="classXMLDocumentHandler.html#z256_9">startElement</a>() call.<dl compact><dt><b>
|
---|
441 | Parameters: </b><dd>
|
---|
442 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
443 | <tr><td valign=top><em>elemDecl</em> </td><td>
|
---|
444 | The name of the element whose end tag was just parsed. </td></tr>
|
---|
445 | <tr><td valign=top><em>uriId</em> </td><td>
|
---|
446 | The ID of the URI in the URI pool (only valid if name spaces is enabled) </td></tr>
|
---|
447 | <tr><td valign=top><em>isRoot</em> </td><td>
|
---|
448 | Indicates if this is the root element. </td></tr>
|
---|
449 | <tr><td valign=top><em>prefixName</em> </td><td>
|
---|
450 | The string representing the prefix name </td></tr>
|
---|
451 | </table>
|
---|
452 | </dl>
|
---|
453 | <p>
|
---|
454 | Implemented in <a class="el" href="classAbstractDOMParser.html#z455_4">AbstractDOMParser</a>. </td>
|
---|
455 | </tr>
|
---|
456 | </table>
|
---|
457 | <a name="z256_5" doxytag="XMLDocumentHandler::endEntityReference"></a><p>
|
---|
458 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
459 | <tr>
|
---|
460 | <td class="md">
|
---|
461 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
462 | <tr>
|
---|
463 | <td class="md" nowrap valign="top"> virtual void XMLDocumentHandler::endEntityReference </td>
|
---|
464 | <td class="md" valign="top">( </td>
|
---|
465 | <td class="md" nowrap valign="top">const <a class="el" href="classXMLEntityDecl.html">XMLEntityDecl</a> & </td>
|
---|
466 | <td class="mdname1" valign="top" nowrap> <em>entDecl</em> </td>
|
---|
467 | <td class="md" valign="top">) </td>
|
---|
468 | <td class="md" nowrap><code> [pure virtual]</code></td>
|
---|
469 | </tr>
|
---|
470 |
|
---|
471 | </table>
|
---|
472 | </td>
|
---|
473 | </tr>
|
---|
474 | </table>
|
---|
475 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
476 | <tr>
|
---|
477 | <td>
|
---|
478 |
|
---|
479 | </td>
|
---|
480 | <td>
|
---|
481 |
|
---|
482 | <p>
|
---|
483 | Receive notification when a referenced entity's content ends.
|
---|
484 | <p>
|
---|
485 | This method is called when scanner encounters the end of an entity reference.<dl compact><dt><b>
|
---|
486 | Parameters: </b><dd>
|
---|
487 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
488 | <tr><td valign=top><em>entDecl</em> </td><td>
|
---|
489 | The name of the entity reference just scanned. </td></tr>
|
---|
490 | </table>
|
---|
491 | </dl>
|
---|
492 | <p>
|
---|
493 | Implemented in <a class="el" href="classAbstractDOMParser.html#z455_5">AbstractDOMParser</a>. </td>
|
---|
494 | </tr>
|
---|
495 | </table>
|
---|
496 | <a name="z256_6" doxytag="XMLDocumentHandler::ignorableWhitespace"></a><p>
|
---|
497 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
498 | <tr>
|
---|
499 | <td class="md">
|
---|
500 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
501 | <tr>
|
---|
502 | <td class="md" nowrap valign="top"> virtual void XMLDocumentHandler::ignorableWhitespace </td>
|
---|
503 | <td class="md" valign="top">( </td>
|
---|
504 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
505 | <td class="mdname" nowrap> <em>chars</em>, </td>
|
---|
506 | </tr>
|
---|
507 | <tr>
|
---|
508 | <td></td>
|
---|
509 | <td></td>
|
---|
510 | <td class="md" nowrap>const unsigned int </td>
|
---|
511 | <td class="mdname" nowrap> <em>length</em>, </td>
|
---|
512 | </tr>
|
---|
513 | <tr>
|
---|
514 | <td></td>
|
---|
515 | <td></td>
|
---|
516 | <td class="md" nowrap>const bool </td>
|
---|
517 | <td class="mdname" nowrap> <em>cdataSection</em></td>
|
---|
518 | </tr>
|
---|
519 | <tr>
|
---|
520 | <td></td>
|
---|
521 | <td class="md">) </td>
|
---|
522 | <td class="md" colspan="2"><code> [pure virtual]</code></td>
|
---|
523 | </tr>
|
---|
524 |
|
---|
525 | </table>
|
---|
526 | </td>
|
---|
527 | </tr>
|
---|
528 | </table>
|
---|
529 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
530 | <tr>
|
---|
531 | <td>
|
---|
532 |
|
---|
533 | </td>
|
---|
534 | <td>
|
---|
535 |
|
---|
536 | <p>
|
---|
537 | Receive notification of ignorable whitespace in element content.
|
---|
538 | <p>
|
---|
539 |
|
---|
540 | <p>
|
---|
541 | Validating Parsers must use this method to report each chunk of ignorable whitespace (see the W3C XML 1.0 recommendation, section 2.10): non-validating parsers may also use this method if they are capable of parsing and using content models.
|
---|
542 | <p>
|
---|
543 |
|
---|
544 | <p>
|
---|
545 | The scanner may return all contiguous whitespace in a single chunk, or it may split it into several chunks; however, all of the characters in any single event will come from the same external entity, so that the <a class="el" href="classLocator.html">Locator</a> provides useful information.
|
---|
546 | <p>
|
---|
547 |
|
---|
548 | <p>
|
---|
549 | The parser must not attempt to read from the array outside of the specified range.<dl compact><dt><b>
|
---|
550 | Parameters: </b><dd>
|
---|
551 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
552 | <tr><td valign=top><em>chars</em> </td><td>
|
---|
553 | The whitespace characters from the XML document. </td></tr>
|
---|
554 | <tr><td valign=top><em>length</em> </td><td>
|
---|
555 | The number of characters to read from the array. </td></tr>
|
---|
556 | <tr><td valign=top><em>cdataSection</em> </td><td>
|
---|
557 | Indicates that this data is inside a CDATA section. </td></tr>
|
---|
558 | </table>
|
---|
559 | </dl><dl compact><dt><b>
|
---|
560 | See also: </b><dd>
|
---|
561 | characters </dl>
|
---|
562 | <p>
|
---|
563 | Implemented in <a class="el" href="classAbstractDOMParser.html#z455_6">AbstractDOMParser</a>. </td>
|
---|
564 | </tr>
|
---|
565 | </table>
|
---|
566 | <a name="z256_7" doxytag="XMLDocumentHandler::resetDocument"></a><p>
|
---|
567 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
568 | <tr>
|
---|
569 | <td class="md">
|
---|
570 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
571 | <tr>
|
---|
572 | <td class="md" nowrap valign="top"> virtual void XMLDocumentHandler::resetDocument </td>
|
---|
573 | <td class="md" valign="top">( </td>
|
---|
574 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
575 | <td class="md" valign="top">) </td>
|
---|
576 | <td class="md" nowrap><code> [pure virtual]</code></td>
|
---|
577 | </tr>
|
---|
578 |
|
---|
579 | </table>
|
---|
580 | </td>
|
---|
581 | </tr>
|
---|
582 | </table>
|
---|
583 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
584 | <tr>
|
---|
585 | <td>
|
---|
586 |
|
---|
587 | </td>
|
---|
588 | <td>
|
---|
589 |
|
---|
590 | <p>
|
---|
591 | Reset the document handler's state, if required.
|
---|
592 | <p>
|
---|
593 | This method is used to give the registered document handler a chance to reset itself. Its called by the scanner at the start of every parse.
|
---|
594 | <p>
|
---|
595 | Implemented in <a class="el" href="classAbstractDOMParser.html#z455_7">AbstractDOMParser</a>. </td>
|
---|
596 | </tr>
|
---|
597 | </table>
|
---|
598 | <a name="z256_8" doxytag="XMLDocumentHandler::startDocument"></a><p>
|
---|
599 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
600 | <tr>
|
---|
601 | <td class="md">
|
---|
602 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
603 | <tr>
|
---|
604 | <td class="md" nowrap valign="top"> virtual void XMLDocumentHandler::startDocument </td>
|
---|
605 | <td class="md" valign="top">( </td>
|
---|
606 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
607 | <td class="md" valign="top">) </td>
|
---|
608 | <td class="md" nowrap><code> [pure virtual]</code></td>
|
---|
609 | </tr>
|
---|
610 |
|
---|
611 | </table>
|
---|
612 | </td>
|
---|
613 | </tr>
|
---|
614 | </table>
|
---|
615 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
616 | <tr>
|
---|
617 | <td>
|
---|
618 |
|
---|
619 | </td>
|
---|
620 | <td>
|
---|
621 |
|
---|
622 | <p>
|
---|
623 | Receive notification of the start of a new document.
|
---|
624 | <p>
|
---|
625 | This method is the first callback called the scanner at the start of every parse. This is before any content is parsed.
|
---|
626 | <p>
|
---|
627 | Implemented in <a class="el" href="classAbstractDOMParser.html#z455_8">AbstractDOMParser</a>. </td>
|
---|
628 | </tr>
|
---|
629 | </table>
|
---|
630 | <a name="z256_9" doxytag="XMLDocumentHandler::startElement"></a><p>
|
---|
631 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
632 | <tr>
|
---|
633 | <td class="md">
|
---|
634 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
635 | <tr>
|
---|
636 | <td class="md" nowrap valign="top"> virtual void XMLDocumentHandler::startElement </td>
|
---|
637 | <td class="md" valign="top">( </td>
|
---|
638 | <td class="md" nowrap valign="top">const <a class="el" href="classXMLElementDecl.html">XMLElementDecl</a> & </td>
|
---|
639 | <td class="mdname" nowrap> <em>elemDecl</em>, </td>
|
---|
640 | </tr>
|
---|
641 | <tr>
|
---|
642 | <td></td>
|
---|
643 | <td></td>
|
---|
644 | <td class="md" nowrap>const unsigned int </td>
|
---|
645 | <td class="mdname" nowrap> <em>uriId</em>, </td>
|
---|
646 | </tr>
|
---|
647 | <tr>
|
---|
648 | <td></td>
|
---|
649 | <td></td>
|
---|
650 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
651 | <td class="mdname" nowrap> <em>prefixName</em>, </td>
|
---|
652 | </tr>
|
---|
653 | <tr>
|
---|
654 | <td></td>
|
---|
655 | <td></td>
|
---|
656 | <td class="md" nowrap>const RefVectorOf< <a class="el" href="classXMLAttr.html">XMLAttr</a> > & </td>
|
---|
657 | <td class="mdname" nowrap> <em>attrList</em>, </td>
|
---|
658 | </tr>
|
---|
659 | <tr>
|
---|
660 | <td></td>
|
---|
661 | <td></td>
|
---|
662 | <td class="md" nowrap>const unsigned int </td>
|
---|
663 | <td class="mdname" nowrap> <em>attrCount</em>, </td>
|
---|
664 | </tr>
|
---|
665 | <tr>
|
---|
666 | <td></td>
|
---|
667 | <td></td>
|
---|
668 | <td class="md" nowrap>const bool </td>
|
---|
669 | <td class="mdname" nowrap> <em>isEmpty</em>, </td>
|
---|
670 | </tr>
|
---|
671 | <tr>
|
---|
672 | <td></td>
|
---|
673 | <td></td>
|
---|
674 | <td class="md" nowrap>const bool </td>
|
---|
675 | <td class="mdname" nowrap> <em>isRoot</em></td>
|
---|
676 | </tr>
|
---|
677 | <tr>
|
---|
678 | <td></td>
|
---|
679 | <td class="md">) </td>
|
---|
680 | <td class="md" colspan="2"><code> [pure virtual]</code></td>
|
---|
681 | </tr>
|
---|
682 |
|
---|
683 | </table>
|
---|
684 | </td>
|
---|
685 | </tr>
|
---|
686 | </table>
|
---|
687 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
688 | <tr>
|
---|
689 | <td>
|
---|
690 |
|
---|
691 | </td>
|
---|
692 | <td>
|
---|
693 |
|
---|
694 | <p>
|
---|
695 | Receive notification of a new start tag.
|
---|
696 | <p>
|
---|
697 | This method is called when scanner encounters the start of an element tag. All elements must always have a <a class="el" href="classXMLDocumentHandler.html#z256_9">startElement</a>() tag. Empty tags will only have the <a class="el" href="classXMLDocumentHandler.html#z256_9">startElement</a>() tag and no <a class="el" href="classXMLDocumentHandler.html#z256_4">endElement</a>() tag.<dl compact><dt><b>
|
---|
698 | Parameters: </b><dd>
|
---|
699 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
700 | <tr><td valign=top><em>elemDecl</em> </td><td>
|
---|
701 | The name of the element whose start tag was just parsed. </td></tr>
|
---|
702 | <tr><td valign=top><em>uriId</em> </td><td>
|
---|
703 | The ID of the URI in the URI pool (only valid if name spaces is enabled) </td></tr>
|
---|
704 | <tr><td valign=top><em>prefixName</em> </td><td>
|
---|
705 | The string representing the prefix name </td></tr>
|
---|
706 | <tr><td valign=top><em>attrList</em> </td><td>
|
---|
707 | List of attributes in the element </td></tr>
|
---|
708 | <tr><td valign=top><em>attrCount</em> </td><td>
|
---|
709 | Count of the attributes in the element </td></tr>
|
---|
710 | <tr><td valign=top><em>isEmpty</em> </td><td>
|
---|
711 | Indicates if the element is empty, in which case you should not expect an <a class="el" href="classXMLDocumentHandler.html#z256_4">endElement</a>() event. </td></tr>
|
---|
712 | <tr><td valign=top><em>isRoot</em> </td><td>
|
---|
713 | Indicates if this is the root element. </td></tr>
|
---|
714 | </table>
|
---|
715 | </dl>
|
---|
716 | <p>
|
---|
717 | Implemented in <a class="el" href="classAbstractDOMParser.html#z455_9">AbstractDOMParser</a>. </td>
|
---|
718 | </tr>
|
---|
719 | </table>
|
---|
720 | <a name="z256_10" doxytag="XMLDocumentHandler::startEntityReference"></a><p>
|
---|
721 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
722 | <tr>
|
---|
723 | <td class="md">
|
---|
724 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
725 | <tr>
|
---|
726 | <td class="md" nowrap valign="top"> virtual void XMLDocumentHandler::startEntityReference </td>
|
---|
727 | <td class="md" valign="top">( </td>
|
---|
728 | <td class="md" nowrap valign="top">const <a class="el" href="classXMLEntityDecl.html">XMLEntityDecl</a> & </td>
|
---|
729 | <td class="mdname1" valign="top" nowrap> <em>entDecl</em> </td>
|
---|
730 | <td class="md" valign="top">) </td>
|
---|
731 | <td class="md" nowrap><code> [pure virtual]</code></td>
|
---|
732 | </tr>
|
---|
733 |
|
---|
734 | </table>
|
---|
735 | </td>
|
---|
736 | </tr>
|
---|
737 | </table>
|
---|
738 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
739 | <tr>
|
---|
740 | <td>
|
---|
741 |
|
---|
742 | </td>
|
---|
743 | <td>
|
---|
744 |
|
---|
745 | <p>
|
---|
746 | Receive notification when the scanner hits an entity reference.
|
---|
747 | <p>
|
---|
748 | This is currently useful only to DOM parser configurations as SAX does not provide any api to return this information.<dl compact><dt><b>
|
---|
749 | Parameters: </b><dd>
|
---|
750 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
751 | <tr><td valign=top><em>entDecl</em> </td><td>
|
---|
752 | The name of the entity that was referenced. </td></tr>
|
---|
753 | </table>
|
---|
754 | </dl>
|
---|
755 | <p>
|
---|
756 | Implemented in <a class="el" href="classAbstractDOMParser.html#z455_10">AbstractDOMParser</a>. </td>
|
---|
757 | </tr>
|
---|
758 | </table>
|
---|
759 | <a name="z256_11" doxytag="XMLDocumentHandler::XMLDecl"></a><p>
|
---|
760 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
761 | <tr>
|
---|
762 | <td class="md">
|
---|
763 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
764 | <tr>
|
---|
765 | <td class="md" nowrap valign="top"> virtual void XMLDocumentHandler::XMLDecl </td>
|
---|
766 | <td class="md" valign="top">( </td>
|
---|
767 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
768 | <td class="mdname" nowrap> <em>versionStr</em>, </td>
|
---|
769 | </tr>
|
---|
770 | <tr>
|
---|
771 | <td></td>
|
---|
772 | <td></td>
|
---|
773 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
774 | <td class="mdname" nowrap> <em>encodingStr</em>, </td>
|
---|
775 | </tr>
|
---|
776 | <tr>
|
---|
777 | <td></td>
|
---|
778 | <td></td>
|
---|
779 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
780 | <td class="mdname" nowrap> <em>standaloneStr</em>, </td>
|
---|
781 | </tr>
|
---|
782 | <tr>
|
---|
783 | <td></td>
|
---|
784 | <td></td>
|
---|
785 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
786 | <td class="mdname" nowrap> <em>autoEncodingStr</em></td>
|
---|
787 | </tr>
|
---|
788 | <tr>
|
---|
789 | <td></td>
|
---|
790 | <td class="md">) </td>
|
---|
791 | <td class="md" colspan="2"><code> [pure virtual]</code></td>
|
---|
792 | </tr>
|
---|
793 |
|
---|
794 | </table>
|
---|
795 | </td>
|
---|
796 | </tr>
|
---|
797 | </table>
|
---|
798 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
799 | <tr>
|
---|
800 | <td>
|
---|
801 |
|
---|
802 | </td>
|
---|
803 | <td>
|
---|
804 |
|
---|
805 | <p>
|
---|
806 | Receive notification of an XML declaration.
|
---|
807 | <p>
|
---|
808 | Currently neither DOM nor SAX provide API's to return back this information.<dl compact><dt><b>
|
---|
809 | Parameters: </b><dd>
|
---|
810 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
811 | <tr><td valign=top><em>versionStr</em> </td><td>
|
---|
812 | The value of the <code>version</code> pseudoattribute of the XML decl. </td></tr>
|
---|
813 | <tr><td valign=top><em>encodingStr</em> </td><td>
|
---|
814 | The value of the <code>encoding</code> pseudoattribute of the XML decl. </td></tr>
|
---|
815 | <tr><td valign=top><em>standaloneStr</em> </td><td>
|
---|
816 | The value of the <code>standalone</code> pseudoattribute of the XML decl. </td></tr>
|
---|
817 | <tr><td valign=top><em>autoEncodingStr</em> </td><td>
|
---|
818 | The encoding string auto-detected by the scanner. In absence of any 'encoding' attribute in the XML decl, the XML standard specifies how a parser can auto-detect. If there is no <code>encodingStr</code> this is what will be used to try to decode the file. </td></tr>
|
---|
819 | </table>
|
---|
820 | </dl>
|
---|
821 | <p>
|
---|
822 | Implemented in <a class="el" href="classAbstractDOMParser.html#z455_11">AbstractDOMParser</a>. </td>
|
---|
823 | </tr>
|
---|
824 | </table>
|
---|
825 | <hr>The documentation for this class was generated from the following file:<ul>
|
---|
826 | <li><a class="el" href="XMLDocumentHandler_8hpp-source.html">XMLDocumentHandler.hpp</a></ul>
|
---|
827 | </FONT></TD></TR></TABLE><BR>
|
---|
828 | </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>
|
---|
829 | Copyright © 1994-2004 The Apache Software Foundation.
|
---|
830 | All Rights Reserved.
|
---|
831 | </I></FONT></TD></TR></TABLE></BODY></HTML>
|
---|