1 | <HTML><HEAD><SCRIPT language="JavaScript" src="../resources/script.js" type="text/javascript"></SCRIPT><TITLE>SAXParser 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>SAXParser Class Reference</h1>This class implements the SAX '<a class="el" href="classParser.html">Parser</a>' interface and should be used by applications wishing to parse the XML files using SAX.
|
---|
45 | <a href="#_details">More...</a>
|
---|
46 | <p>
|
---|
47 | Inheritance diagram for SAXParser:<p><center><img src="classSAXParser__inherit__graph.gif" border="0" usemap="#SAXParser__inherit__map" alt="Inheritance graph"></center>
|
---|
48 | <map name="SAXParser__inherit__map">
|
---|
49 | <area href="classXMemory.html" shape="rect" coords="7,36,76,17" alt="">
|
---|
50 | <area href="classParser.html" shape="rect" coords="100,36,151,17" alt="">
|
---|
51 | <area href="classXMLDocumentHandler.html" shape="rect" coords="175,36,321,17" alt="">
|
---|
52 | <area href="classXMLErrorReporter.html" shape="rect" coords="345,36,468,17" alt="">
|
---|
53 | <area href="classXMLEntityHandler.html" shape="rect" coords="492,36,609,17" alt="">
|
---|
54 | </map>
|
---|
55 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for SAXParser:<p><center><img src="classSAXParser__coll__graph.gif" border="0" usemap="#SAXParser__coll__map" alt="Collaboration graph"></center>
|
---|
56 | <map name="SAXParser__coll__map">
|
---|
57 | <area href="classXMemory.html" shape="rect" coords="45,271,115,253" alt="">
|
---|
58 | <area href="classXMLGrammarPool.html" shape="rect" coords="304,585,427,566" alt="">
|
---|
59 | <area href="classXMLValidator.html" shape="rect" coords="319,271,412,253" alt="">
|
---|
60 | <area href="classParser.html" shape="rect" coords="340,86,391,67" alt="">
|
---|
61 | <area href="classXMLDocumentHandler.html" shape="rect" coords="292,166,439,147" alt="">
|
---|
62 | <area href="classXMLErrorReporter.html" shape="rect" coords="19,750,141,731" alt="">
|
---|
63 | <area href="classXMLEntityHandler.html" shape="rect" coords="307,323,424,305" alt="">
|
---|
64 | <area href="classPSVIHandler.html" shape="rect" coords="321,381,409,362" alt="">
|
---|
65 | <area href="classErrorHandler.html" shape="rect" coords="323,449,408,430" alt="">
|
---|
66 | <area href="classEntityResolver.html" shape="rect" coords="317,517,413,498" alt="">
|
---|
67 | <area href="classMemoryManager.html" shape="rect" coords="25,938,135,919" alt="">
|
---|
68 | <area href="classDTDHandler.html" shape="rect" coords="323,653,408,634" alt="">
|
---|
69 | <area href="classDocumentHandler.html" shape="rect" coords="307,721,424,702" alt="">
|
---|
70 | <area href="classXMLEntityResolver.html" shape="rect" coords="303,789,428,770" alt="">
|
---|
71 | </map>
|
---|
72 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classSAXParser-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
|
---|
73 | <tr><td colspan=2><br><h2>Public Types</h2></td></tr>
|
---|
74 | <tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="classSAXParser.html#s3">ValSchemes</a> { <a class="el" href="classSAXParser.html#s3s0">Val_Never</a>,
|
---|
75 | <a class="el" href="classSAXParser.html#s3s1">Val_Always</a>,
|
---|
76 | <a class="el" href="classSAXParser.html#s3s2">Val_Auto</a>
|
---|
77 | }</td></tr>
|
---|
78 | <tr><td> </td><td><font size=-1><em>ValScheme enum used in setValidationScheme Val_Never: Do not report validation errors.</em> <a href="#s3">More...</a><em></em></font><br><br></td></tr>
|
---|
79 | <tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
|
---|
80 | <tr><td colspan="2"><div class="groupHeader">Constructors and Destructor</div></td></tr>
|
---|
81 | <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classSAXParser.html#z462_0">SAXParser</a> (<a class="el" href="classXMLValidator.html">XMLValidator</a> *const valToAdopt=0, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>, <a class="el" href="classXMLGrammarPool.html">XMLGrammarPool</a> *const gramPool=0)</td></tr>
|
---|
82 | <tr><td> </td><td><font size=-1><em>Constructor with an instance of validator class to use for validation.</em> <a href="#z462_0">More...</a><em></em></font><br><br></td></tr>
|
---|
83 | <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classSAXParser.html#z462_1">~SAXParser</a> ()</td></tr>
|
---|
84 | <tr><td> </td><td><font size=-1><em>Destructor.</em> <a href="#z462_1">More...</a><em></em></font><br><br></td></tr>
|
---|
85 | <tr><td colspan="2"><div class="groupHeader">Getter methods</div></td></tr>
|
---|
86 | <tr><td nowrap align=right valign=top><a class="el" href="classDocumentHandler.html">DocumentHandler</a> * </td><td valign=bottom><a class="el" href="classSAXParser.html#z463_0">getDocumentHandler</a> ()</td></tr>
|
---|
87 | <tr><td> </td><td><font size=-1><em>This method returns the installed document handler.</em> <a href="#z463_0">More...</a><em></em></font><br><br></td></tr>
|
---|
88 | <tr><td nowrap align=right valign=top>const <a class="el" href="classDocumentHandler.html">DocumentHandler</a> * </td><td valign=bottom><a class="el" href="classSAXParser.html#z463_1">getDocumentHandler</a> () const</td></tr>
|
---|
89 | <tr><td> </td><td><font size=-1><em>This method returns the installed document handler.</em> <a href="#z463_1">More...</a><em></em></font><br><br></td></tr>
|
---|
90 | <tr><td nowrap align=right valign=top><a class="el" href="classEntityResolver.html">EntityResolver</a> * </td><td valign=bottom><a class="el" href="classSAXParser.html#z463_2">getEntityResolver</a> ()</td></tr>
|
---|
91 | <tr><td> </td><td><font size=-1><em>This method returns the installed entity resolver.</em> <a href="#z463_2">More...</a><em></em></font><br><br></td></tr>
|
---|
92 | <tr><td nowrap align=right valign=top>const <a class="el" href="classEntityResolver.html">EntityResolver</a> * </td><td valign=bottom><a class="el" href="classSAXParser.html#z463_3">getEntityResolver</a> () const</td></tr>
|
---|
93 | <tr><td> </td><td><font size=-1><em>This method returns the installed entity resolver.</em> <a href="#z463_3">More...</a><em></em></font><br><br></td></tr>
|
---|
94 | <tr><td nowrap align=right valign=top><a class="el" href="classXMLEntityResolver.html">XMLEntityResolver</a> * </td><td valign=bottom><a class="el" href="classSAXParser.html#z463_4">getXMLEntityResolver</a> ()</td></tr>
|
---|
95 | <tr><td> </td><td><font size=-1><em>This method returns the installed entity resolver.</em> <a href="#z463_4">More...</a><em></em></font><br><br></td></tr>
|
---|
96 | <tr><td nowrap align=right valign=top>const <a class="el" href="classXMLEntityResolver.html">XMLEntityResolver</a> * </td><td valign=bottom><a class="el" href="classSAXParser.html#z463_5">getXMLEntityResolver</a> () const</td></tr>
|
---|
97 | <tr><td> </td><td><font size=-1><em>This method returns the installed entity resolver.</em> <a href="#z463_5">More...</a><em></em></font><br><br></td></tr>
|
---|
98 | <tr><td nowrap align=right valign=top><a class="el" href="classErrorHandler.html">ErrorHandler</a> * </td><td valign=bottom><a class="el" href="classSAXParser.html#z463_6">getErrorHandler</a> ()</td></tr>
|
---|
99 | <tr><td> </td><td><font size=-1><em>This method returns the installed error handler.</em> <a href="#z463_6">More...</a><em></em></font><br><br></td></tr>
|
---|
100 | <tr><td nowrap align=right valign=top>const <a class="el" href="classErrorHandler.html">ErrorHandler</a> * </td><td valign=bottom><a class="el" href="classSAXParser.html#z463_7">getErrorHandler</a> () const</td></tr>
|
---|
101 | <tr><td> </td><td><font size=-1><em>This method returns the installed error handler.</em> <a href="#z463_7">More...</a><em></em></font><br><br></td></tr>
|
---|
102 | <tr><td nowrap align=right valign=top><a class="el" href="classPSVIHandler.html">PSVIHandler</a> * </td><td valign=bottom><a class="el" href="classSAXParser.html#z463_8">getPSVIHandler</a> ()</td></tr>
|
---|
103 | <tr><td> </td><td><font size=-1><em>This method returns the installed PSVI handler.</em> <a href="#z463_8">More...</a><em></em></font><br><br></td></tr>
|
---|
104 | <tr><td nowrap align=right valign=top>const <a class="el" href="classPSVIHandler.html">PSVIHandler</a> * </td><td valign=bottom><a class="el" href="classSAXParser.html#z463_9">getPSVIHandler</a> () const</td></tr>
|
---|
105 | <tr><td> </td><td><font size=-1><em>This method returns the installed PSVI handler.</em> <a href="#z463_9">More...</a><em></em></font><br><br></td></tr>
|
---|
106 | <tr><td nowrap align=right valign=top>const <a class="el" href="classXMLValidator.html">XMLValidator</a> & </td><td valign=bottom><a class="el" href="classSAXParser.html#z463_10">getValidator</a> () const</td></tr>
|
---|
107 | <tr><td> </td><td><font size=-1><em>This method returns a reference to the parser's installed validator.</em> <a href="#z463_10">More...</a><em></em></font><br><br></td></tr>
|
---|
108 | <tr><td nowrap align=right valign=top><a class="el" href="classSAXParser.html#s3">ValSchemes</a> </td><td valign=bottom><a class="el" href="classSAXParser.html#z463_11">getValidationScheme</a> () const</td></tr>
|
---|
109 | <tr><td> </td><td><font size=-1><em>This method returns an enumerated value that indicates the current validation scheme set on this parser.</em> <a href="#z463_11">More...</a><em></em></font><br><br></td></tr>
|
---|
110 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classSAXParser.html#z463_12">getDoSchema</a> () const</td></tr>
|
---|
111 | <tr><td> </td><td><font size=-1><em>Get the 'do schema' flag.</em> <a href="#z463_12">More...</a><em></em></font><br><br></td></tr>
|
---|
112 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classSAXParser.html#z463_13">getValidationSchemaFullChecking</a> () const</td></tr>
|
---|
113 | <tr><td> </td><td><font size=-1><em>Get the 'full schema constraint checking' flag.</em> <a href="#z463_13">More...</a><em></em></font><br><br></td></tr>
|
---|
114 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classSAXParser.html#z463_14">getIdentityConstraintChecking</a> () const</td></tr>
|
---|
115 | <tr><td> </td><td><font size=-1><em>Get the 'identity constraint checking' flag.</em> <a href="#z463_14">More...</a><em></em></font><br><br></td></tr>
|
---|
116 | <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classSAXParser.html#z463_15">getErrorCount</a> () const</td></tr>
|
---|
117 | <tr><td> </td><td><font size=-1><em>Get error count from the last parse operation.</em> <a href="#z463_15">More...</a><em></em></font><br><br></td></tr>
|
---|
118 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classSAXParser.html#z463_16">getDoNamespaces</a> () const</td></tr>
|
---|
119 | <tr><td> </td><td><font size=-1><em>This method returns the state of the parser's namespace handling capability.</em> <a href="#z463_16">More...</a><em></em></font><br><br></td></tr>
|
---|
120 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classSAXParser.html#z463_17">getExitOnFirstFatalError</a> () const</td></tr>
|
---|
121 | <tr><td> </td><td><font size=-1><em>This method returns the state of the parser's exit-on-First-Fatal-Error flag.</em> <a href="#z463_17">More...</a><em></em></font><br><br></td></tr>
|
---|
122 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classSAXParser.html#z463_18">getValidationConstraintFatal</a> () const</td></tr>
|
---|
123 | <tr><td> </td><td><font size=-1><em>This method returns the state of the parser's validation-constraint-fatal flag.</em> <a href="#z463_18">More...</a><em></em></font><br><br></td></tr>
|
---|
124 | <tr><td nowrap align=right valign=top>XMLCh * </td><td valign=bottom><a class="el" href="classSAXParser.html#z463_19">getExternalSchemaLocation</a> () const</td></tr>
|
---|
125 | <tr><td> </td><td><font size=-1><em>Get the set of Namespace/SchemaLocation that is specified externaly.</em> <a href="#z463_19">More...</a><em></em></font><br><br></td></tr>
|
---|
126 | <tr><td nowrap align=right valign=top>XMLCh * </td><td valign=bottom><a class="el" href="classSAXParser.html#z463_20">getExternalNoNamespaceSchemaLocation</a> () const</td></tr>
|
---|
127 | <tr><td> </td><td><font size=-1><em>Get the noNamespace SchemaLocation that is specified externaly.</em> <a href="#z463_20">More...</a><em></em></font><br><br></td></tr>
|
---|
128 | <tr><td nowrap align=right valign=top><a class="el" href="classSecurityManager.html">SecurityManager</a> * </td><td valign=bottom><a class="el" href="classSAXParser.html#z463_21">getSecurityManager</a> () const</td></tr>
|
---|
129 | <tr><td> </td><td><font size=-1><em>Get the <a class="el" href="classSecurityManager.html">SecurityManager</a> instance attached to this parser.</em> <a href="#z463_21">More...</a><em></em></font><br><br></td></tr>
|
---|
130 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classSAXParser.html#z463_22">getLoadExternalDTD</a> () const</td></tr>
|
---|
131 | <tr><td> </td><td><font size=-1><em>Get the 'Loading External DTD' flag.</em> <a href="#z463_22">More...</a><em></em></font><br><br></td></tr>
|
---|
132 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classSAXParser.html#z463_23">isCachingGrammarFromParse</a> () const</td></tr>
|
---|
133 | <tr><td> </td><td><font size=-1><em>Get the 'Grammar caching' flag.</em> <a href="#z463_23">More...</a><em></em></font><br><br></td></tr>
|
---|
134 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classSAXParser.html#z463_24">isUsingCachedGrammarInParse</a> () const</td></tr>
|
---|
135 | <tr><td> </td><td><font size=-1><em>Get the 'Use cached grammar' flag.</em> <a href="#z463_24">More...</a><em></em></font><br><br></td></tr>
|
---|
136 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classSAXParser.html#z463_25">getCalculateSrcOfs</a> () const</td></tr>
|
---|
137 | <tr><td> </td><td><font size=-1><em>Get the 'calculate src offset flag'.</em> <a href="#z463_25">More...</a><em></em></font><br><br></td></tr>
|
---|
138 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classSAXParser.html#z463_26">getStandardUriConformant</a> () const</td></tr>
|
---|
139 | <tr><td> </td><td><font size=-1><em>Get the 'force standard uri flag'.</em> <a href="#z463_26">More...</a><em></em></font><br><br></td></tr>
|
---|
140 | <tr><td nowrap align=right valign=top><a class="el" href="XSModel_8hpp.html#a1">Grammar</a> * </td><td valign=bottom><a class="el" href="classSAXParser.html#z463_27">getGrammar</a> (const XMLCh *const nameSpaceKey)</td></tr>
|
---|
141 | <tr><td> </td><td><font size=-1><em>Retrieve the grammar that is associated with the specified namespace key.</em> <a href="#z463_27">More...</a><em></em></font><br><br></td></tr>
|
---|
142 | <tr><td nowrap align=right valign=top><a class="el" href="XSModel_8hpp.html#a1">Grammar</a> * </td><td valign=bottom><a class="el" href="classSAXParser.html#z463_28">getRootGrammar</a> ()</td></tr>
|
---|
143 | <tr><td> </td><td><font size=-1><em>Retrieve the grammar where the root element is declared.</em> <a href="#z463_28">More...</a><em></em></font><br><br></td></tr>
|
---|
144 | <tr><td nowrap align=right valign=top>const XMLCh * </td><td valign=bottom><a class="el" href="classSAXParser.html#z463_29">getURIText</a> (unsigned int uriId) const</td></tr>
|
---|
145 | <tr><td> </td><td><font size=-1><em>Returns the string corresponding to a URI id from the URI string pool.</em> <a href="#z463_29">More...</a><em></em></font><br><br></td></tr>
|
---|
146 | <tr><td nowrap align=right valign=top>unsigned int </td><td valign=bottom><a class="el" href="classSAXParser.html#z463_30">getSrcOffset</a> () const</td></tr>
|
---|
147 | <tr><td> </td><td><font size=-1><em>Returns the current src offset within the input source.</em> <a href="#z463_30">More...</a><em></em></font><br><br></td></tr>
|
---|
148 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classSAXParser.html#z463_31">getGenerateSyntheticAnnotations</a> () const</td></tr>
|
---|
149 | <tr><td> </td><td><font size=-1><em>Get the 'generate synthetic annotations' flag.</em> <a href="#z463_31">More...</a><em></em></font><br><br></td></tr>
|
---|
150 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classSAXParser.html#z463_32">getValidateAnnotations</a> () const</td></tr>
|
---|
151 | <tr><td> </td><td><font size=-1><em>Get the 'validate annotations' flag.</em> <a href="#z463_32">More...</a><em></em></font><br><br></td></tr>
|
---|
152 | <tr><td colspan="2"><div class="groupHeader">Setter methods</div></td></tr>
|
---|
153 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classSAXParser.html#z464_0">setGenerateSyntheticAnnotations</a> (const bool newValue)</td></tr>
|
---|
154 | <tr><td> </td><td><font size=-1><em>set the 'generate synthetic annotations' flag.</em> <a href="#z464_0">More...</a><em></em></font><br><br></td></tr>
|
---|
155 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classSAXParser.html#z464_1">setValidateAnnotations</a> (const bool newValue)</td></tr>
|
---|
156 | <tr><td> </td><td><font size=-1><em>set the 'validate annotations' flag.</em> <a href="#z464_1">More...</a><em></em></font><br><br></td></tr>
|
---|
157 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classSAXParser.html#z464_2">setDoNamespaces</a> (const bool newState)</td></tr>
|
---|
158 | <tr><td> </td><td><font size=-1><em>This method allows users to enable or disable the parser's namespace processing.</em> <a href="#z464_2">More...</a><em></em></font><br><br></td></tr>
|
---|
159 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classSAXParser.html#z464_3">setValidationScheme</a> (const <a class="el" href="classSAXParser.html#s3">ValSchemes</a> newScheme)</td></tr>
|
---|
160 | <tr><td> </td><td><font size=-1><em>This method allows users to set the validation scheme to be used by this parser.</em> <a href="#z464_3">More...</a><em></em></font><br><br></td></tr>
|
---|
161 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classSAXParser.html#z464_4">setDoSchema</a> (const bool newState)</td></tr>
|
---|
162 | <tr><td> </td><td><font size=-1><em>Set the 'schema support' flag.</em> <a href="#z464_4">More...</a><em></em></font><br><br></td></tr>
|
---|
163 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classSAXParser.html#z464_5">setValidationSchemaFullChecking</a> (const bool schemaFullChecking)</td></tr>
|
---|
164 | <tr><td> </td><td><font size=-1><em>This method allows the user to turn full Schema constraint checking on/off.</em> <a href="#z464_5">More...</a><em></em></font><br><br></td></tr>
|
---|
165 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classSAXParser.html#z464_6">setIdentityConstraintChecking</a> (const bool identityConstraintChecking)</td></tr>
|
---|
166 | <tr><td> </td><td><font size=-1><em>This method allows the user to turn identity constraint checking on/off.</em> <a href="#z464_6">More...</a><em></em></font><br><br></td></tr>
|
---|
167 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classSAXParser.html#z464_7">setExitOnFirstFatalError</a> (const bool newState)</td></tr>
|
---|
168 | <tr><td> </td><td><font size=-1><em>This method allows users to set the parser's behaviour when it encounters the first fatal error.</em> <a href="#z464_7">More...</a><em></em></font><br><br></td></tr>
|
---|
169 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classSAXParser.html#z464_8">setValidationConstraintFatal</a> (const bool newState)</td></tr>
|
---|
170 | <tr><td> </td><td><font size=-1><em>This method allows users to set the parser's behaviour when it encounters a validtion constraint error.</em> <a href="#z464_8">More...</a><em></em></font><br><br></td></tr>
|
---|
171 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classSAXParser.html#z464_9">setExternalSchemaLocation</a> (const XMLCh *const schemaLocation)</td></tr>
|
---|
172 | <tr><td> </td><td><font size=-1><em>This method allows the user to specify a list of schemas to use.</em> <a href="#z464_9">More...</a><em></em></font><br><br></td></tr>
|
---|
173 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classSAXParser.html#z464_10">setExternalSchemaLocation</a> (const char *const schemaLocation)</td></tr>
|
---|
174 | <tr><td> </td><td><font size=-1><em>This method is same as <a class="el" href="classSAXParser.html#z464_9">setExternalSchemaLocation</a>(const XMLCh* const).</em> <a href="#z464_10">More...</a><em></em></font><br><br></td></tr>
|
---|
175 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classSAXParser.html#z464_11">setExternalNoNamespaceSchemaLocation</a> (const XMLCh *const noNamespaceSchemaLocation)</td></tr>
|
---|
176 | <tr><td> </td><td><font size=-1><em>This method allows the user to specify the no target namespace XML Schema Location externally.</em> <a href="#z464_11">More...</a><em></em></font><br><br></td></tr>
|
---|
177 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classSAXParser.html#z464_12">setExternalNoNamespaceSchemaLocation</a> (const char *const noNamespaceSchemaLocation)</td></tr>
|
---|
178 | <tr><td> </td><td><font size=-1><em>This method is same as <a class="el" href="classSAXParser.html#z464_11">setExternalNoNamespaceSchemaLocation</a>(const XMLCh* const).</em> <a href="#z464_12">More...</a><em></em></font><br><br></td></tr>
|
---|
179 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classSAXParser.html#z464_13">setSecurityManager</a> (<a class="el" href="classSecurityManager.html">SecurityManager</a> *const securityManager)</td></tr>
|
---|
180 | <tr><td> </td><td><font size=-1><em>This allows an application to set a <a class="el" href="classSecurityManager.html">SecurityManager</a> on the parser; this object stores information that various components use to limit their consumption of system resources while processing documents.</em> <a href="#z464_13">More...</a><em></em></font><br><br></td></tr>
|
---|
181 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classSAXParser.html#z464_14">setLoadExternalDTD</a> (const bool newState)</td></tr>
|
---|
182 | <tr><td> </td><td><font size=-1><em>Set the 'Loading External DTD' flag.</em> <a href="#z464_14">More...</a><em></em></font><br><br></td></tr>
|
---|
183 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classSAXParser.html#z464_15">cacheGrammarFromParse</a> (const bool newState)</td></tr>
|
---|
184 | <tr><td> </td><td><font size=-1><em>Set the 'Grammar caching' flag.</em> <a href="#z464_15">More...</a><em></em></font><br><br></td></tr>
|
---|
185 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classSAXParser.html#z464_16">useCachedGrammarInParse</a> (const bool newState)</td></tr>
|
---|
186 | <tr><td> </td><td><font size=-1><em>Set the 'Use cached grammar' flag.</em> <a href="#z464_16">More...</a><em></em></font><br><br></td></tr>
|
---|
187 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classSAXParser.html#z464_17">setCalculateSrcOfs</a> (const bool newState)</td></tr>
|
---|
188 | <tr><td> </td><td><font size=-1><em>Enable/disable src offset calculation.</em> <a href="#z464_17">More...</a><em></em></font><br><br></td></tr>
|
---|
189 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classSAXParser.html#z464_18">setStandardUriConformant</a> (const bool newState)</td></tr>
|
---|
190 | <tr><td> </td><td><font size=-1><em>Force standard uri.</em> <a href="#z464_18">More...</a><em></em></font><br><br></td></tr>
|
---|
191 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classSAXParser.html#z464_19">useScanner</a> (const XMLCh *const scannerName)</td></tr>
|
---|
192 | <tr><td> </td><td><font size=-1><em>Set the scanner to use when scanning the XML document.</em> <a href="#z464_19">More...</a><em></em></font><br><br></td></tr>
|
---|
193 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classSAXParser.html#z464_20">setInputBufferSize</a> (const size_t bufferSize)</td></tr>
|
---|
194 | <tr><td> </td><td><font size=-1><em>Set maximum input buffer size.</em> <a href="#z464_20">More...</a><em></em></font><br><br></td></tr>
|
---|
195 | <tr><td colspan="2"><div class="groupHeader">Advanced document handler list maintenance methods</div></td></tr>
|
---|
196 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classSAXParser.html#z465_0">installAdvDocHandler</a> (<a class="el" href="classXMLDocumentHandler.html">XMLDocumentHandler</a> *const toInstall)</td></tr>
|
---|
197 | <tr><td> </td><td><font size=-1><em>This method installs the specified 'advanced' document callback handler, thereby allowing the user to customize the processing, if they choose to do so.</em> <a href="#z465_0">More...</a><em></em></font><br><br></td></tr>
|
---|
198 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classSAXParser.html#z465_1">removeAdvDocHandler</a> (<a class="el" href="classXMLDocumentHandler.html">XMLDocumentHandler</a> *const toRemove)</td></tr>
|
---|
199 | <tr><td> </td><td><font size=-1><em>This method removes the 'advanced' document handler callback from the underlying parser scanner.</em> <a href="#z465_1">More...</a><em></em></font><br><br></td></tr>
|
---|
200 | <tr><td colspan="2"><div class="groupHeader">Progressive scan methods</div></td></tr>
|
---|
201 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classSAXParser.html#z466_0">parseFirst</a> (const XMLCh *const systemId, <a class="el" href="AbstractDOMParser_8hpp.html#a1">XMLPScanToken</a> &toFill)</td></tr>
|
---|
202 | <tr><td> </td><td><font size=-1><em>Begin a progressive parse operation.</em> <a href="#z466_0">More...</a><em></em></font><br><br></td></tr>
|
---|
203 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classSAXParser.html#z466_1">parseFirst</a> (const char *const systemId, <a class="el" href="AbstractDOMParser_8hpp.html#a1">XMLPScanToken</a> &toFill)</td></tr>
|
---|
204 | <tr><td> </td><td><font size=-1><em>Begin a progressive parse operation.</em> <a href="#z466_1">More...</a><em></em></font><br><br></td></tr>
|
---|
205 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classSAXParser.html#z466_2">parseFirst</a> (const <a class="el" href="classInputSource.html">InputSource</a> &source, <a class="el" href="AbstractDOMParser_8hpp.html#a1">XMLPScanToken</a> &toFill)</td></tr>
|
---|
206 | <tr><td> </td><td><font size=-1><em>Begin a progressive parse operation.</em> <a href="#z466_2">More...</a><em></em></font><br><br></td></tr>
|
---|
207 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classSAXParser.html#z466_3">parseNext</a> (<a class="el" href="AbstractDOMParser_8hpp.html#a1">XMLPScanToken</a> &token)</td></tr>
|
---|
208 | <tr><td> </td><td><font size=-1><em>Continue a progressive parse operation.</em> <a href="#z466_3">More...</a><em></em></font><br><br></td></tr>
|
---|
209 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classSAXParser.html#z466_4">parseReset</a> (<a class="el" href="AbstractDOMParser_8hpp.html#a1">XMLPScanToken</a> &token)</td></tr>
|
---|
210 | <tr><td> </td><td><font size=-1><em>Reset the parser after a progressive parse.</em> <a href="#z466_4">More...</a><em></em></font><br><br></td></tr>
|
---|
211 | <tr><td colspan="2"><div class="groupHeader">Implementation of Grammar preparsing interface's.</div></td></tr>
|
---|
212 | <tr><td nowrap align=right valign=top><a class="el" href="XSModel_8hpp.html#a1">Grammar</a> * </td><td valign=bottom><a class="el" href="classSAXParser.html#z467_0">loadGrammar</a> (const <a class="el" href="classInputSource.html">InputSource</a> &source, const short grammarType, const bool toCache=false)</td></tr>
|
---|
213 | <tr><td> </td><td><font size=-1><em>Preparse schema grammar (XML Schema, DTD, etc.) via an input source object.</em> <a href="#z467_0">More...</a><em></em></font><br><br></td></tr>
|
---|
214 | <tr><td nowrap align=right valign=top><a class="el" href="XSModel_8hpp.html#a1">Grammar</a> * </td><td valign=bottom><a class="el" href="classSAXParser.html#z467_1">loadGrammar</a> (const XMLCh *const systemId, const short grammarType, const bool toCache=false)</td></tr>
|
---|
215 | <tr><td> </td><td><font size=-1><em>Preparse schema grammar (XML Schema, DTD, etc.) via a file path or URL.</em> <a href="#z467_1">More...</a><em></em></font><br><br></td></tr>
|
---|
216 | <tr><td nowrap align=right valign=top><a class="el" href="XSModel_8hpp.html#a1">Grammar</a> * </td><td valign=bottom><a class="el" href="classSAXParser.html#z467_2">loadGrammar</a> (const char *const systemId, const short grammarType, const bool toCache=false)</td></tr>
|
---|
217 | <tr><td> </td><td><font size=-1><em>Preparse schema grammar (XML Schema, DTD, etc.) via a file path or URL.</em> <a href="#z467_2">More...</a><em></em></font><br><br></td></tr>
|
---|
218 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classSAXParser.html#z467_3">resetCachedGrammarPool</a> ()</td></tr>
|
---|
219 | <tr><td> </td><td><font size=-1><em>This method allows the user to reset the pool of cached grammars.</em> <a href="#z467_3">More...</a><em></em></font><br><br></td></tr>
|
---|
220 | <tr><td colspan="2"><div class="groupHeader">Implementation of SAX 1.0 Parser interface's.</div></td></tr>
|
---|
221 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classSAXParser.html#z468_0">parse</a> (const <a class="el" href="classInputSource.html">InputSource</a> &source)</td></tr>
|
---|
222 | <tr><td> </td><td><font size=-1><em>This method invokes the parsing process on the XML file specified by the <a class="el" href="classInputSource.html">InputSource</a> parameter.</em> <a href="#z468_0">More...</a><em></em></font><br><br></td></tr>
|
---|
223 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classSAXParser.html#z468_1">parse</a> (const XMLCh *const systemId)</td></tr>
|
---|
224 | <tr><td> </td><td><font size=-1><em>This method invokes the parsing process on the XML file specified by the Unicode string parameter 'systemId'.</em> <a href="#z468_1">More...</a><em></em></font><br><br></td></tr>
|
---|
225 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classSAXParser.html#z468_2">parse</a> (const char *const systemId)</td></tr>
|
---|
226 | <tr><td> </td><td><font size=-1><em>This method invokes the parsing process on the XML file specified by the native char* string parameter 'systemId'.</em> <a href="#z468_2">More...</a><em></em></font><br><br></td></tr>
|
---|
227 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classSAXParser.html#z468_3">setDocumentHandler</a> (<a class="el" href="classDocumentHandler.html">DocumentHandler</a> *const handler)</td></tr>
|
---|
228 | <tr><td> </td><td><font size=-1><em>This method installs the user specified SAX Document Handler callback function on parser.</em> <a href="#z468_3">More...</a><em></em></font><br><br></td></tr>
|
---|
229 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classSAXParser.html#z468_4">setDTDHandler</a> (<a class="el" href="classDTDHandler.html">DTDHandler</a> *const handler)</td></tr>
|
---|
230 | <tr><td> </td><td><font size=-1><em>This method installs the user specified DTD handler on the parser.</em> <a href="#z468_4">More...</a><em></em></font><br><br></td></tr>
|
---|
231 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classSAXParser.html#z468_5">setErrorHandler</a> (<a class="el" href="classErrorHandler.html">ErrorHandler</a> *const handler)</td></tr>
|
---|
232 | <tr><td> </td><td><font size=-1><em>This method installs the user specified error handler on the parser.</em> <a href="#z468_5">More...</a><em></em></font><br><br></td></tr>
|
---|
233 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classSAXParser.html#z468_6">setPSVIHandler</a> (<a class="el" href="classPSVIHandler.html">PSVIHandler</a> *const handler)</td></tr>
|
---|
234 | <tr><td> </td><td><font size=-1><em>This method installs the user specified PSVI handler on the parser.</em> <a href="#z468_6">More...</a><em></em></font><br><br></td></tr>
|
---|
235 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classSAXParser.html#z468_7">setEntityResolver</a> (<a class="el" href="classEntityResolver.html">EntityResolver</a> *const resolver)</td></tr>
|
---|
236 | <tr><td> </td><td><font size=-1><em>This method installs the user specified entity resolver on the parser.</em> <a href="#z468_7">More...</a><em></em></font><br><br></td></tr>
|
---|
237 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classSAXParser.html#z468_8">setXMLEntityResolver</a> (<a class="el" href="classXMLEntityResolver.html">XMLEntityResolver</a> *const resolver)</td></tr>
|
---|
238 | <tr><td> </td><td><font size=-1><em>This method installs the user specified entity resolver on the parser.</em> <a href="#z468_8">More...</a><em></em></font><br><br></td></tr>
|
---|
239 | <tr><td colspan="2"><div class="groupHeader">Implementation of the XMLDocumentHandler Interface.</div></td></tr>
|
---|
240 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classSAXParser.html#z469_0">docCharacters</a> (const XMLCh *const chars, const unsigned int length, const bool cdataSection)</td></tr>
|
---|
241 | <tr><td> </td><td><font size=-1><em>This method is used to report all the characters scanned by the parser.</em> <a href="#z469_0">More...</a><em></em></font><br><br></td></tr>
|
---|
242 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classSAXParser.html#z469_1">docComment</a> (const XMLCh *const comment)</td></tr>
|
---|
243 | <tr><td> </td><td><font size=-1><em>This method is used to report any comments scanned by the parser.</em> <a href="#z469_1">More...</a><em></em></font><br><br></td></tr>
|
---|
244 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classSAXParser.html#z469_2">docPI</a> (const XMLCh *const target, const XMLCh *const data)</td></tr>
|
---|
245 | <tr><td> </td><td><font size=-1><em>This method is used to report any PI scanned by the parser.</em> <a href="#z469_2">More...</a><em></em></font><br><br></td></tr>
|
---|
246 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classSAXParser.html#z469_3">endDocument</a> ()</td></tr>
|
---|
247 | <tr><td> </td><td><font size=-1><em>This method is used to indicate the end of root element was just scanned by the parser.</em> <a href="#z469_3">More...</a><em></em></font><br><br></td></tr>
|
---|
248 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classSAXParser.html#z469_4">endElement</a> (const <a class="el" href="classXMLElementDecl.html">XMLElementDecl</a> &elemDecl, const unsigned int urlId, const bool isRoot, const XMLCh *const elemPrefix)</td></tr>
|
---|
249 | <tr><td> </td><td><font size=-1><em>This method is used to indicate the end tag of an element.</em> <a href="#z469_4">More...</a><em></em></font><br><br></td></tr>
|
---|
250 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classSAXParser.html#z469_5">endEntityReference</a> (const <a class="el" href="classXMLEntityDecl.html">XMLEntityDecl</a> &entDecl)</td></tr>
|
---|
251 | <tr><td> </td><td><font size=-1><em>This method is used to indicate that an end of an entity reference was just scanned.</em> <a href="#z469_5">More...</a><em></em></font><br><br></td></tr>
|
---|
252 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classSAXParser.html#z469_6">ignorableWhitespace</a> (const XMLCh *const chars, const unsigned int length, const bool cdataSection)</td></tr>
|
---|
253 | <tr><td> </td><td><font size=-1><em>This method is used to report all the whitespace characters, which are determined to be 'ignorable'.</em> <a href="#z469_6">More...</a><em></em></font><br><br></td></tr>
|
---|
254 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classSAXParser.html#z469_7">resetDocument</a> ()</td></tr>
|
---|
255 | <tr><td> </td><td><font size=-1><em>This method allows the user installed Document Handler and any advanced callback handlers to 'reset' themselves.</em> <a href="#z469_7">More...</a><em></em></font><br><br></td></tr>
|
---|
256 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classSAXParser.html#z469_8">startDocument</a> ()</td></tr>
|
---|
257 | <tr><td> </td><td><font size=-1><em>This method is used to report the start of the parsing process.</em> <a href="#z469_8">More...</a><em></em></font><br><br></td></tr>
|
---|
258 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classSAXParser.html#z469_9">startElement</a> (const <a class="el" href="classXMLElementDecl.html">XMLElementDecl</a> &elemDecl, const unsigned int urlId, const XMLCh *const elemPrefix, const RefVectorOf< <a class="el" href="classXMLAttr.html">XMLAttr</a> > &attrList, const unsigned int attrCount, const bool isEmpty, const bool isRoot)</td></tr>
|
---|
259 | <tr><td> </td><td><font size=-1><em>This method is used to report the start of an element.</em> <a href="#z469_9">More...</a><em></em></font><br><br></td></tr>
|
---|
260 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classSAXParser.html#z469_10">startEntityReference</a> (const <a class="el" href="classXMLEntityDecl.html">XMLEntityDecl</a> &entDecl)</td></tr>
|
---|
261 | <tr><td> </td><td><font size=-1><em>This method is used to indicate the start of an entity reference.</em> <a href="#z469_10">More...</a><em></em></font><br><br></td></tr>
|
---|
262 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classSAXParser.html#z469_11">XMLDecl</a> (const XMLCh *const versionStr, const XMLCh *const encodingStr, const XMLCh *const standaloneStr, const XMLCh *const actualEncodingStr)</td></tr>
|
---|
263 | <tr><td> </td><td><font size=-1><em>This method is used to report the XML decl scanned by the parser.</em> <a href="#z469_11">More...</a><em></em></font><br><br></td></tr>
|
---|
264 | <tr><td colspan="2"><div class="groupHeader">Implementation of the XMLErrorReporter Interface.</div></td></tr>
|
---|
265 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classSAXParser.html#z470_0">error</a> (const unsigned int errCode, const XMLCh *const msgDomain, const <a class="el" href="classXMLErrorReporter.html#s4">XMLErrorReporter::ErrTypes</a> errType, const XMLCh *const errorText, const XMLCh *const systemId, const XMLCh *const publicId, const XMLSSize_t lineNum, const XMLSSize_t colNum)</td></tr>
|
---|
266 | <tr><td> </td><td><font size=-1><em>This method is used to report back errors found while parsing the XML file.</em> <a href="#z470_0">More...</a><em></em></font><br><br></td></tr>
|
---|
267 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classSAXParser.html#z470_1">resetErrors</a> ()</td></tr>
|
---|
268 | <tr><td> </td><td><font size=-1><em>This method allows the user installed Error Handler callback to 'reset' itself.</em> <a href="#z470_1">More...</a><em></em></font><br><br></td></tr>
|
---|
269 | <tr><td colspan="2"><div class="groupHeader">Implementation of the XMLEntityHandler Interface.</div></td></tr>
|
---|
270 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classSAXParser.html#z471_0">endInputSource</a> (const <a class="el" href="classInputSource.html">InputSource</a> &inputSource)</td></tr>
|
---|
271 | <tr><td> </td><td><font size=-1><em>This method is used to indicate the end of parsing of an external entity file.</em> <a href="#z471_0">More...</a><em></em></font><br><br></td></tr>
|
---|
272 | <tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classSAXParser.html#z471_1">expandSystemId</a> (const XMLCh *const systemId, XMLBuffer &toFill)</td></tr>
|
---|
273 | <tr><td> </td><td><font size=-1><em>This method allows an installed <a class="el" href="classXMLEntityHandler.html">XMLEntityHandler</a> to further process any system id's of enternal entities encountered in the XML file being parsed, such as redirection etc.</em> <a href="#z471_1">More...</a><em></em></font><br><br></td></tr>
|
---|
274 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classSAXParser.html#z471_2">resetEntities</a> ()</td></tr>
|
---|
275 | <tr><td> </td><td><font size=-1><em>This method allows the installed <a class="el" href="classXMLEntityHandler.html">XMLEntityHandler</a> to reset itself.</em> <a href="#z471_2">More...</a><em></em></font><br><br></td></tr>
|
---|
276 | <tr><td nowrap align=right valign=top>virtual <a class="el" href="classInputSource.html">InputSource</a> * </td><td valign=bottom><a class="el" href="classSAXParser.html#z471_3">resolveEntity</a> (const XMLCh *const publicId, const XMLCh *const systemId, const XMLCh *const baseURI=0)</td></tr>
|
---|
277 | <tr><td> </td><td><font size=-1><em>This method allows a user installed entity handler to further process any pointers to external entities.</em> <a href="#z471_3">More...</a><em></em></font><br><br></td></tr>
|
---|
278 | <tr><td nowrap align=right valign=top>virtual <a class="el" href="classInputSource.html">InputSource</a> * </td><td valign=bottom><a class="el" href="classSAXParser.html#z471_4">resolveEntity</a> (<a class="el" href="classXMLResourceIdentifier.html">XMLResourceIdentifier</a> *resourceIdentifier)</td></tr>
|
---|
279 | <tr><td> </td><td><font size=-1><em>Resolve a public/system id.</em> <a href="#z471_4">More...</a><em></em></font><br><br></td></tr>
|
---|
280 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classSAXParser.html#z471_5">startInputSource</a> (const <a class="el" href="classInputSource.html">InputSource</a> &inputSource)</td></tr>
|
---|
281 | <tr><td> </td><td><font size=-1><em>This method is used to indicate the start of parsing an external entity file.</em> <a href="#z471_5">More...</a><em></em></font><br><br></td></tr>
|
---|
282 | <tr><td colspan="2"><div class="groupHeader">Implementation of the deprecated DocTypeHandler Interface</div></td></tr>
|
---|
283 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classSAXParser.html#z472_0">attDef</a> (const DTDElementDecl &elemDecl, const DTDAttDef &attDef, const bool ignore)</td></tr>
|
---|
284 | <tr><td> </td><td><font size=-1><em>This method is used to report an attribute definition.</em> <a href="#z472_0">More...</a><em></em></font><br><br></td></tr>
|
---|
285 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classSAXParser.html#z472_1">doctypeComment</a> (const XMLCh *const comment)</td></tr>
|
---|
286 | <tr><td> </td><td><font size=-1><em>This method is used to report a comment occurring within the DTD.</em> <a href="#z472_1">More...</a><em></em></font><br><br></td></tr>
|
---|
287 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classSAXParser.html#z472_2">doctypeDecl</a> (const DTDElementDecl &elemDecl, const XMLCh *const publicId, const XMLCh *const systemId, const bool hasIntSubset, const bool hasExtSubset=false)</td></tr>
|
---|
288 | <tr><td> </td><td><font size=-1><em>This method is used to report the DOCTYPE declaration.</em> <a href="#z472_2">More...</a><em></em></font><br><br></td></tr>
|
---|
289 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classSAXParser.html#z472_3">doctypePI</a> (const XMLCh *const target, const XMLCh *const data)</td></tr>
|
---|
290 | <tr><td> </td><td><font size=-1><em>This method is used to report any PI declarations occurring inside the DTD definition block.</em> <a href="#z472_3">More...</a><em></em></font><br><br></td></tr>
|
---|
291 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classSAXParser.html#z472_4">doctypeWhitespace</a> (const XMLCh *const chars, const unsigned int length)</td></tr>
|
---|
292 | <tr><td> </td><td><font size=-1><em>This method is used to report any whitespaces occurring inside the DTD definition block.</em> <a href="#z472_4">More...</a><em></em></font><br><br></td></tr>
|
---|
293 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classSAXParser.html#z472_5">elementDecl</a> (const DTDElementDecl &decl, const bool isIgnored)</td></tr>
|
---|
294 | <tr><td> </td><td><font size=-1><em>This method is used to report an element declarations successfully scanned by the parser.</em> <a href="#z472_5">More...</a><em></em></font><br><br></td></tr>
|
---|
295 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classSAXParser.html#z472_6">endAttList</a> (const DTDElementDecl &elemDecl)</td></tr>
|
---|
296 | <tr><td> </td><td><font size=-1><em>This method is used to report the end of an attribute list declaration for an element.</em> <a href="#z472_6">More...</a><em></em></font><br><br></td></tr>
|
---|
297 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classSAXParser.html#z472_7">endIntSubset</a> ()</td></tr>
|
---|
298 | <tr><td> </td><td><font size=-1><em>This method is used to report the end of the internal subset.</em> <a href="#z472_7">More...</a><em></em></font><br><br></td></tr>
|
---|
299 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classSAXParser.html#z472_8">endExtSubset</a> ()</td></tr>
|
---|
300 | <tr><td> </td><td><font size=-1><em>This method is used to report the end of the external subset.</em> <a href="#z472_8">More...</a><em></em></font><br><br></td></tr>
|
---|
301 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classSAXParser.html#z472_9">entityDecl</a> (const DTDEntityDecl &entityDecl, const bool isPEDecl, const bool isIgnored)</td></tr>
|
---|
302 | <tr><td> </td><td><font size=-1><em>This method is used to report any entity declarations.</em> <a href="#z472_9">More...</a><em></em></font><br><br></td></tr>
|
---|
303 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classSAXParser.html#z472_10">resetDocType</a> ()</td></tr>
|
---|
304 | <tr><td> </td><td><font size=-1><em>This method allows the user installed DTD handler to reset itself.</em> <a href="#z472_10">More...</a><em></em></font><br><br></td></tr>
|
---|
305 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classSAXParser.html#z472_11">notationDecl</a> (const <a class="el" href="classXMLNotationDecl.html">XMLNotationDecl</a> &notDecl, const bool isIgnored)</td></tr>
|
---|
306 | <tr><td> </td><td><font size=-1><em>This method is used to report any notation declarations.</em> <a href="#z472_11">More...</a><em></em></font><br><br></td></tr>
|
---|
307 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classSAXParser.html#z472_12">startAttList</a> (const DTDElementDecl &elemDecl)</td></tr>
|
---|
308 | <tr><td> </td><td><font size=-1><em>This method is used to indicate the start of an element's attribute list declaration.</em> <a href="#z472_12">More...</a><em></em></font><br><br></td></tr>
|
---|
309 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classSAXParser.html#z472_13">startIntSubset</a> ()</td></tr>
|
---|
310 | <tr><td> </td><td><font size=-1><em>This method is used indicate the start of the internal subset.</em> <a href="#z472_13">More...</a><em></em></font><br><br></td></tr>
|
---|
311 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classSAXParser.html#z472_14">startExtSubset</a> ()</td></tr>
|
---|
312 | <tr><td> </td><td><font size=-1><em>This method is used indicate the start of the external subset.</em> <a href="#z472_14">More...</a><em></em></font><br><br></td></tr>
|
---|
313 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classSAXParser.html#z472_15">TextDecl</a> (const XMLCh *const versionStr, const XMLCh *const encodingStr)</td></tr>
|
---|
314 | <tr><td> </td><td><font size=-1><em>This method is used to report the TextDecl.</em> <a href="#z472_15">More...</a><em></em></font><br><br></td></tr>
|
---|
315 | <tr><td colspan="2"><div class="groupHeader">Deprecated Methods</div></td></tr>
|
---|
316 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classSAXParser.html#z473_0">getDoValidation</a> () const</td></tr>
|
---|
317 | <tr><td> </td><td><font size=-1><em>This method returns the state of the parser's validation handling flag which controls whether validation checks are enforced or not.</em> <a href="#z473_0">More...</a><em></em></font><br><br></td></tr>
|
---|
318 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classSAXParser.html#z473_1">setDoValidation</a> (const bool newState)</td></tr>
|
---|
319 | <tr><td> </td><td><font size=-1><em>This method allows users to enable or disable the parser's validation checks.</em> <a href="#z473_1">More...</a><em></em></font><br><br></td></tr>
|
---|
320 | <tr><td colspan=2><br><h2>Protected Methods</h2></td></tr>
|
---|
321 | <tr><td nowrap align=right valign=top>const XMLScanner & </td><td valign=bottom><a class="el" href="classSAXParser.html#b0">getScanner</a> () const</td></tr>
|
---|
322 | <tr><td> </td><td><font size=-1><em>This method returns a reference to the underlying scanner object.</em> <a href="#b0">More...</a><em></em></font><br><br></td></tr>
|
---|
323 | <tr><td nowrap align=right valign=top>GrammarResolver * </td><td valign=bottom><a class="el" href="classSAXParser.html#b1">getGrammarResolver</a> () const</td></tr>
|
---|
324 | <tr><td> </td><td><font size=-1><em>Get the Grammar resolver.</em> <a href="#b1">More...</a><em></em></font><br><br></td></tr>
|
---|
325 | </table>
|
---|
326 | <hr><a name="_details"></a><h2>Detailed Description</h2>
|
---|
327 | This class implements the SAX '<a class="el" href="classParser.html">Parser</a>' interface and should be used by applications wishing to parse the XML files using SAX.
|
---|
328 | <p>
|
---|
329 | It allows the client program to install SAX handlers for event callbacks.
|
---|
330 | <p>
|
---|
331 |
|
---|
332 | <p>
|
---|
333 | It can be used to instantiate a validating or non-validating parser, by setting a member flag.
|
---|
334 | <p>
|
---|
335 | <dl compact><dt><b>
|
---|
336 | Deprecated: </b><dd>
|
---|
337 | This interface has been replaced by the SAX2 interface, which includes Namespace support. See <a class="el" href="classSAX2XMLReader.html">SAX2XMLReader</a> for more information. </dl>
|
---|
338 | <p>
|
---|
339 | <hr><h2>Member Enumeration Documentation</h2>
|
---|
340 | <a name="s3" doxytag="SAXParser::ValSchemes"></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"> enum SAXParser::ValSchemes
|
---|
347 | </table>
|
---|
348 | </td>
|
---|
349 | </tr>
|
---|
350 | </table>
|
---|
351 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
352 | <tr>
|
---|
353 | <td>
|
---|
354 |
|
---|
355 | </td>
|
---|
356 | <td>
|
---|
357 |
|
---|
358 | <p>
|
---|
359 | ValScheme enum used in setValidationScheme Val_Never: Do not report validation errors.
|
---|
360 | <p>
|
---|
361 | Val_Always: The parser will always report validation errors. Val_Auto: The parser will report validation errors only if a grammar is specified.
|
---|
362 | <p>
|
---|
363 | <dl compact><dt><b>
|
---|
364 | See also: </b><dd>
|
---|
365 | <a class="el" href="classSAXParser.html#z464_3">setValidationScheme</a> </dl><dl compact><dt><b>
|
---|
366 | Enumeration values:</b><dd>
|
---|
367 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
368 | <tr><td valign=top><em><a name="s3s0" doxytag="Val_Never"></a><em>Val_Never</em></em> </td><td>
|
---|
369 | </td></tr>
|
---|
370 | <tr><td valign=top><em><a name="s3s1" doxytag="Val_Always"></a><em>Val_Always</em></em> </td><td>
|
---|
371 | </td></tr>
|
---|
372 | <tr><td valign=top><em><a name="s3s2" doxytag="Val_Auto"></a><em>Val_Auto</em></em> </td><td>
|
---|
373 | </td></tr>
|
---|
374 | </table>
|
---|
375 | </dl>
|
---|
376 | </td>
|
---|
377 | </tr>
|
---|
378 | </table>
|
---|
379 | <hr><h2>Constructor & Destructor Documentation</h2>
|
---|
380 | <a name="z462_0" doxytag="SAXParser::SAXParser"></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"> SAXParser::SAXParser </td>
|
---|
387 | <td class="md" valign="top">( </td>
|
---|
388 | <td class="md" nowrap valign="top"><a class="el" href="classXMLValidator.html">XMLValidator</a> *const </td>
|
---|
389 | <td class="mdname" nowrap> <em>valToAdopt</em> = 0, </td>
|
---|
390 | </tr>
|
---|
391 | <tr>
|
---|
392 | <td></td>
|
---|
393 | <td></td>
|
---|
394 | <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td>
|
---|
395 | <td class="mdname" nowrap> <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>, </td>
|
---|
396 | </tr>
|
---|
397 | <tr>
|
---|
398 | <td></td>
|
---|
399 | <td></td>
|
---|
400 | <td class="md" nowrap><a class="el" href="classXMLGrammarPool.html">XMLGrammarPool</a> *const </td>
|
---|
401 | <td class="mdname" nowrap> <em>gramPool</em> = 0</td>
|
---|
402 | </tr>
|
---|
403 | <tr>
|
---|
404 | <td></td>
|
---|
405 | <td class="md">) </td>
|
---|
406 | <td class="md" colspan="2"></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 | Constructor with an instance of validator class to use for validation.
|
---|
422 | <p>
|
---|
423 | <dl compact><dt><b>
|
---|
424 | Parameters: </b><dd>
|
---|
425 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
426 | <tr><td valign=top><em>valToAdopt</em> </td><td>
|
---|
427 | Pointer to the validator instance to use. The parser is responsible for freeing the memory. </td></tr>
|
---|
428 | <tr><td valign=top><em>manager</em> </td><td>
|
---|
429 | Pointer to the memory manager to be used to allocate objects. </td></tr>
|
---|
430 | <tr><td valign=top><em>gramPool</em> </td><td>
|
---|
431 | The collection of cached grammers. </td></tr>
|
---|
432 | </table>
|
---|
433 | </dl> </td>
|
---|
434 | </tr>
|
---|
435 | </table>
|
---|
436 | <a name="z462_1" doxytag="SAXParser::~SAXParser"></a><p>
|
---|
437 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
438 | <tr>
|
---|
439 | <td class="md">
|
---|
440 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
441 | <tr>
|
---|
442 | <td class="md" nowrap valign="top"> SAXParser::~SAXParser </td>
|
---|
443 | <td class="md" valign="top">( </td>
|
---|
444 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
445 | <td class="md" valign="top">) </td>
|
---|
446 | <td class="md" nowrap></td>
|
---|
447 | </tr>
|
---|
448 |
|
---|
449 | </table>
|
---|
450 | </td>
|
---|
451 | </tr>
|
---|
452 | </table>
|
---|
453 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
454 | <tr>
|
---|
455 | <td>
|
---|
456 |
|
---|
457 | </td>
|
---|
458 | <td>
|
---|
459 |
|
---|
460 | <p>
|
---|
461 | Destructor.
|
---|
462 | <p>
|
---|
463 | </td>
|
---|
464 | </tr>
|
---|
465 | </table>
|
---|
466 | <hr><h2>Member Function Documentation</h2>
|
---|
467 | <a name="z472_0" doxytag="SAXParser::attDef"></a><p>
|
---|
468 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
469 | <tr>
|
---|
470 | <td class="md">
|
---|
471 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
472 | <tr>
|
---|
473 | <td class="md" nowrap valign="top"> virtual void SAXParser::attDef </td>
|
---|
474 | <td class="md" valign="top">( </td>
|
---|
475 | <td class="md" nowrap valign="top">const DTDElementDecl & </td>
|
---|
476 | <td class="mdname" nowrap> <em>elemDecl</em>, </td>
|
---|
477 | </tr>
|
---|
478 | <tr>
|
---|
479 | <td></td>
|
---|
480 | <td></td>
|
---|
481 | <td class="md" nowrap>const DTDAttDef & </td>
|
---|
482 | <td class="mdname" nowrap> <em>attDef</em>, </td>
|
---|
483 | </tr>
|
---|
484 | <tr>
|
---|
485 | <td></td>
|
---|
486 | <td></td>
|
---|
487 | <td class="md" nowrap>const bool </td>
|
---|
488 | <td class="mdname" nowrap> <em>ignore</em></td>
|
---|
489 | </tr>
|
---|
490 | <tr>
|
---|
491 | <td></td>
|
---|
492 | <td class="md">) </td>
|
---|
493 | <td class="md" colspan="2"><code> [virtual]</code></td>
|
---|
494 | </tr>
|
---|
495 |
|
---|
496 | </table>
|
---|
497 | </td>
|
---|
498 | </tr>
|
---|
499 | </table>
|
---|
500 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
501 | <tr>
|
---|
502 | <td>
|
---|
503 |
|
---|
504 | </td>
|
---|
505 | <td>
|
---|
506 |
|
---|
507 | <p>
|
---|
508 | This method is used to report an attribute definition.
|
---|
509 | <p>
|
---|
510 | <b>This method is a no-op for this SAX driver implementation.</b><dl compact><dt><b>
|
---|
511 | Parameters: </b><dd>
|
---|
512 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
513 | <tr><td valign=top><em>elemDecl</em> </td><td>
|
---|
514 | A const reference to the object containing information about the element whose attribute definition was just parsed. </td></tr>
|
---|
515 | <tr><td valign=top><em>attDef</em> </td><td>
|
---|
516 | A const reference to the object containing information attribute definition. </td></tr>
|
---|
517 | <tr><td valign=top><em>ignore</em> </td><td>
|
---|
518 | The flag indicating whether this attribute definition was ignored by the parser or not. </td></tr>
|
---|
519 | </table>
|
---|
520 | </dl> </td>
|
---|
521 | </tr>
|
---|
522 | </table>
|
---|
523 | <a name="z464_15" doxytag="SAXParser::cacheGrammarFromParse"></a><p>
|
---|
524 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
525 | <tr>
|
---|
526 | <td class="md">
|
---|
527 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
528 | <tr>
|
---|
529 | <td class="md" nowrap valign="top"> void SAXParser::cacheGrammarFromParse </td>
|
---|
530 | <td class="md" valign="top">( </td>
|
---|
531 | <td class="md" nowrap valign="top">const bool </td>
|
---|
532 | <td class="mdname1" valign="top" nowrap> <em>newState</em> </td>
|
---|
533 | <td class="md" valign="top">) </td>
|
---|
534 | <td class="md" nowrap></td>
|
---|
535 | </tr>
|
---|
536 |
|
---|
537 | </table>
|
---|
538 | </td>
|
---|
539 | </tr>
|
---|
540 | </table>
|
---|
541 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
542 | <tr>
|
---|
543 | <td>
|
---|
544 |
|
---|
545 | </td>
|
---|
546 | <td>
|
---|
547 |
|
---|
548 | <p>
|
---|
549 | Set the 'Grammar caching' flag.
|
---|
550 | <p>
|
---|
551 | This method allows users to enable or disable caching of grammar when parsing XML documents. When set to true, the parser will cache the resulting grammar for use in subsequent parses.
|
---|
552 | <p>
|
---|
553 | If the flag is set to true, the 'Use cached grammar' flag will also be set to true.
|
---|
554 | <p>
|
---|
555 | The parser's default state is: false.<dl compact><dt><b>
|
---|
556 | Parameters: </b><dd>
|
---|
557 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
558 | <tr><td valign=top><em>newState</em> </td><td>
|
---|
559 | The value specifying whether we should cache grammars or not.</td></tr>
|
---|
560 | </table>
|
---|
561 | </dl><dl compact><dt><b>
|
---|
562 | See also: </b><dd>
|
---|
563 | <a class="el" href="classSAXParser.html#z463_23">isCachingGrammarFromParse</a> , <a class="el" href="classSAXParser.html#z464_16">useCachedGrammarInParse</a> </dl> </td>
|
---|
564 | </tr>
|
---|
565 | </table>
|
---|
566 | <a name="z469_0" doxytag="SAXParser::docCharacters"></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 SAXParser::docCharacters </td>
|
---|
573 | <td class="md" valign="top">( </td>
|
---|
574 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
575 | <td class="mdname" nowrap> <em>chars</em>, </td>
|
---|
576 | </tr>
|
---|
577 | <tr>
|
---|
578 | <td></td>
|
---|
579 | <td></td>
|
---|
580 | <td class="md" nowrap>const unsigned int </td>
|
---|
581 | <td class="mdname" nowrap> <em>length</em>, </td>
|
---|
582 | </tr>
|
---|
583 | <tr>
|
---|
584 | <td></td>
|
---|
585 | <td></td>
|
---|
586 | <td class="md" nowrap>const bool </td>
|
---|
587 | <td class="mdname" nowrap> <em>cdataSection</em></td>
|
---|
588 | </tr>
|
---|
589 | <tr>
|
---|
590 | <td></td>
|
---|
591 | <td class="md">) </td>
|
---|
592 | <td class="md" colspan="2"><code> [virtual]</code></td>
|
---|
593 | </tr>
|
---|
594 |
|
---|
595 | </table>
|
---|
596 | </td>
|
---|
597 | </tr>
|
---|
598 | </table>
|
---|
599 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
600 | <tr>
|
---|
601 | <td>
|
---|
602 |
|
---|
603 | </td>
|
---|
604 | <td>
|
---|
605 |
|
---|
606 | <p>
|
---|
607 | This method is used to report all the characters scanned by the parser.
|
---|
608 | <p>
|
---|
609 | The driver will invoke the 'characters' method of the user installed SAX Document Handler.
|
---|
610 | <p>
|
---|
611 |
|
---|
612 | <p>
|
---|
613 | If any advanced callback handlers are installed, the corresponding 'docCharacters' method will also be invoked.<dl compact><dt><b>
|
---|
614 | Parameters: </b><dd>
|
---|
615 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
616 | <tr><td valign=top><em>chars</em> </td><td>
|
---|
617 | A const pointer to a Unicode string representing the character data. </td></tr>
|
---|
618 | <tr><td valign=top><em>length</em> </td><td>
|
---|
619 | The length of the Unicode string returned in 'chars'. </td></tr>
|
---|
620 | <tr><td valign=top><em>cdataSection</em> </td><td>
|
---|
621 | A flag indicating if the characters represent content from the CDATA section. </td></tr>
|
---|
622 | </table>
|
---|
623 | </dl><dl compact><dt><b>
|
---|
624 | See also: </b><dd>
|
---|
625 | <a class="el" href="classDocumentHandler.html#z421_0">DocumentHandler::characters</a> </dl>
|
---|
626 | <p>
|
---|
627 | Implements <a class="el" href="classXMLDocumentHandler.html#z256_0">XMLDocumentHandler</a>. </td>
|
---|
628 | </tr>
|
---|
629 | </table>
|
---|
630 | <a name="z469_1" doxytag="SAXParser::docComment"></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 SAXParser::docComment </td>
|
---|
637 | <td class="md" valign="top">( </td>
|
---|
638 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
639 | <td class="mdname1" valign="top" nowrap> <em>comment</em> </td>
|
---|
640 | <td class="md" valign="top">) </td>
|
---|
641 | <td class="md" nowrap><code> [virtual]</code></td>
|
---|
642 | </tr>
|
---|
643 |
|
---|
644 | </table>
|
---|
645 | </td>
|
---|
646 | </tr>
|
---|
647 | </table>
|
---|
648 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
649 | <tr>
|
---|
650 | <td>
|
---|
651 |
|
---|
652 | </td>
|
---|
653 | <td>
|
---|
654 |
|
---|
655 | <p>
|
---|
656 | This method is used to report any comments scanned by the parser.
|
---|
657 | <p>
|
---|
658 | This method is a no-op unless, unless an advanced callback handler is installed, in which case the corresponding 'docComment' method is invoked.<dl compact><dt><b>
|
---|
659 | Parameters: </b><dd>
|
---|
660 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
661 | <tr><td valign=top><em>comment</em> </td><td>
|
---|
662 | A const pointer to a null terminated Unicode string representing the comment text. </td></tr>
|
---|
663 | </table>
|
---|
664 | </dl>
|
---|
665 | <p>
|
---|
666 | Implements <a class="el" href="classXMLDocumentHandler.html#z256_1">XMLDocumentHandler</a>. </td>
|
---|
667 | </tr>
|
---|
668 | </table>
|
---|
669 | <a name="z469_2" doxytag="SAXParser::docPI"></a><p>
|
---|
670 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
671 | <tr>
|
---|
672 | <td class="md">
|
---|
673 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
674 | <tr>
|
---|
675 | <td class="md" nowrap valign="top"> virtual void SAXParser::docPI </td>
|
---|
676 | <td class="md" valign="top">( </td>
|
---|
677 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
678 | <td class="mdname" nowrap> <em>target</em>, </td>
|
---|
679 | </tr>
|
---|
680 | <tr>
|
---|
681 | <td></td>
|
---|
682 | <td></td>
|
---|
683 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
684 | <td class="mdname" nowrap> <em>data</em></td>
|
---|
685 | </tr>
|
---|
686 | <tr>
|
---|
687 | <td></td>
|
---|
688 | <td class="md">) </td>
|
---|
689 | <td class="md" colspan="2"><code> [virtual]</code></td>
|
---|
690 | </tr>
|
---|
691 |
|
---|
692 | </table>
|
---|
693 | </td>
|
---|
694 | </tr>
|
---|
695 | </table>
|
---|
696 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
697 | <tr>
|
---|
698 | <td>
|
---|
699 |
|
---|
700 | </td>
|
---|
701 | <td>
|
---|
702 |
|
---|
703 | <p>
|
---|
704 | This method is used to report any PI scanned by the parser.
|
---|
705 | <p>
|
---|
706 |
|
---|
707 | <p>
|
---|
708 | Any PI's occurring before any 'content' are not reported to any SAX handler as per the specification. However, all PI's within content are reported via the SAX Document Handler's 'processingInstruction' method.
|
---|
709 | <p>
|
---|
710 |
|
---|
711 | <p>
|
---|
712 | If any advanced callback handlers are installed, the corresponding 'docPI' method will be invoked.<dl compact><dt><b>
|
---|
713 | Parameters: </b><dd>
|
---|
714 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
715 | <tr><td valign=top><em>target</em> </td><td>
|
---|
716 | A const pointer to a Unicode string representing the target of the PI declaration. </td></tr>
|
---|
717 | <tr><td valign=top><em>data</em> </td><td>
|
---|
718 | A const pointer to a Unicode string representing the data of the PI declaration. See the PI production rule in the XML specification for details.</td></tr>
|
---|
719 | </table>
|
---|
720 | </dl><dl compact><dt><b>
|
---|
721 | See also: </b><dd>
|
---|
722 | <a class="el" href="classDocumentHandler.html#z421_4">DocumentHandler::processingInstruction</a> </dl>
|
---|
723 | <p>
|
---|
724 | Implements <a class="el" href="classXMLDocumentHandler.html#z256_2">XMLDocumentHandler</a>. </td>
|
---|
725 | </tr>
|
---|
726 | </table>
|
---|
727 | <a name="z472_1" doxytag="SAXParser::doctypeComment"></a><p>
|
---|
728 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
729 | <tr>
|
---|
730 | <td class="md">
|
---|
731 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
732 | <tr>
|
---|
733 | <td class="md" nowrap valign="top"> virtual void SAXParser::doctypeComment </td>
|
---|
734 | <td class="md" valign="top">( </td>
|
---|
735 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
736 | <td class="mdname1" valign="top" nowrap> <em>comment</em> </td>
|
---|
737 | <td class="md" valign="top">) </td>
|
---|
738 | <td class="md" nowrap><code> [virtual]</code></td>
|
---|
739 | </tr>
|
---|
740 |
|
---|
741 | </table>
|
---|
742 | </td>
|
---|
743 | </tr>
|
---|
744 | </table>
|
---|
745 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
746 | <tr>
|
---|
747 | <td>
|
---|
748 |
|
---|
749 | </td>
|
---|
750 | <td>
|
---|
751 |
|
---|
752 | <p>
|
---|
753 | This method is used to report a comment occurring within the DTD.
|
---|
754 | <p>
|
---|
755 | <b>This method is a no-op for this SAX driver implementation.</b><dl compact><dt><b>
|
---|
756 | Parameters: </b><dd>
|
---|
757 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
758 | <tr><td valign=top><em>comment</em> </td><td>
|
---|
759 | A const pointer to a Unicode string representing the text of the comment just parsed. </td></tr>
|
---|
760 | </table>
|
---|
761 | </dl> </td>
|
---|
762 | </tr>
|
---|
763 | </table>
|
---|
764 | <a name="z472_2" doxytag="SAXParser::doctypeDecl"></a><p>
|
---|
765 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
766 | <tr>
|
---|
767 | <td class="md">
|
---|
768 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
769 | <tr>
|
---|
770 | <td class="md" nowrap valign="top"> virtual void SAXParser::doctypeDecl </td>
|
---|
771 | <td class="md" valign="top">( </td>
|
---|
772 | <td class="md" nowrap valign="top">const DTDElementDecl & </td>
|
---|
773 | <td class="mdname" nowrap> <em>elemDecl</em>, </td>
|
---|
774 | </tr>
|
---|
775 | <tr>
|
---|
776 | <td></td>
|
---|
777 | <td></td>
|
---|
778 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
779 | <td class="mdname" nowrap> <em>publicId</em>, </td>
|
---|
780 | </tr>
|
---|
781 | <tr>
|
---|
782 | <td></td>
|
---|
783 | <td></td>
|
---|
784 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
785 | <td class="mdname" nowrap> <em>systemId</em>, </td>
|
---|
786 | </tr>
|
---|
787 | <tr>
|
---|
788 | <td></td>
|
---|
789 | <td></td>
|
---|
790 | <td class="md" nowrap>const bool </td>
|
---|
791 | <td class="mdname" nowrap> <em>hasIntSubset</em>, </td>
|
---|
792 | </tr>
|
---|
793 | <tr>
|
---|
794 | <td></td>
|
---|
795 | <td></td>
|
---|
796 | <td class="md" nowrap>const bool </td>
|
---|
797 | <td class="mdname" nowrap> <em>hasExtSubset</em> = false</td>
|
---|
798 | </tr>
|
---|
799 | <tr>
|
---|
800 | <td></td>
|
---|
801 | <td class="md">) </td>
|
---|
802 | <td class="md" colspan="2"><code> [virtual]</code></td>
|
---|
803 | </tr>
|
---|
804 |
|
---|
805 | </table>
|
---|
806 | </td>
|
---|
807 | </tr>
|
---|
808 | </table>
|
---|
809 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
810 | <tr>
|
---|
811 | <td>
|
---|
812 |
|
---|
813 | </td>
|
---|
814 | <td>
|
---|
815 |
|
---|
816 | <p>
|
---|
817 | This method is used to report the DOCTYPE declaration.
|
---|
818 | <p>
|
---|
819 | <b>This method is a no-op for this SAX driver implementation.</b><dl compact><dt><b>
|
---|
820 | Parameters: </b><dd>
|
---|
821 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
822 | <tr><td valign=top><em>elemDecl</em> </td><td>
|
---|
823 | A const reference to the object containing information about the root element definition declaration of the XML document being parsed. </td></tr>
|
---|
824 | <tr><td valign=top><em>publicId</em> </td><td>
|
---|
825 | A const pointer to a Unicode string representing the public id of the DTD file. </td></tr>
|
---|
826 | <tr><td valign=top><em>systemId</em> </td><td>
|
---|
827 | A const pointer to a Unicode string representing the system id of the DTD file. </td></tr>
|
---|
828 | <tr><td valign=top><em>hasIntSubset</em> </td><td>
|
---|
829 | A flag indicating if this XML file contains any internal subset. </td></tr>
|
---|
830 | <tr><td valign=top><em>hasExtSubset</em> </td><td>
|
---|
831 | A flag indicating if this XML file contains any external subset. Default is false. </td></tr>
|
---|
832 | </table>
|
---|
833 | </dl> </td>
|
---|
834 | </tr>
|
---|
835 | </table>
|
---|
836 | <a name="z472_3" doxytag="SAXParser::doctypePI"></a><p>
|
---|
837 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
838 | <tr>
|
---|
839 | <td class="md">
|
---|
840 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
841 | <tr>
|
---|
842 | <td class="md" nowrap valign="top"> virtual void SAXParser::doctypePI </td>
|
---|
843 | <td class="md" valign="top">( </td>
|
---|
844 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
845 | <td class="mdname" nowrap> <em>target</em>, </td>
|
---|
846 | </tr>
|
---|
847 | <tr>
|
---|
848 | <td></td>
|
---|
849 | <td></td>
|
---|
850 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
851 | <td class="mdname" nowrap> <em>data</em></td>
|
---|
852 | </tr>
|
---|
853 | <tr>
|
---|
854 | <td></td>
|
---|
855 | <td class="md">) </td>
|
---|
856 | <td class="md" colspan="2"><code> [virtual]</code></td>
|
---|
857 | </tr>
|
---|
858 |
|
---|
859 | </table>
|
---|
860 | </td>
|
---|
861 | </tr>
|
---|
862 | </table>
|
---|
863 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
864 | <tr>
|
---|
865 | <td>
|
---|
866 |
|
---|
867 | </td>
|
---|
868 | <td>
|
---|
869 |
|
---|
870 | <p>
|
---|
871 | This method is used to report any PI declarations occurring inside the DTD definition block.
|
---|
872 | <p>
|
---|
873 | <b>This method is a no-op for this SAX driver implementation.</b><dl compact><dt><b>
|
---|
874 | Parameters: </b><dd>
|
---|
875 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
876 | <tr><td valign=top><em>target</em> </td><td>
|
---|
877 | A const pointer to a Unicode string representing the target of the PI declaration. </td></tr>
|
---|
878 | <tr><td valign=top><em>data</em> </td><td>
|
---|
879 | A const pointer to a Unicode string representing the data of the PI declaration. See the PI production rule in the XML specification for details. </td></tr>
|
---|
880 | </table>
|
---|
881 | </dl> </td>
|
---|
882 | </tr>
|
---|
883 | </table>
|
---|
884 | <a name="z472_4" doxytag="SAXParser::doctypeWhitespace"></a><p>
|
---|
885 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
886 | <tr>
|
---|
887 | <td class="md">
|
---|
888 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
889 | <tr>
|
---|
890 | <td class="md" nowrap valign="top"> virtual void SAXParser::doctypeWhitespace </td>
|
---|
891 | <td class="md" valign="top">( </td>
|
---|
892 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
893 | <td class="mdname" nowrap> <em>chars</em>, </td>
|
---|
894 | </tr>
|
---|
895 | <tr>
|
---|
896 | <td></td>
|
---|
897 | <td></td>
|
---|
898 | <td class="md" nowrap>const unsigned int </td>
|
---|
899 | <td class="mdname" nowrap> <em>length</em></td>
|
---|
900 | </tr>
|
---|
901 | <tr>
|
---|
902 | <td></td>
|
---|
903 | <td class="md">) </td>
|
---|
904 | <td class="md" colspan="2"><code> [virtual]</code></td>
|
---|
905 | </tr>
|
---|
906 |
|
---|
907 | </table>
|
---|
908 | </td>
|
---|
909 | </tr>
|
---|
910 | </table>
|
---|
911 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
912 | <tr>
|
---|
913 | <td>
|
---|
914 |
|
---|
915 | </td>
|
---|
916 | <td>
|
---|
917 |
|
---|
918 | <p>
|
---|
919 | This method is used to report any whitespaces occurring inside the DTD definition block.
|
---|
920 | <p>
|
---|
921 | <b>This method is a no-op for this SAX driver implementation.</b><dl compact><dt><b>
|
---|
922 | Parameters: </b><dd>
|
---|
923 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
924 | <tr><td valign=top><em>chars</em> </td><td>
|
---|
925 | A const pointer to a Unicode string representing the whitespace characters. </td></tr>
|
---|
926 | <tr><td valign=top><em>length</em> </td><td>
|
---|
927 | The length of the whitespace Unicode string. </td></tr>
|
---|
928 | </table>
|
---|
929 | </dl> </td>
|
---|
930 | </tr>
|
---|
931 | </table>
|
---|
932 | <a name="z472_5" doxytag="SAXParser::elementDecl"></a><p>
|
---|
933 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
934 | <tr>
|
---|
935 | <td class="md">
|
---|
936 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
937 | <tr>
|
---|
938 | <td class="md" nowrap valign="top"> virtual void SAXParser::elementDecl </td>
|
---|
939 | <td class="md" valign="top">( </td>
|
---|
940 | <td class="md" nowrap valign="top">const DTDElementDecl & </td>
|
---|
941 | <td class="mdname" nowrap> <em>decl</em>, </td>
|
---|
942 | </tr>
|
---|
943 | <tr>
|
---|
944 | <td></td>
|
---|
945 | <td></td>
|
---|
946 | <td class="md" nowrap>const bool </td>
|
---|
947 | <td class="mdname" nowrap> <em>isIgnored</em></td>
|
---|
948 | </tr>
|
---|
949 | <tr>
|
---|
950 | <td></td>
|
---|
951 | <td class="md">) </td>
|
---|
952 | <td class="md" colspan="2"><code> [virtual]</code></td>
|
---|
953 | </tr>
|
---|
954 |
|
---|
955 | </table>
|
---|
956 | </td>
|
---|
957 | </tr>
|
---|
958 | </table>
|
---|
959 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
960 | <tr>
|
---|
961 | <td>
|
---|
962 |
|
---|
963 | </td>
|
---|
964 | <td>
|
---|
965 |
|
---|
966 | <p>
|
---|
967 | This method is used to report an element declarations successfully scanned by the parser.
|
---|
968 | <p>
|
---|
969 | <b>This method is a no-op for this SAX driver implementation.</b><dl compact><dt><b>
|
---|
970 | Parameters: </b><dd>
|
---|
971 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
972 | <tr><td valign=top><em>decl</em> </td><td>
|
---|
973 | A const reference to the object containing element declaration information. </td></tr>
|
---|
974 | <tr><td valign=top><em>isIgnored</em> </td><td>
|
---|
975 | The flag indicating whether this definition was ignored by the parser or not. </td></tr>
|
---|
976 | </table>
|
---|
977 | </dl> </td>
|
---|
978 | </tr>
|
---|
979 | </table>
|
---|
980 | <a name="z472_6" doxytag="SAXParser::endAttList"></a><p>
|
---|
981 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
982 | <tr>
|
---|
983 | <td class="md">
|
---|
984 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
985 | <tr>
|
---|
986 | <td class="md" nowrap valign="top"> virtual void SAXParser::endAttList </td>
|
---|
987 | <td class="md" valign="top">( </td>
|
---|
988 | <td class="md" nowrap valign="top">const DTDElementDecl & </td>
|
---|
989 | <td class="mdname1" valign="top" nowrap> <em>elemDecl</em> </td>
|
---|
990 | <td class="md" valign="top">) </td>
|
---|
991 | <td class="md" nowrap><code> [virtual]</code></td>
|
---|
992 | </tr>
|
---|
993 |
|
---|
994 | </table>
|
---|
995 | </td>
|
---|
996 | </tr>
|
---|
997 | </table>
|
---|
998 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
999 | <tr>
|
---|
1000 | <td>
|
---|
1001 |
|
---|
1002 | </td>
|
---|
1003 | <td>
|
---|
1004 |
|
---|
1005 | <p>
|
---|
1006 | This method is used to report the end of an attribute list declaration for an element.
|
---|
1007 | <p>
|
---|
1008 | <b>This method is a no-op for this SAX driver implementation.</b><dl compact><dt><b>
|
---|
1009 | Parameters: </b><dd>
|
---|
1010 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1011 | <tr><td valign=top><em>elemDecl</em> </td><td>
|
---|
1012 | A const reference to the object containing element declaration information. </td></tr>
|
---|
1013 | </table>
|
---|
1014 | </dl> </td>
|
---|
1015 | </tr>
|
---|
1016 | </table>
|
---|
1017 | <a name="z469_3" doxytag="SAXParser::endDocument"></a><p>
|
---|
1018 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1019 | <tr>
|
---|
1020 | <td class="md">
|
---|
1021 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1022 | <tr>
|
---|
1023 | <td class="md" nowrap valign="top"> virtual void SAXParser::endDocument </td>
|
---|
1024 | <td class="md" valign="top">( </td>
|
---|
1025 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
1026 | <td class="md" valign="top">) </td>
|
---|
1027 | <td class="md" nowrap><code> [virtual]</code></td>
|
---|
1028 | </tr>
|
---|
1029 |
|
---|
1030 | </table>
|
---|
1031 | </td>
|
---|
1032 | </tr>
|
---|
1033 | </table>
|
---|
1034 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1035 | <tr>
|
---|
1036 | <td>
|
---|
1037 |
|
---|
1038 | </td>
|
---|
1039 | <td>
|
---|
1040 |
|
---|
1041 | <p>
|
---|
1042 | This method is used to indicate the end of root element was just scanned by the parser.
|
---|
1043 | <p>
|
---|
1044 | Corresponding 'endDocument' method of the user installed SAX Document Handler will also be invoked.
|
---|
1045 | <p>
|
---|
1046 |
|
---|
1047 | <p>
|
---|
1048 | In addition, if any advanced callback handlers are installed, the corresponding 'endDocument' method is invoked.
|
---|
1049 | <p>
|
---|
1050 | <dl compact><dt><b>
|
---|
1051 | See also: </b><dd>
|
---|
1052 | <a class="el" href="classDocumentHandler.html#z421_1">DocumentHandler::endDocument</a> </dl>
|
---|
1053 | <p>
|
---|
1054 | Implements <a class="el" href="classXMLDocumentHandler.html#z256_3">XMLDocumentHandler</a>. </td>
|
---|
1055 | </tr>
|
---|
1056 | </table>
|
---|
1057 | <a name="z469_4" doxytag="SAXParser::endElement"></a><p>
|
---|
1058 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1059 | <tr>
|
---|
1060 | <td class="md">
|
---|
1061 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1062 | <tr>
|
---|
1063 | <td class="md" nowrap valign="top"> virtual void SAXParser::endElement </td>
|
---|
1064 | <td class="md" valign="top">( </td>
|
---|
1065 | <td class="md" nowrap valign="top">const <a class="el" href="classXMLElementDecl.html">XMLElementDecl</a> & </td>
|
---|
1066 | <td class="mdname" nowrap> <em>elemDecl</em>, </td>
|
---|
1067 | </tr>
|
---|
1068 | <tr>
|
---|
1069 | <td></td>
|
---|
1070 | <td></td>
|
---|
1071 | <td class="md" nowrap>const unsigned int </td>
|
---|
1072 | <td class="mdname" nowrap> <em>urlId</em>, </td>
|
---|
1073 | </tr>
|
---|
1074 | <tr>
|
---|
1075 | <td></td>
|
---|
1076 | <td></td>
|
---|
1077 | <td class="md" nowrap>const bool </td>
|
---|
1078 | <td class="mdname" nowrap> <em>isRoot</em>, </td>
|
---|
1079 | </tr>
|
---|
1080 | <tr>
|
---|
1081 | <td></td>
|
---|
1082 | <td></td>
|
---|
1083 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
1084 | <td class="mdname" nowrap> <em>elemPrefix</em></td>
|
---|
1085 | </tr>
|
---|
1086 | <tr>
|
---|
1087 | <td></td>
|
---|
1088 | <td class="md">) </td>
|
---|
1089 | <td class="md" colspan="2"><code> [virtual]</code></td>
|
---|
1090 | </tr>
|
---|
1091 |
|
---|
1092 | </table>
|
---|
1093 | </td>
|
---|
1094 | </tr>
|
---|
1095 | </table>
|
---|
1096 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1097 | <tr>
|
---|
1098 | <td>
|
---|
1099 |
|
---|
1100 | </td>
|
---|
1101 | <td>
|
---|
1102 |
|
---|
1103 | <p>
|
---|
1104 | This method is used to indicate the end tag of an element.
|
---|
1105 | <p>
|
---|
1106 | The driver will invoke the corresponding 'endElement' method of the SAX Document Handler interface.
|
---|
1107 | <p>
|
---|
1108 |
|
---|
1109 | <p>
|
---|
1110 | If any advanced callback handlers are installed, the corresponding 'endElement' method is also invoked.<dl compact><dt><b>
|
---|
1111 | Parameters: </b><dd>
|
---|
1112 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1113 | <tr><td valign=top><em>elemDecl</em> </td><td>
|
---|
1114 | A const reference to the object containing element declaration information. </td></tr>
|
---|
1115 | <tr><td valign=top><em>urlId</em> </td><td>
|
---|
1116 | An id referring to the namespace prefix, if namespaces setting is switched on. </td></tr>
|
---|
1117 | <tr><td valign=top><em>isRoot</em> </td><td>
|
---|
1118 | A flag indicating whether this element was the root element. </td></tr>
|
---|
1119 | <tr><td valign=top><em>elemPrefix</em> </td><td>
|
---|
1120 | A const pointer to a Unicode string containing the namespace prefix for this element. Applicable only when namespace processing is enabled. </td></tr>
|
---|
1121 | </table>
|
---|
1122 | </dl><dl compact><dt><b>
|
---|
1123 | See also: </b><dd>
|
---|
1124 | <a class="el" href="classDocumentHandler.html#z421_2">DocumentHandler::endElement</a> </dl>
|
---|
1125 | <p>
|
---|
1126 | Implements <a class="el" href="classXMLDocumentHandler.html#z256_4">XMLDocumentHandler</a>. </td>
|
---|
1127 | </tr>
|
---|
1128 | </table>
|
---|
1129 | <a name="z469_5" doxytag="SAXParser::endEntityReference"></a><p>
|
---|
1130 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1131 | <tr>
|
---|
1132 | <td class="md">
|
---|
1133 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1134 | <tr>
|
---|
1135 | <td class="md" nowrap valign="top"> virtual void SAXParser::endEntityReference </td>
|
---|
1136 | <td class="md" valign="top">( </td>
|
---|
1137 | <td class="md" nowrap valign="top">const <a class="el" href="classXMLEntityDecl.html">XMLEntityDecl</a> & </td>
|
---|
1138 | <td class="mdname1" valign="top" nowrap> <em>entDecl</em> </td>
|
---|
1139 | <td class="md" valign="top">) </td>
|
---|
1140 | <td class="md" nowrap><code> [virtual]</code></td>
|
---|
1141 | </tr>
|
---|
1142 |
|
---|
1143 | </table>
|
---|
1144 | </td>
|
---|
1145 | </tr>
|
---|
1146 | </table>
|
---|
1147 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1148 | <tr>
|
---|
1149 | <td>
|
---|
1150 |
|
---|
1151 | </td>
|
---|
1152 | <td>
|
---|
1153 |
|
---|
1154 | <p>
|
---|
1155 | This method is used to indicate that an end of an entity reference was just scanned.
|
---|
1156 | <p>
|
---|
1157 |
|
---|
1158 | <p>
|
---|
1159 | If any advanced callback handlers are installed, the corresponding 'endEnityReference' method is invoked.<dl compact><dt><b>
|
---|
1160 | Parameters: </b><dd>
|
---|
1161 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1162 | <tr><td valign=top><em>entDecl</em> </td><td>
|
---|
1163 | A const reference to the object containing the entity declaration information. </td></tr>
|
---|
1164 | </table>
|
---|
1165 | </dl>
|
---|
1166 | <p>
|
---|
1167 | Implements <a class="el" href="classXMLDocumentHandler.html#z256_5">XMLDocumentHandler</a>. </td>
|
---|
1168 | </tr>
|
---|
1169 | </table>
|
---|
1170 | <a name="z472_8" doxytag="SAXParser::endExtSubset"></a><p>
|
---|
1171 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1172 | <tr>
|
---|
1173 | <td class="md">
|
---|
1174 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1175 | <tr>
|
---|
1176 | <td class="md" nowrap valign="top"> virtual void SAXParser::endExtSubset </td>
|
---|
1177 | <td class="md" valign="top">( </td>
|
---|
1178 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
1179 | <td class="md" valign="top">) </td>
|
---|
1180 | <td class="md" nowrap><code> [virtual]</code></td>
|
---|
1181 | </tr>
|
---|
1182 |
|
---|
1183 | </table>
|
---|
1184 | </td>
|
---|
1185 | </tr>
|
---|
1186 | </table>
|
---|
1187 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1188 | <tr>
|
---|
1189 | <td>
|
---|
1190 |
|
---|
1191 | </td>
|
---|
1192 | <td>
|
---|
1193 |
|
---|
1194 | <p>
|
---|
1195 | This method is used to report the end of the external subset.
|
---|
1196 | <p>
|
---|
1197 | <b>This method is a no-op for this SAX driver implementation.</b> </td>
|
---|
1198 | </tr>
|
---|
1199 | </table>
|
---|
1200 | <a name="z471_0" doxytag="SAXParser::endInputSource"></a><p>
|
---|
1201 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1202 | <tr>
|
---|
1203 | <td class="md">
|
---|
1204 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1205 | <tr>
|
---|
1206 | <td class="md" nowrap valign="top"> virtual void SAXParser::endInputSource </td>
|
---|
1207 | <td class="md" valign="top">( </td>
|
---|
1208 | <td class="md" nowrap valign="top">const <a class="el" href="classInputSource.html">InputSource</a> & </td>
|
---|
1209 | <td class="mdname1" valign="top" nowrap> <em>inputSource</em> </td>
|
---|
1210 | <td class="md" valign="top">) </td>
|
---|
1211 | <td class="md" nowrap><code> [virtual]</code></td>
|
---|
1212 | </tr>
|
---|
1213 |
|
---|
1214 | </table>
|
---|
1215 | </td>
|
---|
1216 | </tr>
|
---|
1217 | </table>
|
---|
1218 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1219 | <tr>
|
---|
1220 | <td>
|
---|
1221 |
|
---|
1222 | </td>
|
---|
1223 | <td>
|
---|
1224 |
|
---|
1225 | <p>
|
---|
1226 | This method is used to indicate the end of parsing of an external entity file.
|
---|
1227 | <p>
|
---|
1228 | <b>This method is a no-op for this SAX driver implementation.</b><dl compact><dt><b>
|
---|
1229 | Parameters: </b><dd>
|
---|
1230 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1231 | <tr><td valign=top><em>inputSource</em> </td><td>
|
---|
1232 | A const reference to the <a class="el" href="classInputSource.html">InputSource</a> object which points to the XML file being parsed. </td></tr>
|
---|
1233 | </table>
|
---|
1234 | </dl><dl compact><dt><b>
|
---|
1235 | See also: </b><dd>
|
---|
1236 | <a class="el" href="classInputSource.html">InputSource</a> </dl>
|
---|
1237 | <p>
|
---|
1238 | Implements <a class="el" href="classXMLEntityHandler.html#z274_0">XMLEntityHandler</a>. </td>
|
---|
1239 | </tr>
|
---|
1240 | </table>
|
---|
1241 | <a name="z472_7" doxytag="SAXParser::endIntSubset"></a><p>
|
---|
1242 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1243 | <tr>
|
---|
1244 | <td class="md">
|
---|
1245 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1246 | <tr>
|
---|
1247 | <td class="md" nowrap valign="top"> virtual void SAXParser::endIntSubset </td>
|
---|
1248 | <td class="md" valign="top">( </td>
|
---|
1249 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
1250 | <td class="md" valign="top">) </td>
|
---|
1251 | <td class="md" nowrap><code> [virtual]</code></td>
|
---|
1252 | </tr>
|
---|
1253 |
|
---|
1254 | </table>
|
---|
1255 | </td>
|
---|
1256 | </tr>
|
---|
1257 | </table>
|
---|
1258 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1259 | <tr>
|
---|
1260 | <td>
|
---|
1261 |
|
---|
1262 | </td>
|
---|
1263 | <td>
|
---|
1264 |
|
---|
1265 | <p>
|
---|
1266 | This method is used to report the end of the internal subset.
|
---|
1267 | <p>
|
---|
1268 | <b>This method is a no-op for this SAX driver implementation.</b> </td>
|
---|
1269 | </tr>
|
---|
1270 | </table>
|
---|
1271 | <a name="z472_9" doxytag="SAXParser::entityDecl"></a><p>
|
---|
1272 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1273 | <tr>
|
---|
1274 | <td class="md">
|
---|
1275 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1276 | <tr>
|
---|
1277 | <td class="md" nowrap valign="top"> virtual void SAXParser::entityDecl </td>
|
---|
1278 | <td class="md" valign="top">( </td>
|
---|
1279 | <td class="md" nowrap valign="top">const DTDEntityDecl & </td>
|
---|
1280 | <td class="mdname" nowrap> <em>entityDecl</em>, </td>
|
---|
1281 | </tr>
|
---|
1282 | <tr>
|
---|
1283 | <td></td>
|
---|
1284 | <td></td>
|
---|
1285 | <td class="md" nowrap>const bool </td>
|
---|
1286 | <td class="mdname" nowrap> <em>isPEDecl</em>, </td>
|
---|
1287 | </tr>
|
---|
1288 | <tr>
|
---|
1289 | <td></td>
|
---|
1290 | <td></td>
|
---|
1291 | <td class="md" nowrap>const bool </td>
|
---|
1292 | <td class="mdname" nowrap> <em>isIgnored</em></td>
|
---|
1293 | </tr>
|
---|
1294 | <tr>
|
---|
1295 | <td></td>
|
---|
1296 | <td class="md">) </td>
|
---|
1297 | <td class="md" colspan="2"><code> [virtual]</code></td>
|
---|
1298 | </tr>
|
---|
1299 |
|
---|
1300 | </table>
|
---|
1301 | </td>
|
---|
1302 | </tr>
|
---|
1303 | </table>
|
---|
1304 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1305 | <tr>
|
---|
1306 | <td>
|
---|
1307 |
|
---|
1308 | </td>
|
---|
1309 | <td>
|
---|
1310 |
|
---|
1311 | <p>
|
---|
1312 | This method is used to report any entity declarations.
|
---|
1313 | <p>
|
---|
1314 | For unparsed entities, this driver will invoke the SAX <a class="el" href="classDTDHandler.html#z423_1">DTDHandler::unparsedEntityDecl</a> callback.<dl compact><dt><b>
|
---|
1315 | Parameters: </b><dd>
|
---|
1316 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1317 | <tr><td valign=top><em>entityDecl</em> </td><td>
|
---|
1318 | A const reference to the object containing the entity declaration information. </td></tr>
|
---|
1319 | <tr><td valign=top><em>isPEDecl</em> </td><td>
|
---|
1320 | The flag indicating whether this was a parameter entity declaration or not. </td></tr>
|
---|
1321 | <tr><td valign=top><em>isIgnored</em> </td><td>
|
---|
1322 | The flag indicating whether this definition was ignored by the parser or not.</td></tr>
|
---|
1323 | </table>
|
---|
1324 | </dl><dl compact><dt><b>
|
---|
1325 | See also: </b><dd>
|
---|
1326 | <a class="el" href="classDTDHandler.html#z423_1">DTDHandler::unparsedEntityDecl</a> </dl> </td>
|
---|
1327 | </tr>
|
---|
1328 | </table>
|
---|
1329 | <a name="z470_0" doxytag="SAXParser::error"></a><p>
|
---|
1330 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1331 | <tr>
|
---|
1332 | <td class="md">
|
---|
1333 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1334 | <tr>
|
---|
1335 | <td class="md" nowrap valign="top"> virtual void SAXParser::error </td>
|
---|
1336 | <td class="md" valign="top">( </td>
|
---|
1337 | <td class="md" nowrap valign="top">const unsigned int </td>
|
---|
1338 | <td class="mdname" nowrap> <em>errCode</em>, </td>
|
---|
1339 | </tr>
|
---|
1340 | <tr>
|
---|
1341 | <td></td>
|
---|
1342 | <td></td>
|
---|
1343 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
1344 | <td class="mdname" nowrap> <em>msgDomain</em>, </td>
|
---|
1345 | </tr>
|
---|
1346 | <tr>
|
---|
1347 | <td></td>
|
---|
1348 | <td></td>
|
---|
1349 | <td class="md" nowrap>const <a class="el" href="classXMLErrorReporter.html#s4">XMLErrorReporter::ErrTypes</a> </td>
|
---|
1350 | <td class="mdname" nowrap> <em>errType</em>, </td>
|
---|
1351 | </tr>
|
---|
1352 | <tr>
|
---|
1353 | <td></td>
|
---|
1354 | <td></td>
|
---|
1355 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
1356 | <td class="mdname" nowrap> <em>errorText</em>, </td>
|
---|
1357 | </tr>
|
---|
1358 | <tr>
|
---|
1359 | <td></td>
|
---|
1360 | <td></td>
|
---|
1361 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
1362 | <td class="mdname" nowrap> <em>systemId</em>, </td>
|
---|
1363 | </tr>
|
---|
1364 | <tr>
|
---|
1365 | <td></td>
|
---|
1366 | <td></td>
|
---|
1367 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
1368 | <td class="mdname" nowrap> <em>publicId</em>, </td>
|
---|
1369 | </tr>
|
---|
1370 | <tr>
|
---|
1371 | <td></td>
|
---|
1372 | <td></td>
|
---|
1373 | <td class="md" nowrap>const XMLSSize_t </td>
|
---|
1374 | <td class="mdname" nowrap> <em>lineNum</em>, </td>
|
---|
1375 | </tr>
|
---|
1376 | <tr>
|
---|
1377 | <td></td>
|
---|
1378 | <td></td>
|
---|
1379 | <td class="md" nowrap>const XMLSSize_t </td>
|
---|
1380 | <td class="mdname" nowrap> <em>colNum</em></td>
|
---|
1381 | </tr>
|
---|
1382 | <tr>
|
---|
1383 | <td></td>
|
---|
1384 | <td class="md">) </td>
|
---|
1385 | <td class="md" colspan="2"><code> [virtual]</code></td>
|
---|
1386 | </tr>
|
---|
1387 |
|
---|
1388 | </table>
|
---|
1389 | </td>
|
---|
1390 | </tr>
|
---|
1391 | </table>
|
---|
1392 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1393 | <tr>
|
---|
1394 | <td>
|
---|
1395 |
|
---|
1396 | </td>
|
---|
1397 | <td>
|
---|
1398 |
|
---|
1399 | <p>
|
---|
1400 | This method is used to report back errors found while parsing the XML file.
|
---|
1401 | <p>
|
---|
1402 | The driver will call the corresponding user installed SAX Error Handler methods: 'fatal', 'error', 'warning' depending on the severity of the error. This classification is defined by the XML specification.<dl compact><dt><b>
|
---|
1403 | Parameters: </b><dd>
|
---|
1404 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1405 | <tr><td valign=top><em>errCode</em> </td><td>
|
---|
1406 | An integer code for the error. </td></tr>
|
---|
1407 | <tr><td valign=top><em>msgDomain</em> </td><td>
|
---|
1408 | A const pointer to an Unicode string representing the message domain to use. </td></tr>
|
---|
1409 | <tr><td valign=top><em>errType</em> </td><td>
|
---|
1410 | An enumeration classifying the severity of the error. </td></tr>
|
---|
1411 | <tr><td valign=top><em>errorText</em> </td><td>
|
---|
1412 | A const pointer to an Unicode string representing the text of the error message. </td></tr>
|
---|
1413 | <tr><td valign=top><em>systemId</em> </td><td>
|
---|
1414 | A const pointer to an Unicode string representing the system id of the XML file where this error was discovered. </td></tr>
|
---|
1415 | <tr><td valign=top><em>publicId</em> </td><td>
|
---|
1416 | A const pointer to an Unicode string representing the public id of the XML file where this error was discovered. </td></tr>
|
---|
1417 | <tr><td valign=top><em>lineNum</em> </td><td>
|
---|
1418 | The line number where the error occurred. </td></tr>
|
---|
1419 | <tr><td valign=top><em>colNum</em> </td><td>
|
---|
1420 | The column number where the error occurred. </td></tr>
|
---|
1421 | </table>
|
---|
1422 | </dl><dl compact><dt><b>
|
---|
1423 | See also: </b><dd>
|
---|
1424 | <a class="el" href="classErrorHandler.html">ErrorHandler</a> </dl> </td>
|
---|
1425 | </tr>
|
---|
1426 | </table>
|
---|
1427 | <a name="z471_1" doxytag="SAXParser::expandSystemId"></a><p>
|
---|
1428 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1429 | <tr>
|
---|
1430 | <td class="md">
|
---|
1431 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1432 | <tr>
|
---|
1433 | <td class="md" nowrap valign="top"> virtual bool SAXParser::expandSystemId </td>
|
---|
1434 | <td class="md" valign="top">( </td>
|
---|
1435 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
1436 | <td class="mdname" nowrap> <em>systemId</em>, </td>
|
---|
1437 | </tr>
|
---|
1438 | <tr>
|
---|
1439 | <td></td>
|
---|
1440 | <td></td>
|
---|
1441 | <td class="md" nowrap>XMLBuffer & </td>
|
---|
1442 | <td class="mdname" nowrap> <em>toFill</em></td>
|
---|
1443 | </tr>
|
---|
1444 | <tr>
|
---|
1445 | <td></td>
|
---|
1446 | <td class="md">) </td>
|
---|
1447 | <td class="md" colspan="2"><code> [virtual]</code></td>
|
---|
1448 | </tr>
|
---|
1449 |
|
---|
1450 | </table>
|
---|
1451 | </td>
|
---|
1452 | </tr>
|
---|
1453 | </table>
|
---|
1454 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1455 | <tr>
|
---|
1456 | <td>
|
---|
1457 |
|
---|
1458 | </td>
|
---|
1459 | <td>
|
---|
1460 |
|
---|
1461 | <p>
|
---|
1462 | This method allows an installed <a class="el" href="classXMLEntityHandler.html">XMLEntityHandler</a> to further process any system id's of enternal entities encountered in the XML file being parsed, such as redirection etc.
|
---|
1463 | <p>
|
---|
1464 | <b>This method always returns 'false' for this SAX driver implementation.</b><dl compact><dt><b>
|
---|
1465 | Parameters: </b><dd>
|
---|
1466 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1467 | <tr><td valign=top><em>systemId</em> </td><td>
|
---|
1468 | A const pointer to an Unicode string representing the system id scanned by the parser. </td></tr>
|
---|
1469 | <tr><td valign=top><em>toFill</em> </td><td>
|
---|
1470 | A pointer to a buffer in which the application processed system id is stored. </td></tr>
|
---|
1471 | </table>
|
---|
1472 | </dl><dl compact><dt><b>
|
---|
1473 | Returns: </b><dd>
|
---|
1474 | 'true', if any processing is done, 'false' otherwise. </dl>
|
---|
1475 | <p>
|
---|
1476 | Implements <a class="el" href="classXMLEntityHandler.html#z274_1">XMLEntityHandler</a>. </td>
|
---|
1477 | </tr>
|
---|
1478 | </table>
|
---|
1479 | <a name="z463_25" doxytag="SAXParser::getCalculateSrcOfs"></a><p>
|
---|
1480 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1481 | <tr>
|
---|
1482 | <td class="md">
|
---|
1483 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1484 | <tr>
|
---|
1485 | <td class="md" nowrap valign="top"> bool SAXParser::getCalculateSrcOfs </td>
|
---|
1486 | <td class="md" valign="top">( </td>
|
---|
1487 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
1488 | <td class="md" valign="top">) </td>
|
---|
1489 | <td class="md" nowrap> const</td>
|
---|
1490 | </tr>
|
---|
1491 |
|
---|
1492 | </table>
|
---|
1493 | </td>
|
---|
1494 | </tr>
|
---|
1495 | </table>
|
---|
1496 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1497 | <tr>
|
---|
1498 | <td>
|
---|
1499 |
|
---|
1500 | </td>
|
---|
1501 | <td>
|
---|
1502 |
|
---|
1503 | <p>
|
---|
1504 | Get the 'calculate src offset flag'.
|
---|
1505 | <p>
|
---|
1506 | This method returns the state of the parser's src offset calculation when parsing an XML document.
|
---|
1507 | <p>
|
---|
1508 | <dl compact><dt><b>
|
---|
1509 | Returns: </b><dd>
|
---|
1510 | true, if the parser is currently configured to calculate src offsets, false otherwise.</dl><dl compact><dt><b>
|
---|
1511 | See also: </b><dd>
|
---|
1512 | <a class="el" href="classSAXParser.html#z464_17">setCalculateSrcOfs</a> </dl> </td>
|
---|
1513 | </tr>
|
---|
1514 | </table>
|
---|
1515 | <a name="z463_1" doxytag="SAXParser::getDocumentHandler"></a><p>
|
---|
1516 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1517 | <tr>
|
---|
1518 | <td class="md">
|
---|
1519 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1520 | <tr>
|
---|
1521 | <td class="md" nowrap valign="top"> const <a class="el" href="classDocumentHandler.html">DocumentHandler</a> * SAXParser::getDocumentHandler </td>
|
---|
1522 | <td class="md" valign="top">( </td>
|
---|
1523 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
1524 | <td class="md" valign="top">) </td>
|
---|
1525 | <td class="md" nowrap> const</td>
|
---|
1526 | </tr>
|
---|
1527 |
|
---|
1528 | </table>
|
---|
1529 | </td>
|
---|
1530 | </tr>
|
---|
1531 | </table>
|
---|
1532 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1533 | <tr>
|
---|
1534 | <td>
|
---|
1535 |
|
---|
1536 | </td>
|
---|
1537 | <td>
|
---|
1538 |
|
---|
1539 | <p>
|
---|
1540 | This method returns the installed document handler.
|
---|
1541 | <p>
|
---|
1542 | Suitable only for 'rvalue' usages.
|
---|
1543 | <p>
|
---|
1544 | <dl compact><dt><b>
|
---|
1545 | Returns: </b><dd>
|
---|
1546 | A const pointer to the installed document handler object. </dl> </td>
|
---|
1547 | </tr>
|
---|
1548 | </table>
|
---|
1549 | <a name="z463_0" doxytag="SAXParser::getDocumentHandler"></a><p>
|
---|
1550 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1551 | <tr>
|
---|
1552 | <td class="md">
|
---|
1553 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1554 | <tr>
|
---|
1555 | <td class="md" nowrap valign="top"> <a class="el" href="classDocumentHandler.html">DocumentHandler</a> * SAXParser::getDocumentHandler </td>
|
---|
1556 | <td class="md" valign="top">( </td>
|
---|
1557 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
1558 | <td class="md" valign="top">) </td>
|
---|
1559 | <td class="md" nowrap></td>
|
---|
1560 | </tr>
|
---|
1561 |
|
---|
1562 | </table>
|
---|
1563 | </td>
|
---|
1564 | </tr>
|
---|
1565 | </table>
|
---|
1566 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1567 | <tr>
|
---|
1568 | <td>
|
---|
1569 |
|
---|
1570 | </td>
|
---|
1571 | <td>
|
---|
1572 |
|
---|
1573 | <p>
|
---|
1574 | This method returns the installed document handler.
|
---|
1575 | <p>
|
---|
1576 | Suitable for 'lvalue' usages.
|
---|
1577 | <p>
|
---|
1578 | <dl compact><dt><b>
|
---|
1579 | Returns: </b><dd>
|
---|
1580 | The pointer to the installed document handler object. </dl> </td>
|
---|
1581 | </tr>
|
---|
1582 | </table>
|
---|
1583 | <a name="z463_16" doxytag="SAXParser::getDoNamespaces"></a><p>
|
---|
1584 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1585 | <tr>
|
---|
1586 | <td class="md">
|
---|
1587 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1588 | <tr>
|
---|
1589 | <td class="md" nowrap valign="top"> bool SAXParser::getDoNamespaces </td>
|
---|
1590 | <td class="md" valign="top">( </td>
|
---|
1591 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
1592 | <td class="md" valign="top">) </td>
|
---|
1593 | <td class="md" nowrap> const</td>
|
---|
1594 | </tr>
|
---|
1595 |
|
---|
1596 | </table>
|
---|
1597 | </td>
|
---|
1598 | </tr>
|
---|
1599 | </table>
|
---|
1600 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1601 | <tr>
|
---|
1602 | <td>
|
---|
1603 |
|
---|
1604 | </td>
|
---|
1605 | <td>
|
---|
1606 |
|
---|
1607 | <p>
|
---|
1608 | This method returns the state of the parser's namespace handling capability.
|
---|
1609 | <p>
|
---|
1610 | <dl compact><dt><b>
|
---|
1611 | Returns: </b><dd>
|
---|
1612 | true, if the parser is currently configured to understand namespaces, false otherwise.</dl><dl compact><dt><b>
|
---|
1613 | See also: </b><dd>
|
---|
1614 | <a class="el" href="classSAXParser.html#z464_2">setDoNamespaces</a> </dl> </td>
|
---|
1615 | </tr>
|
---|
1616 | </table>
|
---|
1617 | <a name="z463_12" doxytag="SAXParser::getDoSchema"></a><p>
|
---|
1618 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1619 | <tr>
|
---|
1620 | <td class="md">
|
---|
1621 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1622 | <tr>
|
---|
1623 | <td class="md" nowrap valign="top"> bool SAXParser::getDoSchema </td>
|
---|
1624 | <td class="md" valign="top">( </td>
|
---|
1625 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
1626 | <td class="md" valign="top">) </td>
|
---|
1627 | <td class="md" nowrap> const</td>
|
---|
1628 | </tr>
|
---|
1629 |
|
---|
1630 | </table>
|
---|
1631 | </td>
|
---|
1632 | </tr>
|
---|
1633 | </table>
|
---|
1634 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1635 | <tr>
|
---|
1636 | <td>
|
---|
1637 |
|
---|
1638 | </td>
|
---|
1639 | <td>
|
---|
1640 |
|
---|
1641 | <p>
|
---|
1642 | Get the 'do schema' flag.
|
---|
1643 | <p>
|
---|
1644 | This method returns the state of the parser's schema processing flag.
|
---|
1645 | <p>
|
---|
1646 | <dl compact><dt><b>
|
---|
1647 | Returns: </b><dd>
|
---|
1648 | true, if the parser is currently configured to understand schema, false otherwise.</dl><dl compact><dt><b>
|
---|
1649 | See also: </b><dd>
|
---|
1650 | <a class="el" href="classSAXParser.html#z464_4">setDoSchema</a> </dl> </td>
|
---|
1651 | </tr>
|
---|
1652 | </table>
|
---|
1653 | <a name="z473_0" doxytag="SAXParser::getDoValidation"></a><p>
|
---|
1654 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1655 | <tr>
|
---|
1656 | <td class="md">
|
---|
1657 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1658 | <tr>
|
---|
1659 | <td class="md" nowrap valign="top"> bool SAXParser::getDoValidation </td>
|
---|
1660 | <td class="md" valign="top">( </td>
|
---|
1661 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
1662 | <td class="md" valign="top">) </td>
|
---|
1663 | <td class="md" nowrap> const</td>
|
---|
1664 | </tr>
|
---|
1665 |
|
---|
1666 | </table>
|
---|
1667 | </td>
|
---|
1668 | </tr>
|
---|
1669 | </table>
|
---|
1670 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1671 | <tr>
|
---|
1672 | <td>
|
---|
1673 |
|
---|
1674 | </td>
|
---|
1675 | <td>
|
---|
1676 |
|
---|
1677 | <p>
|
---|
1678 | This method returns the state of the parser's validation handling flag which controls whether validation checks are enforced or not.
|
---|
1679 | <p>
|
---|
1680 | <dl compact><dt><b>
|
---|
1681 | Returns: </b><dd>
|
---|
1682 | true, if the parser is currently configured to do validation, false otherwise.</dl><dl compact><dt><b>
|
---|
1683 | See also: </b><dd>
|
---|
1684 | <a class="el" href="classSAXParser.html#z473_1">setDoValidation</a> </dl> </td>
|
---|
1685 | </tr>
|
---|
1686 | </table>
|
---|
1687 | <a name="z463_3" doxytag="SAXParser::getEntityResolver"></a><p>
|
---|
1688 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1689 | <tr>
|
---|
1690 | <td class="md">
|
---|
1691 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1692 | <tr>
|
---|
1693 | <td class="md" nowrap valign="top"> const <a class="el" href="classEntityResolver.html">EntityResolver</a> * SAXParser::getEntityResolver </td>
|
---|
1694 | <td class="md" valign="top">( </td>
|
---|
1695 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
1696 | <td class="md" valign="top">) </td>
|
---|
1697 | <td class="md" nowrap> const</td>
|
---|
1698 | </tr>
|
---|
1699 |
|
---|
1700 | </table>
|
---|
1701 | </td>
|
---|
1702 | </tr>
|
---|
1703 | </table>
|
---|
1704 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1705 | <tr>
|
---|
1706 | <td>
|
---|
1707 |
|
---|
1708 | </td>
|
---|
1709 | <td>
|
---|
1710 |
|
---|
1711 | <p>
|
---|
1712 | This method returns the installed entity resolver.
|
---|
1713 | <p>
|
---|
1714 | Suitable for 'rvalue' usages.
|
---|
1715 | <p>
|
---|
1716 | <dl compact><dt><b>
|
---|
1717 | Returns: </b><dd>
|
---|
1718 | A const pointer to the installed entity resolver object. </dl> </td>
|
---|
1719 | </tr>
|
---|
1720 | </table>
|
---|
1721 | <a name="z463_2" doxytag="SAXParser::getEntityResolver"></a><p>
|
---|
1722 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1723 | <tr>
|
---|
1724 | <td class="md">
|
---|
1725 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1726 | <tr>
|
---|
1727 | <td class="md" nowrap valign="top"> <a class="el" href="classEntityResolver.html">EntityResolver</a> * SAXParser::getEntityResolver </td>
|
---|
1728 | <td class="md" valign="top">( </td>
|
---|
1729 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
1730 | <td class="md" valign="top">) </td>
|
---|
1731 | <td class="md" nowrap></td>
|
---|
1732 | </tr>
|
---|
1733 |
|
---|
1734 | </table>
|
---|
1735 | </td>
|
---|
1736 | </tr>
|
---|
1737 | </table>
|
---|
1738 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1739 | <tr>
|
---|
1740 | <td>
|
---|
1741 |
|
---|
1742 | </td>
|
---|
1743 | <td>
|
---|
1744 |
|
---|
1745 | <p>
|
---|
1746 | This method returns the installed entity resolver.
|
---|
1747 | <p>
|
---|
1748 | Suitable for 'lvalue' usages.
|
---|
1749 | <p>
|
---|
1750 | <dl compact><dt><b>
|
---|
1751 | Returns: </b><dd>
|
---|
1752 | The pointer to the installed entity resolver object. </dl> </td>
|
---|
1753 | </tr>
|
---|
1754 | </table>
|
---|
1755 | <a name="z463_15" doxytag="SAXParser::getErrorCount"></a><p>
|
---|
1756 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1757 | <tr>
|
---|
1758 | <td class="md">
|
---|
1759 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1760 | <tr>
|
---|
1761 | <td class="md" nowrap valign="top"> int SAXParser::getErrorCount </td>
|
---|
1762 | <td class="md" valign="top">( </td>
|
---|
1763 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
1764 | <td class="md" valign="top">) </td>
|
---|
1765 | <td class="md" nowrap> const</td>
|
---|
1766 | </tr>
|
---|
1767 |
|
---|
1768 | </table>
|
---|
1769 | </td>
|
---|
1770 | </tr>
|
---|
1771 | </table>
|
---|
1772 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1773 | <tr>
|
---|
1774 | <td>
|
---|
1775 |
|
---|
1776 | </td>
|
---|
1777 | <td>
|
---|
1778 |
|
---|
1779 | <p>
|
---|
1780 | Get error count from the last parse operation.
|
---|
1781 | <p>
|
---|
1782 | This method returns the error count from the last parse operation. Note that this count is actually stored in the scanner, so this method simply returns what the scanner reports.
|
---|
1783 | <p>
|
---|
1784 | <dl compact><dt><b>
|
---|
1785 | Returns: </b><dd>
|
---|
1786 | number of errors encountered during the latest parse operation. </dl> </td>
|
---|
1787 | </tr>
|
---|
1788 | </table>
|
---|
1789 | <a name="z463_7" doxytag="SAXParser::getErrorHandler"></a><p>
|
---|
1790 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1791 | <tr>
|
---|
1792 | <td class="md">
|
---|
1793 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1794 | <tr>
|
---|
1795 | <td class="md" nowrap valign="top"> const <a class="el" href="classErrorHandler.html">ErrorHandler</a> * SAXParser::getErrorHandler </td>
|
---|
1796 | <td class="md" valign="top">( </td>
|
---|
1797 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
1798 | <td class="md" valign="top">) </td>
|
---|
1799 | <td class="md" nowrap> const</td>
|
---|
1800 | </tr>
|
---|
1801 |
|
---|
1802 | </table>
|
---|
1803 | </td>
|
---|
1804 | </tr>
|
---|
1805 | </table>
|
---|
1806 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1807 | <tr>
|
---|
1808 | <td>
|
---|
1809 |
|
---|
1810 | </td>
|
---|
1811 | <td>
|
---|
1812 |
|
---|
1813 | <p>
|
---|
1814 | This method returns the installed error handler.
|
---|
1815 | <p>
|
---|
1816 | Suitable for 'rvalue' usages.
|
---|
1817 | <p>
|
---|
1818 | <dl compact><dt><b>
|
---|
1819 | Returns: </b><dd>
|
---|
1820 | A const pointer to the installed error handler object. </dl> </td>
|
---|
1821 | </tr>
|
---|
1822 | </table>
|
---|
1823 | <a name="z463_6" doxytag="SAXParser::getErrorHandler"></a><p>
|
---|
1824 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1825 | <tr>
|
---|
1826 | <td class="md">
|
---|
1827 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1828 | <tr>
|
---|
1829 | <td class="md" nowrap valign="top"> <a class="el" href="classErrorHandler.html">ErrorHandler</a> * SAXParser::getErrorHandler </td>
|
---|
1830 | <td class="md" valign="top">( </td>
|
---|
1831 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
1832 | <td class="md" valign="top">) </td>
|
---|
1833 | <td class="md" nowrap></td>
|
---|
1834 | </tr>
|
---|
1835 |
|
---|
1836 | </table>
|
---|
1837 | </td>
|
---|
1838 | </tr>
|
---|
1839 | </table>
|
---|
1840 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1841 | <tr>
|
---|
1842 | <td>
|
---|
1843 |
|
---|
1844 | </td>
|
---|
1845 | <td>
|
---|
1846 |
|
---|
1847 | <p>
|
---|
1848 | This method returns the installed error handler.
|
---|
1849 | <p>
|
---|
1850 | Suitable for 'lvalue' usages.
|
---|
1851 | <p>
|
---|
1852 | <dl compact><dt><b>
|
---|
1853 | Returns: </b><dd>
|
---|
1854 | The pointer to the installed error handler object. </dl> </td>
|
---|
1855 | </tr>
|
---|
1856 | </table>
|
---|
1857 | <a name="z463_17" doxytag="SAXParser::getExitOnFirstFatalError"></a><p>
|
---|
1858 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1859 | <tr>
|
---|
1860 | <td class="md">
|
---|
1861 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1862 | <tr>
|
---|
1863 | <td class="md" nowrap valign="top"> bool SAXParser::getExitOnFirstFatalError </td>
|
---|
1864 | <td class="md" valign="top">( </td>
|
---|
1865 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
1866 | <td class="md" valign="top">) </td>
|
---|
1867 | <td class="md" nowrap> const</td>
|
---|
1868 | </tr>
|
---|
1869 |
|
---|
1870 | </table>
|
---|
1871 | </td>
|
---|
1872 | </tr>
|
---|
1873 | </table>
|
---|
1874 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1875 | <tr>
|
---|
1876 | <td>
|
---|
1877 |
|
---|
1878 | </td>
|
---|
1879 | <td>
|
---|
1880 |
|
---|
1881 | <p>
|
---|
1882 | This method returns the state of the parser's exit-on-First-Fatal-Error flag.
|
---|
1883 | <p>
|
---|
1884 | <dl compact><dt><b>
|
---|
1885 | Returns: </b><dd>
|
---|
1886 | true, if the parser is currently configured to exit on the first fatal error, false otherwise.</dl><dl compact><dt><b>
|
---|
1887 | See also: </b><dd>
|
---|
1888 | <a class="el" href="classSAXParser.html#z464_7">setExitOnFirstFatalError</a> </dl> </td>
|
---|
1889 | </tr>
|
---|
1890 | </table>
|
---|
1891 | <a name="z463_20" doxytag="SAXParser::getExternalNoNamespaceSchemaLocation"></a><p>
|
---|
1892 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1893 | <tr>
|
---|
1894 | <td class="md">
|
---|
1895 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1896 | <tr>
|
---|
1897 | <td class="md" nowrap valign="top"> XMLCh* SAXParser::getExternalNoNamespaceSchemaLocation </td>
|
---|
1898 | <td class="md" valign="top">( </td>
|
---|
1899 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
1900 | <td class="md" valign="top">) </td>
|
---|
1901 | <td class="md" nowrap> const</td>
|
---|
1902 | </tr>
|
---|
1903 |
|
---|
1904 | </table>
|
---|
1905 | </td>
|
---|
1906 | </tr>
|
---|
1907 | </table>
|
---|
1908 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1909 | <tr>
|
---|
1910 | <td>
|
---|
1911 |
|
---|
1912 | </td>
|
---|
1913 | <td>
|
---|
1914 |
|
---|
1915 | <p>
|
---|
1916 | Get the noNamespace SchemaLocation that is specified externaly.
|
---|
1917 | <p>
|
---|
1918 | This method returns the no target namespace XML Schema Location that was specified using setExternalNoNamespaceSchemaLocation.
|
---|
1919 | <p>
|
---|
1920 | The parser owns the returned string, and the memory allocated for the returned string will be destroyed when the parser is deleted.
|
---|
1921 | <p>
|
---|
1922 | To ensure assessiblity of the returned information after the parser is deleted, callers need to copy and store the returned information somewhere else.
|
---|
1923 | <p>
|
---|
1924 | <dl compact><dt><b>
|
---|
1925 | Returns: </b><dd>
|
---|
1926 | a pointer to the no target namespace Schema Location that was specified externally. The pointer spans the same life-time as the parser. A null pointer is returned if nothing was specified externally.</dl><dl compact><dt><b>
|
---|
1927 | See also: </b><dd>
|
---|
1928 | <a class="el" href="classSAXParser.html#z464_11">setExternalNoNamespaceSchemaLocation</a>(const XMLCh* const) </dl> </td>
|
---|
1929 | </tr>
|
---|
1930 | </table>
|
---|
1931 | <a name="z463_19" doxytag="SAXParser::getExternalSchemaLocation"></a><p>
|
---|
1932 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1933 | <tr>
|
---|
1934 | <td class="md">
|
---|
1935 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1936 | <tr>
|
---|
1937 | <td class="md" nowrap valign="top"> XMLCh* SAXParser::getExternalSchemaLocation </td>
|
---|
1938 | <td class="md" valign="top">( </td>
|
---|
1939 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
1940 | <td class="md" valign="top">) </td>
|
---|
1941 | <td class="md" nowrap> const</td>
|
---|
1942 | </tr>
|
---|
1943 |
|
---|
1944 | </table>
|
---|
1945 | </td>
|
---|
1946 | </tr>
|
---|
1947 | </table>
|
---|
1948 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1949 | <tr>
|
---|
1950 | <td>
|
---|
1951 |
|
---|
1952 | </td>
|
---|
1953 | <td>
|
---|
1954 |
|
---|
1955 | <p>
|
---|
1956 | Get the set of Namespace/SchemaLocation that is specified externaly.
|
---|
1957 | <p>
|
---|
1958 | This method returns the list of Namespace/SchemaLocation that was specified using setExternalSchemaLocation.
|
---|
1959 | <p>
|
---|
1960 | The parser owns the returned string, and the memory allocated for the returned string will be destroyed when the parser is deleted.
|
---|
1961 | <p>
|
---|
1962 | To ensure assessiblity of the returned information after the parser is deleted, callers need to copy and store the returned information somewhere else.
|
---|
1963 | <p>
|
---|
1964 | <dl compact><dt><b>
|
---|
1965 | Returns: </b><dd>
|
---|
1966 | a pointer to the list of Namespace/SchemaLocation that was specified externally. The pointer spans the same life-time as the parser. A null pointer is returned if nothing was specified externally.</dl><dl compact><dt><b>
|
---|
1967 | See also: </b><dd>
|
---|
1968 | <a class="el" href="classSAXParser.html#z464_9">setExternalSchemaLocation</a>(const XMLCh* const) </dl> </td>
|
---|
1969 | </tr>
|
---|
1970 | </table>
|
---|
1971 | <a name="z463_31" doxytag="SAXParser::getGenerateSyntheticAnnotations"></a><p>
|
---|
1972 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1973 | <tr>
|
---|
1974 | <td class="md">
|
---|
1975 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1976 | <tr>
|
---|
1977 | <td class="md" nowrap valign="top"> bool SAXParser::getGenerateSyntheticAnnotations </td>
|
---|
1978 | <td class="md" valign="top">( </td>
|
---|
1979 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
1980 | <td class="md" valign="top">) </td>
|
---|
1981 | <td class="md" nowrap> const</td>
|
---|
1982 | </tr>
|
---|
1983 |
|
---|
1984 | </table>
|
---|
1985 | </td>
|
---|
1986 | </tr>
|
---|
1987 | </table>
|
---|
1988 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1989 | <tr>
|
---|
1990 | <td>
|
---|
1991 |
|
---|
1992 | </td>
|
---|
1993 | <td>
|
---|
1994 |
|
---|
1995 | <p>
|
---|
1996 | Get the 'generate synthetic annotations' flag.
|
---|
1997 | <p>
|
---|
1998 | <dl compact><dt><b>
|
---|
1999 | Returns: </b><dd>
|
---|
2000 | true, if the parser is currently configured to generate synthetic annotations, false otherwise. A synthetic <a class="el" href="classXSAnnotation.html">XSAnnotation</a> is created when a schema component has non-schema attributes but has no child annotations so that the non-schema attributes can be recovered under PSVI.</dl><dl compact><dt><b>
|
---|
2001 | See also: </b><dd>
|
---|
2002 | <a class="el" href="classSAXParser.html#z464_0">setGenerateSyntheticAnnotations</a> </dl> </td>
|
---|
2003 | </tr>
|
---|
2004 | </table>
|
---|
2005 | <a name="z463_27" doxytag="SAXParser::getGrammar"></a><p>
|
---|
2006 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2007 | <tr>
|
---|
2008 | <td class="md">
|
---|
2009 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2010 | <tr>
|
---|
2011 | <td class="md" nowrap valign="top"> <a class="el" href="XSModel_8hpp.html#a1">Grammar</a>* SAXParser::getGrammar </td>
|
---|
2012 | <td class="md" valign="top">( </td>
|
---|
2013 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
2014 | <td class="mdname1" valign="top" nowrap> <em>nameSpaceKey</em> </td>
|
---|
2015 | <td class="md" valign="top">) </td>
|
---|
2016 | <td class="md" nowrap></td>
|
---|
2017 | </tr>
|
---|
2018 |
|
---|
2019 | </table>
|
---|
2020 | </td>
|
---|
2021 | </tr>
|
---|
2022 | </table>
|
---|
2023 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2024 | <tr>
|
---|
2025 | <td>
|
---|
2026 |
|
---|
2027 | </td>
|
---|
2028 | <td>
|
---|
2029 |
|
---|
2030 | <p>
|
---|
2031 | Retrieve the grammar that is associated with the specified namespace key.
|
---|
2032 | <p>
|
---|
2033 | <dl compact><dt><b>
|
---|
2034 | Parameters: </b><dd>
|
---|
2035 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
2036 | <tr><td valign=top><em>nameSpaceKey</em> </td><td>
|
---|
2037 | Namespace key </td></tr>
|
---|
2038 | </table>
|
---|
2039 | </dl><dl compact><dt><b>
|
---|
2040 | Returns: </b><dd>
|
---|
2041 | Grammar associated with the Namespace key. </dl> </td>
|
---|
2042 | </tr>
|
---|
2043 | </table>
|
---|
2044 | <a name="b1" doxytag="SAXParser::getGrammarResolver"></a><p>
|
---|
2045 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2046 | <tr>
|
---|
2047 | <td class="md">
|
---|
2048 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2049 | <tr>
|
---|
2050 | <td class="md" nowrap valign="top"> GrammarResolver * SAXParser::getGrammarResolver </td>
|
---|
2051 | <td class="md" valign="top">( </td>
|
---|
2052 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
2053 | <td class="md" valign="top">) </td>
|
---|
2054 | <td class="md" nowrap> const<code> [protected]</code></td>
|
---|
2055 | </tr>
|
---|
2056 |
|
---|
2057 | </table>
|
---|
2058 | </td>
|
---|
2059 | </tr>
|
---|
2060 | </table>
|
---|
2061 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2062 | <tr>
|
---|
2063 | <td>
|
---|
2064 |
|
---|
2065 | </td>
|
---|
2066 | <td>
|
---|
2067 |
|
---|
2068 | <p>
|
---|
2069 | Get the Grammar resolver.
|
---|
2070 | <p>
|
---|
2071 | This provides derived classes with access to the grammar resolver. </td>
|
---|
2072 | </tr>
|
---|
2073 | </table>
|
---|
2074 | <a name="z463_14" doxytag="SAXParser::getIdentityConstraintChecking"></a><p>
|
---|
2075 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2076 | <tr>
|
---|
2077 | <td class="md">
|
---|
2078 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2079 | <tr>
|
---|
2080 | <td class="md" nowrap valign="top"> bool SAXParser::getIdentityConstraintChecking </td>
|
---|
2081 | <td class="md" valign="top">( </td>
|
---|
2082 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
2083 | <td class="md" valign="top">) </td>
|
---|
2084 | <td class="md" nowrap> const</td>
|
---|
2085 | </tr>
|
---|
2086 |
|
---|
2087 | </table>
|
---|
2088 | </td>
|
---|
2089 | </tr>
|
---|
2090 | </table>
|
---|
2091 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2092 | <tr>
|
---|
2093 | <td>
|
---|
2094 |
|
---|
2095 | </td>
|
---|
2096 | <td>
|
---|
2097 |
|
---|
2098 | <p>
|
---|
2099 | Get the 'identity constraint checking' flag.
|
---|
2100 | <p>
|
---|
2101 | This method returns the state of the parser's identity constraint checking flag.
|
---|
2102 | <p>
|
---|
2103 | <dl compact><dt><b>
|
---|
2104 | Returns: </b><dd>
|
---|
2105 | true, if the parser is currently configured to have identity constraint checking, false otherwise.</dl><dl compact><dt><b>
|
---|
2106 | See also: </b><dd>
|
---|
2107 | <a class="el" href="classSAXParser.html#z464_6">setIdentityConstraintChecking</a> </dl> </td>
|
---|
2108 | </tr>
|
---|
2109 | </table>
|
---|
2110 | <a name="z463_22" doxytag="SAXParser::getLoadExternalDTD"></a><p>
|
---|
2111 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2112 | <tr>
|
---|
2113 | <td class="md">
|
---|
2114 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2115 | <tr>
|
---|
2116 | <td class="md" nowrap valign="top"> bool SAXParser::getLoadExternalDTD </td>
|
---|
2117 | <td class="md" valign="top">( </td>
|
---|
2118 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
2119 | <td class="md" valign="top">) </td>
|
---|
2120 | <td class="md" nowrap> const</td>
|
---|
2121 | </tr>
|
---|
2122 |
|
---|
2123 | </table>
|
---|
2124 | </td>
|
---|
2125 | </tr>
|
---|
2126 | </table>
|
---|
2127 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2128 | <tr>
|
---|
2129 | <td>
|
---|
2130 |
|
---|
2131 | </td>
|
---|
2132 | <td>
|
---|
2133 |
|
---|
2134 | <p>
|
---|
2135 | Get the 'Loading External DTD' flag.
|
---|
2136 | <p>
|
---|
2137 | This method returns the state of the parser's loading external DTD flag.
|
---|
2138 | <p>
|
---|
2139 | <dl compact><dt><b>
|
---|
2140 | Returns: </b><dd>
|
---|
2141 | false, if the parser is currently configured to ignore external DTD completely, true otherwise.</dl><dl compact><dt><b>
|
---|
2142 | See also: </b><dd>
|
---|
2143 | <a class="el" href="classSAXParser.html#z464_14">setLoadExternalDTD</a> , <a class="el" href="classSAXParser.html#z463_11">getValidationScheme</a> </dl> </td>
|
---|
2144 | </tr>
|
---|
2145 | </table>
|
---|
2146 | <a name="z463_9" doxytag="SAXParser::getPSVIHandler"></a><p>
|
---|
2147 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2148 | <tr>
|
---|
2149 | <td class="md">
|
---|
2150 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2151 | <tr>
|
---|
2152 | <td class="md" nowrap valign="top"> const <a class="el" href="classPSVIHandler.html">PSVIHandler</a> * SAXParser::getPSVIHandler </td>
|
---|
2153 | <td class="md" valign="top">( </td>
|
---|
2154 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
2155 | <td class="md" valign="top">) </td>
|
---|
2156 | <td class="md" nowrap> const</td>
|
---|
2157 | </tr>
|
---|
2158 |
|
---|
2159 | </table>
|
---|
2160 | </td>
|
---|
2161 | </tr>
|
---|
2162 | </table>
|
---|
2163 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2164 | <tr>
|
---|
2165 | <td>
|
---|
2166 |
|
---|
2167 | </td>
|
---|
2168 | <td>
|
---|
2169 |
|
---|
2170 | <p>
|
---|
2171 | This method returns the installed PSVI handler.
|
---|
2172 | <p>
|
---|
2173 | Suitable for 'rvalue' usages.
|
---|
2174 | <p>
|
---|
2175 | <dl compact><dt><b>
|
---|
2176 | Returns: </b><dd>
|
---|
2177 | A const pointer to the installed PSVI handler object. </dl> </td>
|
---|
2178 | </tr>
|
---|
2179 | </table>
|
---|
2180 | <a name="z463_8" doxytag="SAXParser::getPSVIHandler"></a><p>
|
---|
2181 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2182 | <tr>
|
---|
2183 | <td class="md">
|
---|
2184 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2185 | <tr>
|
---|
2186 | <td class="md" nowrap valign="top"> <a class="el" href="classPSVIHandler.html">PSVIHandler</a> * SAXParser::getPSVIHandler </td>
|
---|
2187 | <td class="md" valign="top">( </td>
|
---|
2188 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
2189 | <td class="md" valign="top">) </td>
|
---|
2190 | <td class="md" nowrap></td>
|
---|
2191 | </tr>
|
---|
2192 |
|
---|
2193 | </table>
|
---|
2194 | </td>
|
---|
2195 | </tr>
|
---|
2196 | </table>
|
---|
2197 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2198 | <tr>
|
---|
2199 | <td>
|
---|
2200 |
|
---|
2201 | </td>
|
---|
2202 | <td>
|
---|
2203 |
|
---|
2204 | <p>
|
---|
2205 | This method returns the installed PSVI handler.
|
---|
2206 | <p>
|
---|
2207 | Suitable for 'lvalue' usages.
|
---|
2208 | <p>
|
---|
2209 | <dl compact><dt><b>
|
---|
2210 | Returns: </b><dd>
|
---|
2211 | The pointer to the installed PSVI handler object. </dl> </td>
|
---|
2212 | </tr>
|
---|
2213 | </table>
|
---|
2214 | <a name="z463_28" doxytag="SAXParser::getRootGrammar"></a><p>
|
---|
2215 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2216 | <tr>
|
---|
2217 | <td class="md">
|
---|
2218 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2219 | <tr>
|
---|
2220 | <td class="md" nowrap valign="top"> <a class="el" href="XSModel_8hpp.html#a1">Grammar</a>* SAXParser::getRootGrammar </td>
|
---|
2221 | <td class="md" valign="top">( </td>
|
---|
2222 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
2223 | <td class="md" valign="top">) </td>
|
---|
2224 | <td class="md" nowrap></td>
|
---|
2225 | </tr>
|
---|
2226 |
|
---|
2227 | </table>
|
---|
2228 | </td>
|
---|
2229 | </tr>
|
---|
2230 | </table>
|
---|
2231 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2232 | <tr>
|
---|
2233 | <td>
|
---|
2234 |
|
---|
2235 | </td>
|
---|
2236 | <td>
|
---|
2237 |
|
---|
2238 | <p>
|
---|
2239 | Retrieve the grammar where the root element is declared.
|
---|
2240 | <p>
|
---|
2241 | <dl compact><dt><b>
|
---|
2242 | Returns: </b><dd>
|
---|
2243 | Grammar where root element declared </dl> </td>
|
---|
2244 | </tr>
|
---|
2245 | </table>
|
---|
2246 | <a name="b0" doxytag="SAXParser::getScanner"></a><p>
|
---|
2247 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2248 | <tr>
|
---|
2249 | <td class="md">
|
---|
2250 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2251 | <tr>
|
---|
2252 | <td class="md" nowrap valign="top"> const XMLScanner & SAXParser::getScanner </td>
|
---|
2253 | <td class="md" valign="top">( </td>
|
---|
2254 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
2255 | <td class="md" valign="top">) </td>
|
---|
2256 | <td class="md" nowrap> const<code> [protected]</code></td>
|
---|
2257 | </tr>
|
---|
2258 |
|
---|
2259 | </table>
|
---|
2260 | </td>
|
---|
2261 | </tr>
|
---|
2262 | </table>
|
---|
2263 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2264 | <tr>
|
---|
2265 | <td>
|
---|
2266 |
|
---|
2267 | </td>
|
---|
2268 | <td>
|
---|
2269 |
|
---|
2270 | <p>
|
---|
2271 | This method returns a reference to the underlying scanner object.
|
---|
2272 | <p>
|
---|
2273 | It allows read only access to data maintained in the scanner.
|
---|
2274 | <p>
|
---|
2275 | <dl compact><dt><b>
|
---|
2276 | Returns: </b><dd>
|
---|
2277 | A const reference to the underlying scanner object. </dl> </td>
|
---|
2278 | </tr>
|
---|
2279 | </table>
|
---|
2280 | <a name="z463_21" doxytag="SAXParser::getSecurityManager"></a><p>
|
---|
2281 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2282 | <tr>
|
---|
2283 | <td class="md">
|
---|
2284 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2285 | <tr>
|
---|
2286 | <td class="md" nowrap valign="top"> <a class="el" href="classSecurityManager.html">SecurityManager</a>* SAXParser::getSecurityManager </td>
|
---|
2287 | <td class="md" valign="top">( </td>
|
---|
2288 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
2289 | <td class="md" valign="top">) </td>
|
---|
2290 | <td class="md" nowrap> const</td>
|
---|
2291 | </tr>
|
---|
2292 |
|
---|
2293 | </table>
|
---|
2294 | </td>
|
---|
2295 | </tr>
|
---|
2296 | </table>
|
---|
2297 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2298 | <tr>
|
---|
2299 | <td>
|
---|
2300 |
|
---|
2301 | </td>
|
---|
2302 | <td>
|
---|
2303 |
|
---|
2304 | <p>
|
---|
2305 | Get the <a class="el" href="classSecurityManager.html">SecurityManager</a> instance attached to this parser.
|
---|
2306 | <p>
|
---|
2307 | This method returns the security manager that was specified using setSecurityManager.
|
---|
2308 | <p>
|
---|
2309 | The <a class="el" href="classSecurityManager.html">SecurityManager</a> instance must have been specified by the application; this should not be deleted until after the parser has been deleted (or a new <a class="el" href="classSecurityManager.html">SecurityManager</a> instance has been supplied to the parser).
|
---|
2310 | <p>
|
---|
2311 | <dl compact><dt><b>
|
---|
2312 | Returns: </b><dd>
|
---|
2313 | a pointer to the <a class="el" href="classSecurityManager.html">SecurityManager</a> instance specified externally. A null pointer is returned if nothing was specified externally.</dl><dl compact><dt><b>
|
---|
2314 | See also: </b><dd>
|
---|
2315 | setSecurityManager(const SecurityManager* const) </dl> </td>
|
---|
2316 | </tr>
|
---|
2317 | </table>
|
---|
2318 | <a name="z463_30" doxytag="SAXParser::getSrcOffset"></a><p>
|
---|
2319 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2320 | <tr>
|
---|
2321 | <td class="md">
|
---|
2322 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2323 | <tr>
|
---|
2324 | <td class="md" nowrap valign="top"> unsigned int SAXParser::getSrcOffset </td>
|
---|
2325 | <td class="md" valign="top">( </td>
|
---|
2326 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
2327 | <td class="md" valign="top">) </td>
|
---|
2328 | <td class="md" nowrap> const</td>
|
---|
2329 | </tr>
|
---|
2330 |
|
---|
2331 | </table>
|
---|
2332 | </td>
|
---|
2333 | </tr>
|
---|
2334 | </table>
|
---|
2335 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2336 | <tr>
|
---|
2337 | <td>
|
---|
2338 |
|
---|
2339 | </td>
|
---|
2340 | <td>
|
---|
2341 |
|
---|
2342 | <p>
|
---|
2343 | Returns the current src offset within the input source.
|
---|
2344 | <p>
|
---|
2345 | <dl compact><dt><b>
|
---|
2346 | Returns: </b><dd>
|
---|
2347 | offset within the input source </dl> </td>
|
---|
2348 | </tr>
|
---|
2349 | </table>
|
---|
2350 | <a name="z463_26" doxytag="SAXParser::getStandardUriConformant"></a><p>
|
---|
2351 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2352 | <tr>
|
---|
2353 | <td class="md">
|
---|
2354 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2355 | <tr>
|
---|
2356 | <td class="md" nowrap valign="top"> bool SAXParser::getStandardUriConformant </td>
|
---|
2357 | <td class="md" valign="top">( </td>
|
---|
2358 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
2359 | <td class="md" valign="top">) </td>
|
---|
2360 | <td class="md" nowrap> const</td>
|
---|
2361 | </tr>
|
---|
2362 |
|
---|
2363 | </table>
|
---|
2364 | </td>
|
---|
2365 | </tr>
|
---|
2366 | </table>
|
---|
2367 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2368 | <tr>
|
---|
2369 | <td>
|
---|
2370 |
|
---|
2371 | </td>
|
---|
2372 | <td>
|
---|
2373 |
|
---|
2374 | <p>
|
---|
2375 | Get the 'force standard uri flag'.
|
---|
2376 | <p>
|
---|
2377 | This method returns the state if the parser forces standard uri
|
---|
2378 | <p>
|
---|
2379 | <dl compact><dt><b>
|
---|
2380 | Returns: </b><dd>
|
---|
2381 | true, if the parser is currently configured to force standard uri, i.e. malformed uri will be rejected.</dl><dl compact><dt><b>
|
---|
2382 | See also: </b><dd>
|
---|
2383 | <a class="el" href="classSAXParser.html#z464_18">setStandardUriConformant</a> </dl> </td>
|
---|
2384 | </tr>
|
---|
2385 | </table>
|
---|
2386 | <a name="z463_29" doxytag="SAXParser::getURIText"></a><p>
|
---|
2387 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2388 | <tr>
|
---|
2389 | <td class="md">
|
---|
2390 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2391 | <tr>
|
---|
2392 | <td class="md" nowrap valign="top"> const XMLCh* SAXParser::getURIText </td>
|
---|
2393 | <td class="md" valign="top">( </td>
|
---|
2394 | <td class="md" nowrap valign="top">unsigned int </td>
|
---|
2395 | <td class="mdname1" valign="top" nowrap> <em>uriId</em> </td>
|
---|
2396 | <td class="md" valign="top">) </td>
|
---|
2397 | <td class="md" nowrap> const</td>
|
---|
2398 | </tr>
|
---|
2399 |
|
---|
2400 | </table>
|
---|
2401 | </td>
|
---|
2402 | </tr>
|
---|
2403 | </table>
|
---|
2404 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2405 | <tr>
|
---|
2406 | <td>
|
---|
2407 |
|
---|
2408 | </td>
|
---|
2409 | <td>
|
---|
2410 |
|
---|
2411 | <p>
|
---|
2412 | Returns the string corresponding to a URI id from the URI string pool.
|
---|
2413 | <p>
|
---|
2414 | <dl compact><dt><b>
|
---|
2415 | Parameters: </b><dd>
|
---|
2416 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
2417 | <tr><td valign=top><em>uriId</em> </td><td>
|
---|
2418 | id of the string in the URI string pool. </td></tr>
|
---|
2419 | </table>
|
---|
2420 | </dl><dl compact><dt><b>
|
---|
2421 | Returns: </b><dd>
|
---|
2422 | URI string corresponding to the URI id. </dl> </td>
|
---|
2423 | </tr>
|
---|
2424 | </table>
|
---|
2425 | <a name="z463_32" doxytag="SAXParser::getValidateAnnotations"></a><p>
|
---|
2426 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2427 | <tr>
|
---|
2428 | <td class="md">
|
---|
2429 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2430 | <tr>
|
---|
2431 | <td class="md" nowrap valign="top"> bool SAXParser::getValidateAnnotations </td>
|
---|
2432 | <td class="md" valign="top">( </td>
|
---|
2433 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
2434 | <td class="md" valign="top">) </td>
|
---|
2435 | <td class="md" nowrap> const</td>
|
---|
2436 | </tr>
|
---|
2437 |
|
---|
2438 | </table>
|
---|
2439 | </td>
|
---|
2440 | </tr>
|
---|
2441 | </table>
|
---|
2442 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2443 | <tr>
|
---|
2444 | <td>
|
---|
2445 |
|
---|
2446 | </td>
|
---|
2447 | <td>
|
---|
2448 |
|
---|
2449 | <p>
|
---|
2450 | Get the 'validate annotations' flag.
|
---|
2451 | <p>
|
---|
2452 | <dl compact><dt><b>
|
---|
2453 | Returns: </b><dd>
|
---|
2454 | true, if the parser is currently configured to validate annotations, false otherwise.</dl><dl compact><dt><b>
|
---|
2455 | See also: </b><dd>
|
---|
2456 | <a class="el" href="classSAXParser.html#z464_1">setValidateAnnotations</a> </dl> </td>
|
---|
2457 | </tr>
|
---|
2458 | </table>
|
---|
2459 | <a name="z463_18" doxytag="SAXParser::getValidationConstraintFatal"></a><p>
|
---|
2460 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2461 | <tr>
|
---|
2462 | <td class="md">
|
---|
2463 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2464 | <tr>
|
---|
2465 | <td class="md" nowrap valign="top"> bool SAXParser::getValidationConstraintFatal </td>
|
---|
2466 | <td class="md" valign="top">( </td>
|
---|
2467 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
2468 | <td class="md" valign="top">) </td>
|
---|
2469 | <td class="md" nowrap> const</td>
|
---|
2470 | </tr>
|
---|
2471 |
|
---|
2472 | </table>
|
---|
2473 | </td>
|
---|
2474 | </tr>
|
---|
2475 | </table>
|
---|
2476 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2477 | <tr>
|
---|
2478 | <td>
|
---|
2479 |
|
---|
2480 | </td>
|
---|
2481 | <td>
|
---|
2482 |
|
---|
2483 | <p>
|
---|
2484 | This method returns the state of the parser's validation-constraint-fatal flag.
|
---|
2485 | <p>
|
---|
2486 | <dl compact><dt><b>
|
---|
2487 | Returns: </b><dd>
|
---|
2488 | true, if the parser is currently configured to set validation constraint errors as fatal, false otherwise.</dl><dl compact><dt><b>
|
---|
2489 | See also: </b><dd>
|
---|
2490 | setValidationContraintFatal </dl> </td>
|
---|
2491 | </tr>
|
---|
2492 | </table>
|
---|
2493 | <a name="z463_13" doxytag="SAXParser::getValidationSchemaFullChecking"></a><p>
|
---|
2494 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2495 | <tr>
|
---|
2496 | <td class="md">
|
---|
2497 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2498 | <tr>
|
---|
2499 | <td class="md" nowrap valign="top"> bool SAXParser::getValidationSchemaFullChecking </td>
|
---|
2500 | <td class="md" valign="top">( </td>
|
---|
2501 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
2502 | <td class="md" valign="top">) </td>
|
---|
2503 | <td class="md" nowrap> const</td>
|
---|
2504 | </tr>
|
---|
2505 |
|
---|
2506 | </table>
|
---|
2507 | </td>
|
---|
2508 | </tr>
|
---|
2509 | </table>
|
---|
2510 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2511 | <tr>
|
---|
2512 | <td>
|
---|
2513 |
|
---|
2514 | </td>
|
---|
2515 | <td>
|
---|
2516 |
|
---|
2517 | <p>
|
---|
2518 | Get the 'full schema constraint checking' flag.
|
---|
2519 | <p>
|
---|
2520 | This method returns the state of the parser's full schema constraint checking flag.
|
---|
2521 | <p>
|
---|
2522 | <dl compact><dt><b>
|
---|
2523 | Returns: </b><dd>
|
---|
2524 | true, if the parser is currently configured to have full schema constraint checking, false otherwise.</dl><dl compact><dt><b>
|
---|
2525 | See also: </b><dd>
|
---|
2526 | <a class="el" href="classSAXParser.html#z464_5">setValidationSchemaFullChecking</a> </dl> </td>
|
---|
2527 | </tr>
|
---|
2528 | </table>
|
---|
2529 | <a name="z463_11" doxytag="SAXParser::getValidationScheme"></a><p>
|
---|
2530 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2531 | <tr>
|
---|
2532 | <td class="md">
|
---|
2533 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2534 | <tr>
|
---|
2535 | <td class="md" nowrap valign="top"> <a class="el" href="classSAXParser.html#s3">ValSchemes</a> SAXParser::getValidationScheme </td>
|
---|
2536 | <td class="md" valign="top">( </td>
|
---|
2537 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
2538 | <td class="md" valign="top">) </td>
|
---|
2539 | <td class="md" nowrap> const</td>
|
---|
2540 | </tr>
|
---|
2541 |
|
---|
2542 | </table>
|
---|
2543 | </td>
|
---|
2544 | </tr>
|
---|
2545 | </table>
|
---|
2546 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2547 | <tr>
|
---|
2548 | <td>
|
---|
2549 |
|
---|
2550 | </td>
|
---|
2551 | <td>
|
---|
2552 |
|
---|
2553 | <p>
|
---|
2554 | This method returns an enumerated value that indicates the current validation scheme set on this parser.
|
---|
2555 | <p>
|
---|
2556 | <dl compact><dt><b>
|
---|
2557 | Returns: </b><dd>
|
---|
2558 | The ValSchemes value current set on this parser. </dl><dl compact><dt><b>
|
---|
2559 | See also: </b><dd>
|
---|
2560 | <a class="el" href="classSAXParser.html#z464_3">setValidationScheme</a> </dl> </td>
|
---|
2561 | </tr>
|
---|
2562 | </table>
|
---|
2563 | <a name="z463_10" doxytag="SAXParser::getValidator"></a><p>
|
---|
2564 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2565 | <tr>
|
---|
2566 | <td class="md">
|
---|
2567 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2568 | <tr>
|
---|
2569 | <td class="md" nowrap valign="top"> const <a class="el" href="classXMLValidator.html">XMLValidator</a>& SAXParser::getValidator </td>
|
---|
2570 | <td class="md" valign="top">( </td>
|
---|
2571 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
2572 | <td class="md" valign="top">) </td>
|
---|
2573 | <td class="md" nowrap> const</td>
|
---|
2574 | </tr>
|
---|
2575 |
|
---|
2576 | </table>
|
---|
2577 | </td>
|
---|
2578 | </tr>
|
---|
2579 | </table>
|
---|
2580 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2581 | <tr>
|
---|
2582 | <td>
|
---|
2583 |
|
---|
2584 | </td>
|
---|
2585 | <td>
|
---|
2586 |
|
---|
2587 | <p>
|
---|
2588 | This method returns a reference to the parser's installed validator.
|
---|
2589 | <p>
|
---|
2590 | <dl compact><dt><b>
|
---|
2591 | Returns: </b><dd>
|
---|
2592 | A const reference to the installed validator object. </dl> </td>
|
---|
2593 | </tr>
|
---|
2594 | </table>
|
---|
2595 | <a name="z463_5" doxytag="SAXParser::getXMLEntityResolver"></a><p>
|
---|
2596 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2597 | <tr>
|
---|
2598 | <td class="md">
|
---|
2599 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2600 | <tr>
|
---|
2601 | <td class="md" nowrap valign="top"> const <a class="el" href="classXMLEntityResolver.html">XMLEntityResolver</a> * SAXParser::getXMLEntityResolver </td>
|
---|
2602 | <td class="md" valign="top">( </td>
|
---|
2603 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
2604 | <td class="md" valign="top">) </td>
|
---|
2605 | <td class="md" nowrap> const</td>
|
---|
2606 | </tr>
|
---|
2607 |
|
---|
2608 | </table>
|
---|
2609 | </td>
|
---|
2610 | </tr>
|
---|
2611 | </table>
|
---|
2612 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2613 | <tr>
|
---|
2614 | <td>
|
---|
2615 |
|
---|
2616 | </td>
|
---|
2617 | <td>
|
---|
2618 |
|
---|
2619 | <p>
|
---|
2620 | This method returns the installed entity resolver.
|
---|
2621 | <p>
|
---|
2622 | Suitable for 'rvalue' usages.
|
---|
2623 | <p>
|
---|
2624 | <dl compact><dt><b>
|
---|
2625 | Returns: </b><dd>
|
---|
2626 | A const pointer to the installed entity resolver object. </dl> </td>
|
---|
2627 | </tr>
|
---|
2628 | </table>
|
---|
2629 | <a name="z463_4" doxytag="SAXParser::getXMLEntityResolver"></a><p>
|
---|
2630 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2631 | <tr>
|
---|
2632 | <td class="md">
|
---|
2633 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2634 | <tr>
|
---|
2635 | <td class="md" nowrap valign="top"> <a class="el" href="classXMLEntityResolver.html">XMLEntityResolver</a> * SAXParser::getXMLEntityResolver </td>
|
---|
2636 | <td class="md" valign="top">( </td>
|
---|
2637 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
2638 | <td class="md" valign="top">) </td>
|
---|
2639 | <td class="md" nowrap></td>
|
---|
2640 | </tr>
|
---|
2641 |
|
---|
2642 | </table>
|
---|
2643 | </td>
|
---|
2644 | </tr>
|
---|
2645 | </table>
|
---|
2646 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2647 | <tr>
|
---|
2648 | <td>
|
---|
2649 |
|
---|
2650 | </td>
|
---|
2651 | <td>
|
---|
2652 |
|
---|
2653 | <p>
|
---|
2654 | This method returns the installed entity resolver.
|
---|
2655 | <p>
|
---|
2656 | Suitable for 'lvalue' usages.
|
---|
2657 | <p>
|
---|
2658 | <dl compact><dt><b>
|
---|
2659 | Returns: </b><dd>
|
---|
2660 | The pointer to the installed entity resolver object. </dl> </td>
|
---|
2661 | </tr>
|
---|
2662 | </table>
|
---|
2663 | <a name="z469_6" doxytag="SAXParser::ignorableWhitespace"></a><p>
|
---|
2664 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2665 | <tr>
|
---|
2666 | <td class="md">
|
---|
2667 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2668 | <tr>
|
---|
2669 | <td class="md" nowrap valign="top"> virtual void SAXParser::ignorableWhitespace </td>
|
---|
2670 | <td class="md" valign="top">( </td>
|
---|
2671 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
2672 | <td class="mdname" nowrap> <em>chars</em>, </td>
|
---|
2673 | </tr>
|
---|
2674 | <tr>
|
---|
2675 | <td></td>
|
---|
2676 | <td></td>
|
---|
2677 | <td class="md" nowrap>const unsigned int </td>
|
---|
2678 | <td class="mdname" nowrap> <em>length</em>, </td>
|
---|
2679 | </tr>
|
---|
2680 | <tr>
|
---|
2681 | <td></td>
|
---|
2682 | <td></td>
|
---|
2683 | <td class="md" nowrap>const bool </td>
|
---|
2684 | <td class="mdname" nowrap> <em>cdataSection</em></td>
|
---|
2685 | </tr>
|
---|
2686 | <tr>
|
---|
2687 | <td></td>
|
---|
2688 | <td class="md">) </td>
|
---|
2689 | <td class="md" colspan="2"><code> [virtual]</code></td>
|
---|
2690 | </tr>
|
---|
2691 |
|
---|
2692 | </table>
|
---|
2693 | </td>
|
---|
2694 | </tr>
|
---|
2695 | </table>
|
---|
2696 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2697 | <tr>
|
---|
2698 | <td>
|
---|
2699 |
|
---|
2700 | </td>
|
---|
2701 | <td>
|
---|
2702 |
|
---|
2703 | <p>
|
---|
2704 | This method is used to report all the whitespace characters, which are determined to be 'ignorable'.
|
---|
2705 | <p>
|
---|
2706 | This distinction between characters is only made, if validation is enabled. Corresponding 'ignorableWhitespace' method of the user installed SAX Document Handler interface is called.
|
---|
2707 | <p>
|
---|
2708 |
|
---|
2709 | <p>
|
---|
2710 | Any whitespace before content is not reported to the SAX Document Handler method, as per the SAX specification. However, if any advanced callback handlers are installed, the corresponding 'ignorableWhitespace' method is invoked.<dl compact><dt><b>
|
---|
2711 | Parameters: </b><dd>
|
---|
2712 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
2713 | <tr><td valign=top><em>chars</em> </td><td>
|
---|
2714 | A const pointer to a Unicode string representing the ignorable whitespace character data. </td></tr>
|
---|
2715 | <tr><td valign=top><em>length</em> </td><td>
|
---|
2716 | The length of the Unicode string 'chars'. </td></tr>
|
---|
2717 | <tr><td valign=top><em>cdataSection</em> </td><td>
|
---|
2718 | A flag indicating if the characters represent content from the CDATA section. </td></tr>
|
---|
2719 | </table>
|
---|
2720 | </dl><dl compact><dt><b>
|
---|
2721 | See also: </b><dd>
|
---|
2722 | <a class="el" href="classDocumentHandler.html#z421_3">DocumentHandler::ignorableWhitespace</a> </dl>
|
---|
2723 | <p>
|
---|
2724 | Implements <a class="el" href="classXMLDocumentHandler.html#z256_6">XMLDocumentHandler</a>. </td>
|
---|
2725 | </tr>
|
---|
2726 | </table>
|
---|
2727 | <a name="z465_0" doxytag="SAXParser::installAdvDocHandler"></a><p>
|
---|
2728 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2729 | <tr>
|
---|
2730 | <td class="md">
|
---|
2731 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2732 | <tr>
|
---|
2733 | <td class="md" nowrap valign="top"> void SAXParser::installAdvDocHandler </td>
|
---|
2734 | <td class="md" valign="top">( </td>
|
---|
2735 | <td class="md" nowrap valign="top"><a class="el" href="classXMLDocumentHandler.html">XMLDocumentHandler</a> *const </td>
|
---|
2736 | <td class="mdname1" valign="top" nowrap> <em>toInstall</em> </td>
|
---|
2737 | <td class="md" valign="top">) </td>
|
---|
2738 | <td class="md" nowrap></td>
|
---|
2739 | </tr>
|
---|
2740 |
|
---|
2741 | </table>
|
---|
2742 | </td>
|
---|
2743 | </tr>
|
---|
2744 | </table>
|
---|
2745 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2746 | <tr>
|
---|
2747 | <td>
|
---|
2748 |
|
---|
2749 | </td>
|
---|
2750 | <td>
|
---|
2751 |
|
---|
2752 | <p>
|
---|
2753 | This method installs the specified 'advanced' document callback handler, thereby allowing the user to customize the processing, if they choose to do so.
|
---|
2754 | <p>
|
---|
2755 | Any number of advanced callback handlers maybe installed.
|
---|
2756 | <p>
|
---|
2757 |
|
---|
2758 | <p>
|
---|
2759 | The methods in the advanced callback interface represent Xerces-C extensions. There is no specification for this interface.<dl compact><dt><b>
|
---|
2760 | Parameters: </b><dd>
|
---|
2761 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
2762 | <tr><td valign=top><em>toInstall</em> </td><td>
|
---|
2763 | A pointer to the users advanced callback handler.</td></tr>
|
---|
2764 | </table>
|
---|
2765 | </dl><dl compact><dt><b>
|
---|
2766 | See also: </b><dd>
|
---|
2767 | <a class="el" href="classSAXParser.html#z465_1">removeAdvDocHandler</a> </dl> </td>
|
---|
2768 | </tr>
|
---|
2769 | </table>
|
---|
2770 | <a name="z463_23" doxytag="SAXParser::isCachingGrammarFromParse"></a><p>
|
---|
2771 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2772 | <tr>
|
---|
2773 | <td class="md">
|
---|
2774 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2775 | <tr>
|
---|
2776 | <td class="md" nowrap valign="top"> bool SAXParser::isCachingGrammarFromParse </td>
|
---|
2777 | <td class="md" valign="top">( </td>
|
---|
2778 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
2779 | <td class="md" valign="top">) </td>
|
---|
2780 | <td class="md" nowrap> const</td>
|
---|
2781 | </tr>
|
---|
2782 |
|
---|
2783 | </table>
|
---|
2784 | </td>
|
---|
2785 | </tr>
|
---|
2786 | </table>
|
---|
2787 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2788 | <tr>
|
---|
2789 | <td>
|
---|
2790 |
|
---|
2791 | </td>
|
---|
2792 | <td>
|
---|
2793 |
|
---|
2794 | <p>
|
---|
2795 | Get the 'Grammar caching' flag.
|
---|
2796 | <p>
|
---|
2797 | This method returns the state of the parser's grammar caching when parsing an XML document.
|
---|
2798 | <p>
|
---|
2799 | <dl compact><dt><b>
|
---|
2800 | Returns: </b><dd>
|
---|
2801 | true, if the parser is currently configured to cache grammars, false otherwise.</dl><dl compact><dt><b>
|
---|
2802 | See also: </b><dd>
|
---|
2803 | <a class="el" href="classSAXParser.html#z464_15">cacheGrammarFromParse</a> </dl> </td>
|
---|
2804 | </tr>
|
---|
2805 | </table>
|
---|
2806 | <a name="z463_24" doxytag="SAXParser::isUsingCachedGrammarInParse"></a><p>
|
---|
2807 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2808 | <tr>
|
---|
2809 | <td class="md">
|
---|
2810 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2811 | <tr>
|
---|
2812 | <td class="md" nowrap valign="top"> bool SAXParser::isUsingCachedGrammarInParse </td>
|
---|
2813 | <td class="md" valign="top">( </td>
|
---|
2814 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
2815 | <td class="md" valign="top">) </td>
|
---|
2816 | <td class="md" nowrap> const</td>
|
---|
2817 | </tr>
|
---|
2818 |
|
---|
2819 | </table>
|
---|
2820 | </td>
|
---|
2821 | </tr>
|
---|
2822 | </table>
|
---|
2823 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2824 | <tr>
|
---|
2825 | <td>
|
---|
2826 |
|
---|
2827 | </td>
|
---|
2828 | <td>
|
---|
2829 |
|
---|
2830 | <p>
|
---|
2831 | Get the 'Use cached grammar' flag.
|
---|
2832 | <p>
|
---|
2833 | This method returns the state of the parser's use of cached grammar when parsing an XML document.
|
---|
2834 | <p>
|
---|
2835 | <dl compact><dt><b>
|
---|
2836 | Returns: </b><dd>
|
---|
2837 | true, if the parser is currently configured to use cached grammars, false otherwise.</dl><dl compact><dt><b>
|
---|
2838 | See also: </b><dd>
|
---|
2839 | <a class="el" href="classSAXParser.html#z464_16">useCachedGrammarInParse</a> </dl> </td>
|
---|
2840 | </tr>
|
---|
2841 | </table>
|
---|
2842 | <a name="z467_2" doxytag="SAXParser::loadGrammar"></a><p>
|
---|
2843 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2844 | <tr>
|
---|
2845 | <td class="md">
|
---|
2846 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2847 | <tr>
|
---|
2848 | <td class="md" nowrap valign="top"> <a class="el" href="XSModel_8hpp.html#a1">Grammar</a>* SAXParser::loadGrammar </td>
|
---|
2849 | <td class="md" valign="top">( </td>
|
---|
2850 | <td class="md" nowrap valign="top">const char *const </td>
|
---|
2851 | <td class="mdname" nowrap> <em>systemId</em>, </td>
|
---|
2852 | </tr>
|
---|
2853 | <tr>
|
---|
2854 | <td></td>
|
---|
2855 | <td></td>
|
---|
2856 | <td class="md" nowrap>const short </td>
|
---|
2857 | <td class="mdname" nowrap> <em>grammarType</em>, </td>
|
---|
2858 | </tr>
|
---|
2859 | <tr>
|
---|
2860 | <td></td>
|
---|
2861 | <td></td>
|
---|
2862 | <td class="md" nowrap>const bool </td>
|
---|
2863 | <td class="mdname" nowrap> <em>toCache</em> = false</td>
|
---|
2864 | </tr>
|
---|
2865 | <tr>
|
---|
2866 | <td></td>
|
---|
2867 | <td class="md">) </td>
|
---|
2868 | <td class="md" colspan="2"></td>
|
---|
2869 | </tr>
|
---|
2870 |
|
---|
2871 | </table>
|
---|
2872 | </td>
|
---|
2873 | </tr>
|
---|
2874 | </table>
|
---|
2875 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2876 | <tr>
|
---|
2877 | <td>
|
---|
2878 |
|
---|
2879 | </td>
|
---|
2880 | <td>
|
---|
2881 |
|
---|
2882 | <p>
|
---|
2883 | Preparse schema grammar (XML Schema, DTD, etc.) via a file path or URL.
|
---|
2884 | <p>
|
---|
2885 | This method invokes the preparsing process on a schema grammar XML file specified by the file path parameter. If the 'toCache' flag is enabled, the parser will cache the grammars for re-use. If a grammar key is found in the pool, no caching of any grammar will take place.
|
---|
2886 | <p>
|
---|
2887 |
|
---|
2888 | <p>
|
---|
2889 | <b>"Experimental - subject to change"</b><dl compact><dt><b>
|
---|
2890 | Parameters: </b><dd>
|
---|
2891 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
2892 | <tr><td valign=top><em>systemId</em> </td><td>
|
---|
2893 | A const char pointer to a native string which contains the path to the XML grammar file to be preparsed. </td></tr>
|
---|
2894 | <tr><td valign=top><em>grammarType</em> </td><td>
|
---|
2895 | The grammar type (Schema or DTD). </td></tr>
|
---|
2896 | <tr><td valign=top><em>toCache</em> </td><td>
|
---|
2897 | If <code>true</code>, we cache the preparsed grammar, otherwise, no chaching. Default is <code>false</code>. </td></tr>
|
---|
2898 | </table>
|
---|
2899 | </dl><dl compact><dt><b>
|
---|
2900 | Returns: </b><dd>
|
---|
2901 | The preparsed schema grammar object (SchemaGrammar or DTDGrammar). That grammar object is owned by the parser.</dl><dl compact><dt><b>
|
---|
2902 | Exceptions: </b><dd>
|
---|
2903 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
2904 | <tr><td valign=top><em><a class="el" href="classSAXException.html">SAXException</a></em> </td><td>
|
---|
2905 | Any SAX exception, possibly wrapping another exception. </td></tr>
|
---|
2906 | <tr><td valign=top><em><a class="el" href="classXMLException.html">XMLException</a></em> </td><td>
|
---|
2907 | An exception from the parser or client handler code. </td></tr>
|
---|
2908 | <tr><td valign=top><em><a class="el" href="classDOMException.html">DOMException</a></em> </td><td>
|
---|
2909 | A DOM exception as per DOM spec. </td></tr>
|
---|
2910 | </table>
|
---|
2911 | </dl> </td>
|
---|
2912 | </tr>
|
---|
2913 | </table>
|
---|
2914 | <a name="z467_1" doxytag="SAXParser::loadGrammar"></a><p>
|
---|
2915 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2916 | <tr>
|
---|
2917 | <td class="md">
|
---|
2918 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2919 | <tr>
|
---|
2920 | <td class="md" nowrap valign="top"> <a class="el" href="XSModel_8hpp.html#a1">Grammar</a>* SAXParser::loadGrammar </td>
|
---|
2921 | <td class="md" valign="top">( </td>
|
---|
2922 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
2923 | <td class="mdname" nowrap> <em>systemId</em>, </td>
|
---|
2924 | </tr>
|
---|
2925 | <tr>
|
---|
2926 | <td></td>
|
---|
2927 | <td></td>
|
---|
2928 | <td class="md" nowrap>const short </td>
|
---|
2929 | <td class="mdname" nowrap> <em>grammarType</em>, </td>
|
---|
2930 | </tr>
|
---|
2931 | <tr>
|
---|
2932 | <td></td>
|
---|
2933 | <td></td>
|
---|
2934 | <td class="md" nowrap>const bool </td>
|
---|
2935 | <td class="mdname" nowrap> <em>toCache</em> = false</td>
|
---|
2936 | </tr>
|
---|
2937 | <tr>
|
---|
2938 | <td></td>
|
---|
2939 | <td class="md">) </td>
|
---|
2940 | <td class="md" colspan="2"></td>
|
---|
2941 | </tr>
|
---|
2942 |
|
---|
2943 | </table>
|
---|
2944 | </td>
|
---|
2945 | </tr>
|
---|
2946 | </table>
|
---|
2947 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2948 | <tr>
|
---|
2949 | <td>
|
---|
2950 |
|
---|
2951 | </td>
|
---|
2952 | <td>
|
---|
2953 |
|
---|
2954 | <p>
|
---|
2955 | Preparse schema grammar (XML Schema, DTD, etc.) via a file path or URL.
|
---|
2956 | <p>
|
---|
2957 | This method invokes the preparsing process on a schema grammar XML file specified by the file path parameter. If the 'toCache' flag is enabled, the parser will cache the grammars for re-use. If a grammar key is found in the pool, no caching of any grammar will take place.
|
---|
2958 | <p>
|
---|
2959 |
|
---|
2960 | <p>
|
---|
2961 | <b>"Experimental - subject to change"</b><dl compact><dt><b>
|
---|
2962 | Parameters: </b><dd>
|
---|
2963 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
2964 | <tr><td valign=top><em>systemId</em> </td><td>
|
---|
2965 | A const XMLCh pointer to the Unicode string which contains the path to the XML grammar file to be preparsed. </td></tr>
|
---|
2966 | <tr><td valign=top><em>grammarType</em> </td><td>
|
---|
2967 | The grammar type (Schema or DTD). </td></tr>
|
---|
2968 | <tr><td valign=top><em>toCache</em> </td><td>
|
---|
2969 | If <code>true</code>, we cache the preparsed grammar, otherwise, no chaching. Default is <code>false</code>. </td></tr>
|
---|
2970 | </table>
|
---|
2971 | </dl><dl compact><dt><b>
|
---|
2972 | Returns: </b><dd>
|
---|
2973 | The preparsed schema grammar object (SchemaGrammar or DTDGrammar). That grammar object is owned by the parser.</dl><dl compact><dt><b>
|
---|
2974 | Exceptions: </b><dd>
|
---|
2975 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
2976 | <tr><td valign=top><em><a class="el" href="classSAXException.html">SAXException</a></em> </td><td>
|
---|
2977 | Any SAX exception, possibly wrapping another exception. </td></tr>
|
---|
2978 | <tr><td valign=top><em><a class="el" href="classXMLException.html">XMLException</a></em> </td><td>
|
---|
2979 | An exception from the parser or client handler code. </td></tr>
|
---|
2980 | <tr><td valign=top><em><a class="el" href="classDOMException.html">DOMException</a></em> </td><td>
|
---|
2981 | A DOM exception as per DOM spec. </td></tr>
|
---|
2982 | </table>
|
---|
2983 | </dl> </td>
|
---|
2984 | </tr>
|
---|
2985 | </table>
|
---|
2986 | <a name="z467_0" doxytag="SAXParser::loadGrammar"></a><p>
|
---|
2987 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2988 | <tr>
|
---|
2989 | <td class="md">
|
---|
2990 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2991 | <tr>
|
---|
2992 | <td class="md" nowrap valign="top"> <a class="el" href="XSModel_8hpp.html#a1">Grammar</a>* SAXParser::loadGrammar </td>
|
---|
2993 | <td class="md" valign="top">( </td>
|
---|
2994 | <td class="md" nowrap valign="top">const <a class="el" href="classInputSource.html">InputSource</a> & </td>
|
---|
2995 | <td class="mdname" nowrap> <em>source</em>, </td>
|
---|
2996 | </tr>
|
---|
2997 | <tr>
|
---|
2998 | <td></td>
|
---|
2999 | <td></td>
|
---|
3000 | <td class="md" nowrap>const short </td>
|
---|
3001 | <td class="mdname" nowrap> <em>grammarType</em>, </td>
|
---|
3002 | </tr>
|
---|
3003 | <tr>
|
---|
3004 | <td></td>
|
---|
3005 | <td></td>
|
---|
3006 | <td class="md" nowrap>const bool </td>
|
---|
3007 | <td class="mdname" nowrap> <em>toCache</em> = false</td>
|
---|
3008 | </tr>
|
---|
3009 | <tr>
|
---|
3010 | <td></td>
|
---|
3011 | <td class="md">) </td>
|
---|
3012 | <td class="md" colspan="2"></td>
|
---|
3013 | </tr>
|
---|
3014 |
|
---|
3015 | </table>
|
---|
3016 | </td>
|
---|
3017 | </tr>
|
---|
3018 | </table>
|
---|
3019 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
3020 | <tr>
|
---|
3021 | <td>
|
---|
3022 |
|
---|
3023 | </td>
|
---|
3024 | <td>
|
---|
3025 |
|
---|
3026 | <p>
|
---|
3027 | Preparse schema grammar (XML Schema, DTD, etc.) via an input source object.
|
---|
3028 | <p>
|
---|
3029 | This method invokes the preparsing process on a schema grammar XML file specified by the SAX <a class="el" href="classInputSource.html">InputSource</a> parameter. If the 'toCache' flag is enabled, the parser will cache the grammars for re-use. If a grammar key is found in the pool, no caching of any grammar will take place.
|
---|
3030 | <p>
|
---|
3031 |
|
---|
3032 | <p>
|
---|
3033 | <b>"Experimental - subject to change"</b><dl compact><dt><b>
|
---|
3034 | Parameters: </b><dd>
|
---|
3035 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
3036 | <tr><td valign=top><em>source</em> </td><td>
|
---|
3037 | A const reference to the SAX <a class="el" href="classInputSource.html">InputSource</a> object which points to the schema grammar file to be preparsed. </td></tr>
|
---|
3038 | <tr><td valign=top><em>grammarType</em> </td><td>
|
---|
3039 | The grammar type (Schema or DTD). </td></tr>
|
---|
3040 | <tr><td valign=top><em>toCache</em> </td><td>
|
---|
3041 | If <code>true</code>, we cache the preparsed grammar, otherwise, no chaching. Default is <code>false</code>. </td></tr>
|
---|
3042 | </table>
|
---|
3043 | </dl><dl compact><dt><b>
|
---|
3044 | Returns: </b><dd>
|
---|
3045 | The preparsed schema grammar object (SchemaGrammar or DTDGrammar). That grammar object is owned by the parser.</dl><dl compact><dt><b>
|
---|
3046 | Exceptions: </b><dd>
|
---|
3047 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
3048 | <tr><td valign=top><em><a class="el" href="classSAXException.html">SAXException</a></em> </td><td>
|
---|
3049 | Any SAX exception, possibly wrapping another exception. </td></tr>
|
---|
3050 | <tr><td valign=top><em><a class="el" href="classXMLException.html">XMLException</a></em> </td><td>
|
---|
3051 | An exception from the parser or client handler code. </td></tr>
|
---|
3052 | <tr><td valign=top><em><a class="el" href="classDOMException.html">DOMException</a></em> </td><td>
|
---|
3053 | A DOM exception as per DOM spec.</td></tr>
|
---|
3054 | </table>
|
---|
3055 | </dl><dl compact><dt><b>
|
---|
3056 | See also: </b><dd>
|
---|
3057 | <a class="el" href="classInputSource.html#z437_0">InputSource::InputSource</a> </dl> </td>
|
---|
3058 | </tr>
|
---|
3059 | </table>
|
---|
3060 | <a name="z472_11" doxytag="SAXParser::notationDecl"></a><p>
|
---|
3061 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
3062 | <tr>
|
---|
3063 | <td class="md">
|
---|
3064 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
3065 | <tr>
|
---|
3066 | <td class="md" nowrap valign="top"> virtual void SAXParser::notationDecl </td>
|
---|
3067 | <td class="md" valign="top">( </td>
|
---|
3068 | <td class="md" nowrap valign="top">const <a class="el" href="classXMLNotationDecl.html">XMLNotationDecl</a> & </td>
|
---|
3069 | <td class="mdname" nowrap> <em>notDecl</em>, </td>
|
---|
3070 | </tr>
|
---|
3071 | <tr>
|
---|
3072 | <td></td>
|
---|
3073 | <td></td>
|
---|
3074 | <td class="md" nowrap>const bool </td>
|
---|
3075 | <td class="mdname" nowrap> <em>isIgnored</em></td>
|
---|
3076 | </tr>
|
---|
3077 | <tr>
|
---|
3078 | <td></td>
|
---|
3079 | <td class="md">) </td>
|
---|
3080 | <td class="md" colspan="2"><code> [virtual]</code></td>
|
---|
3081 | </tr>
|
---|
3082 |
|
---|
3083 | </table>
|
---|
3084 | </td>
|
---|
3085 | </tr>
|
---|
3086 | </table>
|
---|
3087 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
3088 | <tr>
|
---|
3089 | <td>
|
---|
3090 |
|
---|
3091 | </td>
|
---|
3092 | <td>
|
---|
3093 |
|
---|
3094 | <p>
|
---|
3095 | This method is used to report any notation declarations.
|
---|
3096 | <p>
|
---|
3097 | If there is a user installed <a class="el" href="classDTDHandler.html">DTDHandler</a>, then the driver will invoke the SAX <a class="el" href="classDTDHandler.html#z423_0">DTDHandler::notationDecl</a> callback.<dl compact><dt><b>
|
---|
3098 | Parameters: </b><dd>
|
---|
3099 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
3100 | <tr><td valign=top><em>notDecl</em> </td><td>
|
---|
3101 | A const reference to the object containing the notation declaration information. </td></tr>
|
---|
3102 | <tr><td valign=top><em>isIgnored</em> </td><td>
|
---|
3103 | The flag indicating whether this definition was ignored by the parser or not.</td></tr>
|
---|
3104 | </table>
|
---|
3105 | </dl><dl compact><dt><b>
|
---|
3106 | See also: </b><dd>
|
---|
3107 | <a class="el" href="classDTDHandler.html#z423_0">DTDHandler::notationDecl</a> </dl> </td>
|
---|
3108 | </tr>
|
---|
3109 | </table>
|
---|
3110 | <a name="z468_2" doxytag="SAXParser::parse"></a><p>
|
---|
3111 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
3112 | <tr>
|
---|
3113 | <td class="md">
|
---|
3114 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
3115 | <tr>
|
---|
3116 | <td class="md" nowrap valign="top"> virtual void SAXParser::parse </td>
|
---|
3117 | <td class="md" valign="top">( </td>
|
---|
3118 | <td class="md" nowrap valign="top">const char *const </td>
|
---|
3119 | <td class="mdname1" valign="top" nowrap> <em>systemId</em> </td>
|
---|
3120 | <td class="md" valign="top">) </td>
|
---|
3121 | <td class="md" nowrap><code> [virtual]</code></td>
|
---|
3122 | </tr>
|
---|
3123 |
|
---|
3124 | </table>
|
---|
3125 | </td>
|
---|
3126 | </tr>
|
---|
3127 | </table>
|
---|
3128 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
3129 | <tr>
|
---|
3130 | <td>
|
---|
3131 |
|
---|
3132 | </td>
|
---|
3133 | <td>
|
---|
3134 |
|
---|
3135 | <p>
|
---|
3136 | This method invokes the parsing process on the XML file specified by the native char* string parameter 'systemId'.
|
---|
3137 | <p>
|
---|
3138 | <dl compact><dt><b>
|
---|
3139 | Parameters: </b><dd>
|
---|
3140 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
3141 | <tr><td valign=top><em>systemId</em> </td><td>
|
---|
3142 | A const char pointer to a native string which contains the path to the XML file to be parsed. </td></tr>
|
---|
3143 | </table>
|
---|
3144 | </dl>
|
---|
3145 | <p>
|
---|
3146 | Implements <a class="el" href="classParser.html#z441_6">Parser</a>. </td>
|
---|
3147 | </tr>
|
---|
3148 | </table>
|
---|
3149 | <a name="z468_1" doxytag="SAXParser::parse"></a><p>
|
---|
3150 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
3151 | <tr>
|
---|
3152 | <td class="md">
|
---|
3153 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
3154 | <tr>
|
---|
3155 | <td class="md" nowrap valign="top"> virtual void SAXParser::parse </td>
|
---|
3156 | <td class="md" valign="top">( </td>
|
---|
3157 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
3158 | <td class="mdname1" valign="top" nowrap> <em>systemId</em> </td>
|
---|
3159 | <td class="md" valign="top">) </td>
|
---|
3160 | <td class="md" nowrap><code> [virtual]</code></td>
|
---|
3161 | </tr>
|
---|
3162 |
|
---|
3163 | </table>
|
---|
3164 | </td>
|
---|
3165 | </tr>
|
---|
3166 | </table>
|
---|
3167 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
3168 | <tr>
|
---|
3169 | <td>
|
---|
3170 |
|
---|
3171 | </td>
|
---|
3172 | <td>
|
---|
3173 |
|
---|
3174 | <p>
|
---|
3175 | This method invokes the parsing process on the XML file specified by the Unicode string parameter 'systemId'.
|
---|
3176 | <p>
|
---|
3177 | <dl compact><dt><b>
|
---|
3178 | Parameters: </b><dd>
|
---|
3179 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
3180 | <tr><td valign=top><em>systemId</em> </td><td>
|
---|
3181 | A const XMLCh pointer to the Unicode string which contains the path to the XML file to be parsed.</td></tr>
|
---|
3182 | </table>
|
---|
3183 | </dl><dl compact><dt><b>
|
---|
3184 | See also: </b><dd>
|
---|
3185 | Parser::parse(XMLCh*) </dl>
|
---|
3186 | <p>
|
---|
3187 | Implements <a class="el" href="classParser.html#z441_5">Parser</a>. </td>
|
---|
3188 | </tr>
|
---|
3189 | </table>
|
---|
3190 | <a name="z468_0" doxytag="SAXParser::parse"></a><p>
|
---|
3191 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
3192 | <tr>
|
---|
3193 | <td class="md">
|
---|
3194 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
3195 | <tr>
|
---|
3196 | <td class="md" nowrap valign="top"> virtual void SAXParser::parse </td>
|
---|
3197 | <td class="md" valign="top">( </td>
|
---|
3198 | <td class="md" nowrap valign="top">const <a class="el" href="classInputSource.html">InputSource</a> & </td>
|
---|
3199 | <td class="mdname1" valign="top" nowrap> <em>source</em> </td>
|
---|
3200 | <td class="md" valign="top">) </td>
|
---|
3201 | <td class="md" nowrap><code> [virtual]</code></td>
|
---|
3202 | </tr>
|
---|
3203 |
|
---|
3204 | </table>
|
---|
3205 | </td>
|
---|
3206 | </tr>
|
---|
3207 | </table>
|
---|
3208 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
3209 | <tr>
|
---|
3210 | <td>
|
---|
3211 |
|
---|
3212 | </td>
|
---|
3213 | <td>
|
---|
3214 |
|
---|
3215 | <p>
|
---|
3216 | This method invokes the parsing process on the XML file specified by the <a class="el" href="classInputSource.html">InputSource</a> parameter.
|
---|
3217 | <p>
|
---|
3218 | <dl compact><dt><b>
|
---|
3219 | Parameters: </b><dd>
|
---|
3220 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
3221 | <tr><td valign=top><em>source</em> </td><td>
|
---|
3222 | A const reference to the <a class="el" href="classInputSource.html">InputSource</a> object which points to the XML file to be parsed.</td></tr>
|
---|
3223 | </table>
|
---|
3224 | </dl><dl compact><dt><b>
|
---|
3225 | See also: </b><dd>
|
---|
3226 | Parser::parse(InputSource) </dl>
|
---|
3227 | <p>
|
---|
3228 | Implements <a class="el" href="classParser.html#z441_4">Parser</a>. </td>
|
---|
3229 | </tr>
|
---|
3230 | </table>
|
---|
3231 | <a name="z466_2" doxytag="SAXParser::parseFirst"></a><p>
|
---|
3232 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
3233 | <tr>
|
---|
3234 | <td class="md">
|
---|
3235 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
3236 | <tr>
|
---|
3237 | <td class="md" nowrap valign="top"> bool SAXParser::parseFirst </td>
|
---|
3238 | <td class="md" valign="top">( </td>
|
---|
3239 | <td class="md" nowrap valign="top">const <a class="el" href="classInputSource.html">InputSource</a> & </td>
|
---|
3240 | <td class="mdname" nowrap> <em>source</em>, </td>
|
---|
3241 | </tr>
|
---|
3242 | <tr>
|
---|
3243 | <td></td>
|
---|
3244 | <td></td>
|
---|
3245 | <td class="md" nowrap><a class="el" href="AbstractDOMParser_8hpp.html#a1">XMLPScanToken</a> & </td>
|
---|
3246 | <td class="mdname" nowrap> <em>toFill</em></td>
|
---|
3247 | </tr>
|
---|
3248 | <tr>
|
---|
3249 | <td></td>
|
---|
3250 | <td class="md">) </td>
|
---|
3251 | <td class="md" colspan="2"></td>
|
---|
3252 | </tr>
|
---|
3253 |
|
---|
3254 | </table>
|
---|
3255 | </td>
|
---|
3256 | </tr>
|
---|
3257 | </table>
|
---|
3258 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
3259 | <tr>
|
---|
3260 | <td>
|
---|
3261 |
|
---|
3262 | </td>
|
---|
3263 | <td>
|
---|
3264 |
|
---|
3265 | <p>
|
---|
3266 | Begin a progressive parse operation.
|
---|
3267 | <p>
|
---|
3268 | This method is used to start a progressive parse on a XML file. To continue parsing, subsequent calls must be to the parseNext method.
|
---|
3269 | <p>
|
---|
3270 | It scans through the prolog and returns a token to be used on subsequent scanNext() calls. If the return value is true, then the token is legal and ready for further use. If it returns false, then the scan of the prolog failed and the token is not going to work on subsequent scanNext() calls.<dl compact><dt><b>
|
---|
3271 | Parameters: </b><dd>
|
---|
3272 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
3273 | <tr><td valign=top><em>source</em> </td><td>
|
---|
3274 | A const reference to the <a class="el" href="classInputSource.html">InputSource</a> object which points to the XML file to be parsed. </td></tr>
|
---|
3275 | <tr><td valign=top><em>toFill</em> </td><td>
|
---|
3276 | A token maintaing state information to maintain internal consistency between invocation of 'parseNext' calls.</td></tr>
|
---|
3277 | </table>
|
---|
3278 | </dl><dl compact><dt><b>
|
---|
3279 | Returns: </b><dd>
|
---|
3280 | 'true', if successful in parsing the prolog. It indicates the user can go ahead with parsing the rest of the file. It returns 'false' to indicate that the parser could not parse the prolog.</dl><dl compact><dt><b>
|
---|
3281 | See also: </b><dd>
|
---|
3282 | <a class="el" href="classSAXParser.html#z466_3">parseNext</a> , <a class="el" href="classSAXParser.html#z466_0">parseFirst</a>(XMLCh*,...) , <a class="el" href="classSAXParser.html#z466_0">parseFirst</a>(char*,...) </dl> </td>
|
---|
3283 | </tr>
|
---|
3284 | </table>
|
---|
3285 | <a name="z466_1" doxytag="SAXParser::parseFirst"></a><p>
|
---|
3286 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
3287 | <tr>
|
---|
3288 | <td class="md">
|
---|
3289 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
3290 | <tr>
|
---|
3291 | <td class="md" nowrap valign="top"> bool SAXParser::parseFirst </td>
|
---|
3292 | <td class="md" valign="top">( </td>
|
---|
3293 | <td class="md" nowrap valign="top">const char *const </td>
|
---|
3294 | <td class="mdname" nowrap> <em>systemId</em>, </td>
|
---|
3295 | </tr>
|
---|
3296 | <tr>
|
---|
3297 | <td></td>
|
---|
3298 | <td></td>
|
---|
3299 | <td class="md" nowrap><a class="el" href="AbstractDOMParser_8hpp.html#a1">XMLPScanToken</a> & </td>
|
---|
3300 | <td class="mdname" nowrap> <em>toFill</em></td>
|
---|
3301 | </tr>
|
---|
3302 | <tr>
|
---|
3303 | <td></td>
|
---|
3304 | <td class="md">) </td>
|
---|
3305 | <td class="md" colspan="2"></td>
|
---|
3306 | </tr>
|
---|
3307 |
|
---|
3308 | </table>
|
---|
3309 | </td>
|
---|
3310 | </tr>
|
---|
3311 | </table>
|
---|
3312 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
3313 | <tr>
|
---|
3314 | <td>
|
---|
3315 |
|
---|
3316 | </td>
|
---|
3317 | <td>
|
---|
3318 |
|
---|
3319 | <p>
|
---|
3320 | Begin a progressive parse operation.
|
---|
3321 | <p>
|
---|
3322 | This method is used to start a progressive parse on a XML file. To continue parsing, subsequent calls must be to the parseNext method.
|
---|
3323 | <p>
|
---|
3324 | It scans through the prolog and returns a token to be used on subsequent scanNext() calls. If the return value is true, then the token is legal and ready for further use. If it returns false, then the scan of the prolog failed and the token is not going to work on subsequent scanNext() calls.<dl compact><dt><b>
|
---|
3325 | Parameters: </b><dd>
|
---|
3326 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
3327 | <tr><td valign=top><em>systemId</em> </td><td>
|
---|
3328 | A pointer to a regular native string represting the path to the XML file to be parsed. </td></tr>
|
---|
3329 | <tr><td valign=top><em>toFill</em> </td><td>
|
---|
3330 | A token maintaing state information to maintain internal consIstency between invocation of 'parseNext' calls.</td></tr>
|
---|
3331 | </table>
|
---|
3332 | </dl><dl compact><dt><b>
|
---|
3333 | Returns: </b><dd>
|
---|
3334 | 'true', if successful in parsing the prolog. It indicates the user can go ahead with parsing the rest of the file. It returns 'false' to indicate that the parser could not parse the prolog.</dl><dl compact><dt><b>
|
---|
3335 | See also: </b><dd>
|
---|
3336 | <a class="el" href="classSAXParser.html#z466_3">parseNext</a> , <a class="el" href="classSAXParser.html#z466_0">parseFirst</a>(XMLCh*,...) , <a class="el" href="classSAXParser.html#z466_0">parseFirst</a>(<a class="el" href="classInputSource.html">InputSource</a>&,...) </dl> </td>
|
---|
3337 | </tr>
|
---|
3338 | </table>
|
---|
3339 | <a name="z466_0" doxytag="SAXParser::parseFirst"></a><p>
|
---|
3340 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
3341 | <tr>
|
---|
3342 | <td class="md">
|
---|
3343 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
3344 | <tr>
|
---|
3345 | <td class="md" nowrap valign="top"> bool SAXParser::parseFirst </td>
|
---|
3346 | <td class="md" valign="top">( </td>
|
---|
3347 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
3348 | <td class="mdname" nowrap> <em>systemId</em>, </td>
|
---|
3349 | </tr>
|
---|
3350 | <tr>
|
---|
3351 | <td></td>
|
---|
3352 | <td></td>
|
---|
3353 | <td class="md" nowrap><a class="el" href="AbstractDOMParser_8hpp.html#a1">XMLPScanToken</a> & </td>
|
---|
3354 | <td class="mdname" nowrap> <em>toFill</em></td>
|
---|
3355 | </tr>
|
---|
3356 | <tr>
|
---|
3357 | <td></td>
|
---|
3358 | <td class="md">) </td>
|
---|
3359 | <td class="md" colspan="2"></td>
|
---|
3360 | </tr>
|
---|
3361 |
|
---|
3362 | </table>
|
---|
3363 | </td>
|
---|
3364 | </tr>
|
---|
3365 | </table>
|
---|
3366 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
3367 | <tr>
|
---|
3368 | <td>
|
---|
3369 |
|
---|
3370 | </td>
|
---|
3371 | <td>
|
---|
3372 |
|
---|
3373 | <p>
|
---|
3374 | Begin a progressive parse operation.
|
---|
3375 | <p>
|
---|
3376 | This method is used to start a progressive parse on a XML file. To continue parsing, subsequent calls must be to the parseNext method.
|
---|
3377 | <p>
|
---|
3378 | It scans through the prolog and returns a token to be used on subsequent scanNext() calls. If the return value is true, then the token is legal and ready for further use. If it returns false, then the scan of the prolog failed and the token is not going to work on subsequent scanNext() calls.<dl compact><dt><b>
|
---|
3379 | Parameters: </b><dd>
|
---|
3380 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
3381 | <tr><td valign=top><em>systemId</em> </td><td>
|
---|
3382 | A pointer to a Unicode string represting the path to the XML file to be parsed. </td></tr>
|
---|
3383 | <tr><td valign=top><em>toFill</em> </td><td>
|
---|
3384 | A token maintaing state information to maintain internal consistency between invocation of 'parseNext' calls.</td></tr>
|
---|
3385 | </table>
|
---|
3386 | </dl><dl compact><dt><b>
|
---|
3387 | Returns: </b><dd>
|
---|
3388 | 'true', if successful in parsing the prolog. It indicates the user can go ahead with parsing the rest of the file. It returns 'false' to indicate that the parser could parse the prolog (which means the token will not be valid.)</dl><dl compact><dt><b>
|
---|
3389 | See also: </b><dd>
|
---|
3390 | <a class="el" href="classSAXParser.html#z466_3">parseNext</a> , <a class="el" href="classSAXParser.html#z466_0">parseFirst</a>(char*,...) , <a class="el" href="classSAXParser.html#z466_0">parseFirst</a>(<a class="el" href="classInputSource.html">InputSource</a>&,...) </dl> </td>
|
---|
3391 | </tr>
|
---|
3392 | </table>
|
---|
3393 | <a name="z466_3" doxytag="SAXParser::parseNext"></a><p>
|
---|
3394 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
3395 | <tr>
|
---|
3396 | <td class="md">
|
---|
3397 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
3398 | <tr>
|
---|
3399 | <td class="md" nowrap valign="top"> bool SAXParser::parseNext </td>
|
---|
3400 | <td class="md" valign="top">( </td>
|
---|
3401 | <td class="md" nowrap valign="top"><a class="el" href="AbstractDOMParser_8hpp.html#a1">XMLPScanToken</a> & </td>
|
---|
3402 | <td class="mdname1" valign="top" nowrap> <em>token</em> </td>
|
---|
3403 | <td class="md" valign="top">) </td>
|
---|
3404 | <td class="md" nowrap></td>
|
---|
3405 | </tr>
|
---|
3406 |
|
---|
3407 | </table>
|
---|
3408 | </td>
|
---|
3409 | </tr>
|
---|
3410 | </table>
|
---|
3411 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
3412 | <tr>
|
---|
3413 | <td>
|
---|
3414 |
|
---|
3415 | </td>
|
---|
3416 | <td>
|
---|
3417 |
|
---|
3418 | <p>
|
---|
3419 | Continue a progressive parse operation.
|
---|
3420 | <p>
|
---|
3421 | This method is used to continue with progressive parsing of XML files started by a call to 'parseFirst' method.
|
---|
3422 | <p>
|
---|
3423 | It parses the XML file and stops as soon as it comes across a XML token (as defined in the XML specification). Relevant callback handlers are invoked as required by the SAX specification.<dl compact><dt><b>
|
---|
3424 | Parameters: </b><dd>
|
---|
3425 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
3426 | <tr><td valign=top><em>token</em> </td><td>
|
---|
3427 | A token maintaing state information to maintain internal consistency between invocation of 'parseNext' calls.</td></tr>
|
---|
3428 | </table>
|
---|
3429 | </dl><dl compact><dt><b>
|
---|
3430 | Returns: </b><dd>
|
---|
3431 | 'true', if successful in parsing the next XML token. It indicates the user can go ahead with parsing the rest of the file. It returns 'false' to indicate that the parser could not find next token as per the XML specification production rule.</dl><dl compact><dt><b>
|
---|
3432 | See also: </b><dd>
|
---|
3433 | <a class="el" href="classSAXParser.html#z466_0">parseFirst</a>(XMLCh*,...) , <a class="el" href="classSAXParser.html#z466_0">parseFirst</a>(char*,...) , <a class="el" href="classSAXParser.html#z466_0">parseFirst</a>(<a class="el" href="classInputSource.html">InputSource</a>&,...) </dl> </td>
|
---|
3434 | </tr>
|
---|
3435 | </table>
|
---|
3436 | <a name="z466_4" doxytag="SAXParser::parseReset"></a><p>
|
---|
3437 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
3438 | <tr>
|
---|
3439 | <td class="md">
|
---|
3440 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
3441 | <tr>
|
---|
3442 | <td class="md" nowrap valign="top"> void SAXParser::parseReset </td>
|
---|
3443 | <td class="md" valign="top">( </td>
|
---|
3444 | <td class="md" nowrap valign="top"><a class="el" href="AbstractDOMParser_8hpp.html#a1">XMLPScanToken</a> & </td>
|
---|
3445 | <td class="mdname1" valign="top" nowrap> <em>token</em> </td>
|
---|
3446 | <td class="md" valign="top">) </td>
|
---|
3447 | <td class="md" nowrap></td>
|
---|
3448 | </tr>
|
---|
3449 |
|
---|
3450 | </table>
|
---|
3451 | </td>
|
---|
3452 | </tr>
|
---|
3453 | </table>
|
---|
3454 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
3455 | <tr>
|
---|
3456 | <td>
|
---|
3457 |
|
---|
3458 | </td>
|
---|
3459 | <td>
|
---|
3460 |
|
---|
3461 | <p>
|
---|
3462 | Reset the parser after a progressive parse.
|
---|
3463 | <p>
|
---|
3464 | If a progressive parse loop exits before the end of the document is reached, the parser has no way of knowing this. So it will leave open any files or sockets or memory buffers that were in use at the time that the parse loop exited.
|
---|
3465 | <p>
|
---|
3466 | The next parse operation will cause these open files and such to be closed, but the next parse operation might occur at some unknown future point. To avoid this problem, you should reset the parser if you exit the loop early.
|
---|
3467 | <p>
|
---|
3468 | If you exited because of an error, then this cleanup will be done for you. Its only when you exit the file prematurely of your own accord, because you've found what you wanted in the file most likely.<dl compact><dt><b>
|
---|
3469 | Parameters: </b><dd>
|
---|
3470 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
3471 | <tr><td valign=top><em>token</em> </td><td>
|
---|
3472 | A token maintaing state information to maintain internal consistency between invocation of 'parseNext' calls. </td></tr>
|
---|
3473 | </table>
|
---|
3474 | </dl> </td>
|
---|
3475 | </tr>
|
---|
3476 | </table>
|
---|
3477 | <a name="z465_1" doxytag="SAXParser::removeAdvDocHandler"></a><p>
|
---|
3478 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
3479 | <tr>
|
---|
3480 | <td class="md">
|
---|
3481 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
3482 | <tr>
|
---|
3483 | <td class="md" nowrap valign="top"> bool SAXParser::removeAdvDocHandler </td>
|
---|
3484 | <td class="md" valign="top">( </td>
|
---|
3485 | <td class="md" nowrap valign="top"><a class="el" href="classXMLDocumentHandler.html">XMLDocumentHandler</a> *const </td>
|
---|
3486 | <td class="mdname1" valign="top" nowrap> <em>toRemove</em> </td>
|
---|
3487 | <td class="md" valign="top">) </td>
|
---|
3488 | <td class="md" nowrap></td>
|
---|
3489 | </tr>
|
---|
3490 |
|
---|
3491 | </table>
|
---|
3492 | </td>
|
---|
3493 | </tr>
|
---|
3494 | </table>
|
---|
3495 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
3496 | <tr>
|
---|
3497 | <td>
|
---|
3498 |
|
---|
3499 | </td>
|
---|
3500 | <td>
|
---|
3501 |
|
---|
3502 | <p>
|
---|
3503 | This method removes the 'advanced' document handler callback from the underlying parser scanner.
|
---|
3504 | <p>
|
---|
3505 | If no handler is installed, advanced callbacks are not invoked by the scanner. <dl compact><dt><b>
|
---|
3506 | Parameters: </b><dd>
|
---|
3507 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
3508 | <tr><td valign=top><em>toRemove</em> </td><td>
|
---|
3509 | A pointer to the advanced callback handler which should be removed.</td></tr>
|
---|
3510 | </table>
|
---|
3511 | </dl><dl compact><dt><b>
|
---|
3512 | See also: </b><dd>
|
---|
3513 | <a class="el" href="classSAXParser.html#z465_0">installAdvDocHandler</a> </dl> </td>
|
---|
3514 | </tr>
|
---|
3515 | </table>
|
---|
3516 | <a name="z467_3" doxytag="SAXParser::resetCachedGrammarPool"></a><p>
|
---|
3517 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
3518 | <tr>
|
---|
3519 | <td class="md">
|
---|
3520 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
3521 | <tr>
|
---|
3522 | <td class="md" nowrap valign="top"> void SAXParser::resetCachedGrammarPool </td>
|
---|
3523 | <td class="md" valign="top">( </td>
|
---|
3524 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
3525 | <td class="md" valign="top">) </td>
|
---|
3526 | <td class="md" nowrap></td>
|
---|
3527 | </tr>
|
---|
3528 |
|
---|
3529 | </table>
|
---|
3530 | </td>
|
---|
3531 | </tr>
|
---|
3532 | </table>
|
---|
3533 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
3534 | <tr>
|
---|
3535 | <td>
|
---|
3536 |
|
---|
3537 | </td>
|
---|
3538 | <td>
|
---|
3539 |
|
---|
3540 | <p>
|
---|
3541 | This method allows the user to reset the pool of cached grammars.
|
---|
3542 | <p>
|
---|
3543 | </td>
|
---|
3544 | </tr>
|
---|
3545 | </table>
|
---|
3546 | <a name="z472_10" doxytag="SAXParser::resetDocType"></a><p>
|
---|
3547 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
3548 | <tr>
|
---|
3549 | <td class="md">
|
---|
3550 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
3551 | <tr>
|
---|
3552 | <td class="md" nowrap valign="top"> virtual void SAXParser::resetDocType </td>
|
---|
3553 | <td class="md" valign="top">( </td>
|
---|
3554 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
3555 | <td class="md" valign="top">) </td>
|
---|
3556 | <td class="md" nowrap><code> [virtual]</code></td>
|
---|
3557 | </tr>
|
---|
3558 |
|
---|
3559 | </table>
|
---|
3560 | </td>
|
---|
3561 | </tr>
|
---|
3562 | </table>
|
---|
3563 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
3564 | <tr>
|
---|
3565 | <td>
|
---|
3566 |
|
---|
3567 | </td>
|
---|
3568 | <td>
|
---|
3569 |
|
---|
3570 | <p>
|
---|
3571 | This method allows the user installed DTD handler to reset itself.
|
---|
3572 | <p>
|
---|
3573 | </td>
|
---|
3574 | </tr>
|
---|
3575 | </table>
|
---|
3576 | <a name="z469_7" doxytag="SAXParser::resetDocument"></a><p>
|
---|
3577 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
3578 | <tr>
|
---|
3579 | <td class="md">
|
---|
3580 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
3581 | <tr>
|
---|
3582 | <td class="md" nowrap valign="top"> virtual void SAXParser::resetDocument </td>
|
---|
3583 | <td class="md" valign="top">( </td>
|
---|
3584 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
3585 | <td class="md" valign="top">) </td>
|
---|
3586 | <td class="md" nowrap><code> [virtual]</code></td>
|
---|
3587 | </tr>
|
---|
3588 |
|
---|
3589 | </table>
|
---|
3590 | </td>
|
---|
3591 | </tr>
|
---|
3592 | </table>
|
---|
3593 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
3594 | <tr>
|
---|
3595 | <td>
|
---|
3596 |
|
---|
3597 | </td>
|
---|
3598 | <td>
|
---|
3599 |
|
---|
3600 | <p>
|
---|
3601 | This method allows the user installed Document Handler and any advanced callback handlers to 'reset' themselves.
|
---|
3602 | <p>
|
---|
3603 |
|
---|
3604 | <p>
|
---|
3605 | Implements <a class="el" href="classXMLDocumentHandler.html#z256_7">XMLDocumentHandler</a>. </td>
|
---|
3606 | </tr>
|
---|
3607 | </table>
|
---|
3608 | <a name="z471_2" doxytag="SAXParser::resetEntities"></a><p>
|
---|
3609 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
3610 | <tr>
|
---|
3611 | <td class="md">
|
---|
3612 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
3613 | <tr>
|
---|
3614 | <td class="md" nowrap valign="top"> virtual void SAXParser::resetEntities </td>
|
---|
3615 | <td class="md" valign="top">( </td>
|
---|
3616 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
3617 | <td class="md" valign="top">) </td>
|
---|
3618 | <td class="md" nowrap><code> [virtual]</code></td>
|
---|
3619 | </tr>
|
---|
3620 |
|
---|
3621 | </table>
|
---|
3622 | </td>
|
---|
3623 | </tr>
|
---|
3624 | </table>
|
---|
3625 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
3626 | <tr>
|
---|
3627 | <td>
|
---|
3628 |
|
---|
3629 | </td>
|
---|
3630 | <td>
|
---|
3631 |
|
---|
3632 | <p>
|
---|
3633 | This method allows the installed <a class="el" href="classXMLEntityHandler.html">XMLEntityHandler</a> to reset itself.
|
---|
3634 | <p>
|
---|
3635 | <b>This method is a no-op for this SAX driver implementation.</b>
|
---|
3636 | <p>
|
---|
3637 | Implements <a class="el" href="classXMLEntityHandler.html#z274_2">XMLEntityHandler</a>. </td>
|
---|
3638 | </tr>
|
---|
3639 | </table>
|
---|
3640 | <a name="z470_1" doxytag="SAXParser::resetErrors"></a><p>
|
---|
3641 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
3642 | <tr>
|
---|
3643 | <td class="md">
|
---|
3644 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
3645 | <tr>
|
---|
3646 | <td class="md" nowrap valign="top"> virtual void SAXParser::resetErrors </td>
|
---|
3647 | <td class="md" valign="top">( </td>
|
---|
3648 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
3649 | <td class="md" valign="top">) </td>
|
---|
3650 | <td class="md" nowrap><code> [virtual]</code></td>
|
---|
3651 | </tr>
|
---|
3652 |
|
---|
3653 | </table>
|
---|
3654 | </td>
|
---|
3655 | </tr>
|
---|
3656 | </table>
|
---|
3657 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
3658 | <tr>
|
---|
3659 | <td>
|
---|
3660 |
|
---|
3661 | </td>
|
---|
3662 | <td>
|
---|
3663 |
|
---|
3664 | <p>
|
---|
3665 | This method allows the user installed Error Handler callback to 'reset' itself.
|
---|
3666 | <p>
|
---|
3667 | <b>This method is a no-op for this SAX driver implementation.</b>
|
---|
3668 | <p>
|
---|
3669 | Implements <a class="el" href="classXMLErrorReporter.html#z277_1">XMLErrorReporter</a>. </td>
|
---|
3670 | </tr>
|
---|
3671 | </table>
|
---|
3672 | <a name="z471_4" doxytag="SAXParser::resolveEntity"></a><p>
|
---|
3673 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
3674 | <tr>
|
---|
3675 | <td class="md">
|
---|
3676 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
3677 | <tr>
|
---|
3678 | <td class="md" nowrap valign="top"> virtual <a class="el" href="classInputSource.html">InputSource</a>* SAXParser::resolveEntity </td>
|
---|
3679 | <td class="md" valign="top">( </td>
|
---|
3680 | <td class="md" nowrap valign="top"><a class="el" href="classXMLResourceIdentifier.html">XMLResourceIdentifier</a> * </td>
|
---|
3681 | <td class="mdname1" valign="top" nowrap> <em>resourceIdentifier</em> </td>
|
---|
3682 | <td class="md" valign="top">) </td>
|
---|
3683 | <td class="md" nowrap><code> [virtual]</code></td>
|
---|
3684 | </tr>
|
---|
3685 |
|
---|
3686 | </table>
|
---|
3687 | </td>
|
---|
3688 | </tr>
|
---|
3689 | </table>
|
---|
3690 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
3691 | <tr>
|
---|
3692 | <td>
|
---|
3693 |
|
---|
3694 | </td>
|
---|
3695 | <td>
|
---|
3696 |
|
---|
3697 | <p>
|
---|
3698 | Resolve a public/system id.
|
---|
3699 | <p>
|
---|
3700 | This method allows a user installed entity handler to further process any pointers to external entities. The applications can implement 'redirection' via this callback.<dl compact><dt><b>
|
---|
3701 | Parameters: </b><dd>
|
---|
3702 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
3703 | <tr><td valign=top><em>resourceIdentifier</em> </td><td>
|
---|
3704 | An object containing the type of resource to be resolved and the associated data members corresponding to this type. </td></tr>
|
---|
3705 | </table>
|
---|
3706 | </dl><dl compact><dt><b>
|
---|
3707 | Returns: </b><dd>
|
---|
3708 | The value returned by the user installed resolveEntity method or NULL otherwise to indicate no processing was done. The returned <a class="el" href="classInputSource.html">InputSource</a> is owned by the parser which is responsible to clean up the memory. </dl><dl compact><dt><b>
|
---|
3709 | See also: </b><dd>
|
---|
3710 | <a class="el" href="classXMLEntityHandler.html">XMLEntityHandler</a> , <a class="el" href="classXMLEntityResolver.html">XMLEntityResolver</a> </dl>
|
---|
3711 | <p>
|
---|
3712 | Implements <a class="el" href="classXMLEntityHandler.html#z274_4">XMLEntityHandler</a>. </td>
|
---|
3713 | </tr>
|
---|
3714 | </table>
|
---|
3715 | <a name="z471_3" doxytag="SAXParser::resolveEntity"></a><p>
|
---|
3716 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
3717 | <tr>
|
---|
3718 | <td class="md">
|
---|
3719 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
3720 | <tr>
|
---|
3721 | <td class="md" nowrap valign="top"> virtual <a class="el" href="classInputSource.html">InputSource</a>* SAXParser::resolveEntity </td>
|
---|
3722 | <td class="md" valign="top">( </td>
|
---|
3723 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
3724 | <td class="mdname" nowrap> <em>publicId</em>, </td>
|
---|
3725 | </tr>
|
---|
3726 | <tr>
|
---|
3727 | <td></td>
|
---|
3728 | <td></td>
|
---|
3729 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
3730 | <td class="mdname" nowrap> <em>systemId</em>, </td>
|
---|
3731 | </tr>
|
---|
3732 | <tr>
|
---|
3733 | <td></td>
|
---|
3734 | <td></td>
|
---|
3735 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
3736 | <td class="mdname" nowrap> <em>baseURI</em> = 0</td>
|
---|
3737 | </tr>
|
---|
3738 | <tr>
|
---|
3739 | <td></td>
|
---|
3740 | <td class="md">) </td>
|
---|
3741 | <td class="md" colspan="2"><code> [virtual]</code></td>
|
---|
3742 | </tr>
|
---|
3743 |
|
---|
3744 | </table>
|
---|
3745 | </td>
|
---|
3746 | </tr>
|
---|
3747 | </table>
|
---|
3748 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
3749 | <tr>
|
---|
3750 | <td>
|
---|
3751 |
|
---|
3752 | </td>
|
---|
3753 | <td>
|
---|
3754 |
|
---|
3755 | <p>
|
---|
3756 | This method allows a user installed entity handler to further process any pointers to external entities.
|
---|
3757 | <p>
|
---|
3758 | The applications can implement 'redirection' via this callback. The driver should call the SAX EntityHandler 'resolveEntity' method.
|
---|
3759 | <p>
|
---|
3760 | <dl compact><dt><b>
|
---|
3761 | Deprecated: </b><dd>
|
---|
3762 | This method is no longer called (the other resolveEntity one is).</dl><dl compact><dt><b>
|
---|
3763 | Parameters: </b><dd>
|
---|
3764 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
3765 | <tr><td valign=top><em>publicId</em> </td><td>
|
---|
3766 | A const pointer to a Unicode string representing the public id of the entity just parsed. </td></tr>
|
---|
3767 | <tr><td valign=top><em>systemId</em> </td><td>
|
---|
3768 | A const pointer to a Unicode string representing the system id of the entity just parsed. </td></tr>
|
---|
3769 | <tr><td valign=top><em>baseURI</em> </td><td>
|
---|
3770 | A const pointer to a Unicode string representing the base URI of the entity just parsed, or <code>null</code> if there is no base URI. </td></tr>
|
---|
3771 | </table>
|
---|
3772 | </dl><dl compact><dt><b>
|
---|
3773 | Returns: </b><dd>
|
---|
3774 | The value returned by the SAX resolveEntity method or NULL otherwise to indicate no processing was done. The returned <a class="el" href="classInputSource.html">InputSource</a> is owned by the parser which is responsible to clean up the memory. </dl><dl compact><dt><b>
|
---|
3775 | See also: </b><dd>
|
---|
3776 | <a class="el" href="classEntityResolver.html">EntityResolver</a> , <a class="el" href="classXMLEntityHandler.html">XMLEntityHandler</a> </dl>
|
---|
3777 | <p>
|
---|
3778 | Implements <a class="el" href="classXMLEntityHandler.html#z274_3">XMLEntityHandler</a>. </td>
|
---|
3779 | </tr>
|
---|
3780 | </table>
|
---|
3781 | <a name="z464_17" doxytag="SAXParser::setCalculateSrcOfs"></a><p>
|
---|
3782 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
3783 | <tr>
|
---|
3784 | <td class="md">
|
---|
3785 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
3786 | <tr>
|
---|
3787 | <td class="md" nowrap valign="top"> void SAXParser::setCalculateSrcOfs </td>
|
---|
3788 | <td class="md" valign="top">( </td>
|
---|
3789 | <td class="md" nowrap valign="top">const bool </td>
|
---|
3790 | <td class="mdname1" valign="top" nowrap> <em>newState</em> </td>
|
---|
3791 | <td class="md" valign="top">) </td>
|
---|
3792 | <td class="md" nowrap></td>
|
---|
3793 | </tr>
|
---|
3794 |
|
---|
3795 | </table>
|
---|
3796 | </td>
|
---|
3797 | </tr>
|
---|
3798 | </table>
|
---|
3799 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
3800 | <tr>
|
---|
3801 | <td>
|
---|
3802 |
|
---|
3803 | </td>
|
---|
3804 | <td>
|
---|
3805 |
|
---|
3806 | <p>
|
---|
3807 | Enable/disable src offset calculation.
|
---|
3808 | <p>
|
---|
3809 | This method allows users to enable/disable src offset calculation. Disabling the calculation will improve performance.
|
---|
3810 | <p>
|
---|
3811 | The parser's default state is: false.<dl compact><dt><b>
|
---|
3812 | Parameters: </b><dd>
|
---|
3813 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
3814 | <tr><td valign=top><em>newState</em> </td><td>
|
---|
3815 | The value specifying whether we should enable or disable src offset calculation</td></tr>
|
---|
3816 | </table>
|
---|
3817 | </dl><dl compact><dt><b>
|
---|
3818 | See also: </b><dd>
|
---|
3819 | <a class="el" href="classSAXParser.html#z463_25">getCalculateSrcOfs</a> </dl> </td>
|
---|
3820 | </tr>
|
---|
3821 | </table>
|
---|
3822 | <a name="z468_3" doxytag="SAXParser::setDocumentHandler"></a><p>
|
---|
3823 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
3824 | <tr>
|
---|
3825 | <td class="md">
|
---|
3826 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
3827 | <tr>
|
---|
3828 | <td class="md" nowrap valign="top"> virtual void SAXParser::setDocumentHandler </td>
|
---|
3829 | <td class="md" valign="top">( </td>
|
---|
3830 | <td class="md" nowrap valign="top"><a class="el" href="classDocumentHandler.html">DocumentHandler</a> *const </td>
|
---|
3831 | <td class="mdname1" valign="top" nowrap> <em>handler</em> </td>
|
---|
3832 | <td class="md" valign="top">) </td>
|
---|
3833 | <td class="md" nowrap><code> [virtual]</code></td>
|
---|
3834 | </tr>
|
---|
3835 |
|
---|
3836 | </table>
|
---|
3837 | </td>
|
---|
3838 | </tr>
|
---|
3839 | </table>
|
---|
3840 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
3841 | <tr>
|
---|
3842 | <td>
|
---|
3843 |
|
---|
3844 | </td>
|
---|
3845 | <td>
|
---|
3846 |
|
---|
3847 | <p>
|
---|
3848 | This method installs the user specified SAX Document Handler callback function on parser.
|
---|
3849 | <p>
|
---|
3850 | <dl compact><dt><b>
|
---|
3851 | Parameters: </b><dd>
|
---|
3852 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
3853 | <tr><td valign=top><em>handler</em> </td><td>
|
---|
3854 | A pointer to the document handler to be called when the parser comes across 'document' events as per the SAX specification.</td></tr>
|
---|
3855 | </table>
|
---|
3856 | </dl><dl compact><dt><b>
|
---|
3857 | See also: </b><dd>
|
---|
3858 | Parser::parse(char*) </dl>
|
---|
3859 | <p>
|
---|
3860 | Implements <a class="el" href="classParser.html#z441_2">Parser</a>. </td>
|
---|
3861 | </tr>
|
---|
3862 | </table>
|
---|
3863 | <a name="z464_2" doxytag="SAXParser::setDoNamespaces"></a><p>
|
---|
3864 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
3865 | <tr>
|
---|
3866 | <td class="md">
|
---|
3867 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
3868 | <tr>
|
---|
3869 | <td class="md" nowrap valign="top"> void SAXParser::setDoNamespaces </td>
|
---|
3870 | <td class="md" valign="top">( </td>
|
---|
3871 | <td class="md" nowrap valign="top">const bool </td>
|
---|
3872 | <td class="mdname1" valign="top" nowrap> <em>newState</em> </td>
|
---|
3873 | <td class="md" valign="top">) </td>
|
---|
3874 | <td class="md" nowrap></td>
|
---|
3875 | </tr>
|
---|
3876 |
|
---|
3877 | </table>
|
---|
3878 | </td>
|
---|
3879 | </tr>
|
---|
3880 | </table>
|
---|
3881 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
3882 | <tr>
|
---|
3883 | <td>
|
---|
3884 |
|
---|
3885 | </td>
|
---|
3886 | <td>
|
---|
3887 |
|
---|
3888 | <p>
|
---|
3889 | This method allows users to enable or disable the parser's namespace processing.
|
---|
3890 | <p>
|
---|
3891 | When set to true, parser starts enforcing all the constraints / rules specified by the NameSpace specification.
|
---|
3892 | <p>
|
---|
3893 |
|
---|
3894 | <p>
|
---|
3895 | The parser's default state is: false.<dl compact><dt><b>
|
---|
3896 | Parameters: </b><dd>
|
---|
3897 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
3898 | <tr><td valign=top><em>newState</em> </td><td>
|
---|
3899 | The value specifying whether NameSpace rules should be enforced or not.</td></tr>
|
---|
3900 | </table>
|
---|
3901 | </dl><dl compact><dt><b>
|
---|
3902 | See also: </b><dd>
|
---|
3903 | <a class="el" href="classSAXParser.html#z463_16">getDoNamespaces</a> </dl> </td>
|
---|
3904 | </tr>
|
---|
3905 | </table>
|
---|
3906 | <a name="z464_4" doxytag="SAXParser::setDoSchema"></a><p>
|
---|
3907 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
3908 | <tr>
|
---|
3909 | <td class="md">
|
---|
3910 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
3911 | <tr>
|
---|
3912 | <td class="md" nowrap valign="top"> void SAXParser::setDoSchema </td>
|
---|
3913 | <td class="md" valign="top">( </td>
|
---|
3914 | <td class="md" nowrap valign="top">const bool </td>
|
---|
3915 | <td class="mdname1" valign="top" nowrap> <em>newState</em> </td>
|
---|
3916 | <td class="md" valign="top">) </td>
|
---|
3917 | <td class="md" nowrap></td>
|
---|
3918 | </tr>
|
---|
3919 |
|
---|
3920 | </table>
|
---|
3921 | </td>
|
---|
3922 | </tr>
|
---|
3923 | </table>
|
---|
3924 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
3925 | <tr>
|
---|
3926 | <td>
|
---|
3927 |
|
---|
3928 | </td>
|
---|
3929 | <td>
|
---|
3930 |
|
---|
3931 | <p>
|
---|
3932 | Set the 'schema support' flag.
|
---|
3933 | <p>
|
---|
3934 | This method allows users to enable or disable the parser's schema processing. When set to false, parser will not process any schema found.
|
---|
3935 | <p>
|
---|
3936 | The parser's default state is: false.
|
---|
3937 | <p>
|
---|
3938 | Note: If set to true, namespace processing must also be turned on.<dl compact><dt><b>
|
---|
3939 | Parameters: </b><dd>
|
---|
3940 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
3941 | <tr><td valign=top><em>newState</em> </td><td>
|
---|
3942 | The value specifying whether schema support should be enforced or not.</td></tr>
|
---|
3943 | </table>
|
---|
3944 | </dl><dl compact><dt><b>
|
---|
3945 | See also: </b><dd>
|
---|
3946 | <a class="el" href="classSAXParser.html#z463_12">getDoSchema</a> </dl> </td>
|
---|
3947 | </tr>
|
---|
3948 | </table>
|
---|
3949 | <a name="z473_1" doxytag="SAXParser::setDoValidation"></a><p>
|
---|
3950 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
3951 | <tr>
|
---|
3952 | <td class="md">
|
---|
3953 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
3954 | <tr>
|
---|
3955 | <td class="md" nowrap valign="top"> void SAXParser::setDoValidation </td>
|
---|
3956 | <td class="md" valign="top">( </td>
|
---|
3957 | <td class="md" nowrap valign="top">const bool </td>
|
---|
3958 | <td class="mdname1" valign="top" nowrap> <em>newState</em> </td>
|
---|
3959 | <td class="md" valign="top">) </td>
|
---|
3960 | <td class="md" nowrap></td>
|
---|
3961 | </tr>
|
---|
3962 |
|
---|
3963 | </table>
|
---|
3964 | </td>
|
---|
3965 | </tr>
|
---|
3966 | </table>
|
---|
3967 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
3968 | <tr>
|
---|
3969 | <td>
|
---|
3970 |
|
---|
3971 | </td>
|
---|
3972 | <td>
|
---|
3973 |
|
---|
3974 | <p>
|
---|
3975 | This method allows users to enable or disable the parser's validation checks.
|
---|
3976 | <p>
|
---|
3977 |
|
---|
3978 | <p>
|
---|
3979 | By default, the parser does not to any validation. The default value is false.<dl compact><dt><b>
|
---|
3980 | Parameters: </b><dd>
|
---|
3981 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
3982 | <tr><td valign=top><em>newState</em> </td><td>
|
---|
3983 | The value specifying whether the parser should do validity checks or not against the DTD in the input XML document.</td></tr>
|
---|
3984 | </table>
|
---|
3985 | </dl><dl compact><dt><b>
|
---|
3986 | See also: </b><dd>
|
---|
3987 | <a class="el" href="classSAXParser.html#z473_0">getDoValidation</a> </dl> </td>
|
---|
3988 | </tr>
|
---|
3989 | </table>
|
---|
3990 | <a name="z468_4" doxytag="SAXParser::setDTDHandler"></a><p>
|
---|
3991 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
3992 | <tr>
|
---|
3993 | <td class="md">
|
---|
3994 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
3995 | <tr>
|
---|
3996 | <td class="md" nowrap valign="top"> virtual void SAXParser::setDTDHandler </td>
|
---|
3997 | <td class="md" valign="top">( </td>
|
---|
3998 | <td class="md" nowrap valign="top"><a class="el" href="classDTDHandler.html">DTDHandler</a> *const </td>
|
---|
3999 | <td class="mdname1" valign="top" nowrap> <em>handler</em> </td>
|
---|
4000 | <td class="md" valign="top">) </td>
|
---|
4001 | <td class="md" nowrap><code> [virtual]</code></td>
|
---|
4002 | </tr>
|
---|
4003 |
|
---|
4004 | </table>
|
---|
4005 | </td>
|
---|
4006 | </tr>
|
---|
4007 | </table>
|
---|
4008 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
4009 | <tr>
|
---|
4010 | <td>
|
---|
4011 |
|
---|
4012 | </td>
|
---|
4013 | <td>
|
---|
4014 |
|
---|
4015 | <p>
|
---|
4016 | This method installs the user specified DTD handler on the parser.
|
---|
4017 | <p>
|
---|
4018 | <dl compact><dt><b>
|
---|
4019 | Parameters: </b><dd>
|
---|
4020 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
4021 | <tr><td valign=top><em>handler</em> </td><td>
|
---|
4022 | A pointer to the DTD handler to be called when the parser comes across 'DTD' events as per the SAX specification.</td></tr>
|
---|
4023 | </table>
|
---|
4024 | </dl><dl compact><dt><b>
|
---|
4025 | See also: </b><dd>
|
---|
4026 | <a class="el" href="classParser.html#z441_1">Parser::setDTDHandler</a> </dl>
|
---|
4027 | <p>
|
---|
4028 | Implements <a class="el" href="classParser.html#z441_1">Parser</a>. </td>
|
---|
4029 | </tr>
|
---|
4030 | </table>
|
---|
4031 | <a name="z468_7" doxytag="SAXParser::setEntityResolver"></a><p>
|
---|
4032 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
4033 | <tr>
|
---|
4034 | <td class="md">
|
---|
4035 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
4036 | <tr>
|
---|
4037 | <td class="md" nowrap valign="top"> virtual void SAXParser::setEntityResolver </td>
|
---|
4038 | <td class="md" valign="top">( </td>
|
---|
4039 | <td class="md" nowrap valign="top"><a class="el" href="classEntityResolver.html">EntityResolver</a> *const </td>
|
---|
4040 | <td class="mdname1" valign="top" nowrap> <em>resolver</em> </td>
|
---|
4041 | <td class="md" valign="top">) </td>
|
---|
4042 | <td class="md" nowrap><code> [virtual]</code></td>
|
---|
4043 | </tr>
|
---|
4044 |
|
---|
4045 | </table>
|
---|
4046 | </td>
|
---|
4047 | </tr>
|
---|
4048 | </table>
|
---|
4049 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
4050 | <tr>
|
---|
4051 | <td>
|
---|
4052 |
|
---|
4053 | </td>
|
---|
4054 | <td>
|
---|
4055 |
|
---|
4056 | <p>
|
---|
4057 | This method installs the user specified entity resolver on the parser.
|
---|
4058 | <p>
|
---|
4059 | It allows applications to trap and redirect calls to external entities.
|
---|
4060 | <p>
|
---|
4061 | <em>Any previously set entity resolver is merely dropped, since the parser does not own them. If both setEntityResolver and setXMLEntityResolver are called, then the last one is used.</em><dl compact><dt><b>
|
---|
4062 | Parameters: </b><dd>
|
---|
4063 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
4064 | <tr><td valign=top><em>resolver</em> </td><td>
|
---|
4065 | A pointer to the entity resolver to be called when the parser comes across references to entities in the XML file.</td></tr>
|
---|
4066 | </table>
|
---|
4067 | </dl><dl compact><dt><b>
|
---|
4068 | See also: </b><dd>
|
---|
4069 | <a class="el" href="classParser.html#z441_0">Parser::setEntityResolver</a> </dl>
|
---|
4070 | <p>
|
---|
4071 | Implements <a class="el" href="classParser.html#z441_0">Parser</a>. </td>
|
---|
4072 | </tr>
|
---|
4073 | </table>
|
---|
4074 | <a name="z468_5" doxytag="SAXParser::setErrorHandler"></a><p>
|
---|
4075 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
4076 | <tr>
|
---|
4077 | <td class="md">
|
---|
4078 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
4079 | <tr>
|
---|
4080 | <td class="md" nowrap valign="top"> virtual void SAXParser::setErrorHandler </td>
|
---|
4081 | <td class="md" valign="top">( </td>
|
---|
4082 | <td class="md" nowrap valign="top"><a class="el" href="classErrorHandler.html">ErrorHandler</a> *const </td>
|
---|
4083 | <td class="mdname1" valign="top" nowrap> <em>handler</em> </td>
|
---|
4084 | <td class="md" valign="top">) </td>
|
---|
4085 | <td class="md" nowrap><code> [virtual]</code></td>
|
---|
4086 | </tr>
|
---|
4087 |
|
---|
4088 | </table>
|
---|
4089 | </td>
|
---|
4090 | </tr>
|
---|
4091 | </table>
|
---|
4092 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
4093 | <tr>
|
---|
4094 | <td>
|
---|
4095 |
|
---|
4096 | </td>
|
---|
4097 | <td>
|
---|
4098 |
|
---|
4099 | <p>
|
---|
4100 | This method installs the user specified error handler on the parser.
|
---|
4101 | <p>
|
---|
4102 | <dl compact><dt><b>
|
---|
4103 | Parameters: </b><dd>
|
---|
4104 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
4105 | <tr><td valign=top><em>handler</em> </td><td>
|
---|
4106 | A pointer to the error handler to be called when the parser comes across 'error' events as per the SAX specification.</td></tr>
|
---|
4107 | </table>
|
---|
4108 | </dl><dl compact><dt><b>
|
---|
4109 | See also: </b><dd>
|
---|
4110 | <a class="el" href="classParser.html#z441_3">Parser::setErrorHandler</a> </dl>
|
---|
4111 | <p>
|
---|
4112 | Implements <a class="el" href="classParser.html#z441_3">Parser</a>. </td>
|
---|
4113 | </tr>
|
---|
4114 | </table>
|
---|
4115 | <a name="z464_7" doxytag="SAXParser::setExitOnFirstFatalError"></a><p>
|
---|
4116 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
4117 | <tr>
|
---|
4118 | <td class="md">
|
---|
4119 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
4120 | <tr>
|
---|
4121 | <td class="md" nowrap valign="top"> void SAXParser::setExitOnFirstFatalError </td>
|
---|
4122 | <td class="md" valign="top">( </td>
|
---|
4123 | <td class="md" nowrap valign="top">const bool </td>
|
---|
4124 | <td class="mdname1" valign="top" nowrap> <em>newState</em> </td>
|
---|
4125 | <td class="md" valign="top">) </td>
|
---|
4126 | <td class="md" nowrap></td>
|
---|
4127 | </tr>
|
---|
4128 |
|
---|
4129 | </table>
|
---|
4130 | </td>
|
---|
4131 | </tr>
|
---|
4132 | </table>
|
---|
4133 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
4134 | <tr>
|
---|
4135 | <td>
|
---|
4136 |
|
---|
4137 | </td>
|
---|
4138 | <td>
|
---|
4139 |
|
---|
4140 | <p>
|
---|
4141 | This method allows users to set the parser's behaviour when it encounters the first fatal error.
|
---|
4142 | <p>
|
---|
4143 | If set to true, the parser will exit at the first fatal error. If false, then it will report the error and continue processing.
|
---|
4144 | <p>
|
---|
4145 |
|
---|
4146 | <p>
|
---|
4147 | The default value is 'true' and the parser exits on the first fatal error.<dl compact><dt><b>
|
---|
4148 | Parameters: </b><dd>
|
---|
4149 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
4150 | <tr><td valign=top><em>newState</em> </td><td>
|
---|
4151 | The value specifying whether the parser should continue or exit when it encounters the first fatal error.</td></tr>
|
---|
4152 | </table>
|
---|
4153 | </dl><dl compact><dt><b>
|
---|
4154 | See also: </b><dd>
|
---|
4155 | <a class="el" href="classSAXParser.html#z463_17">getExitOnFirstFatalError</a> </dl> </td>
|
---|
4156 | </tr>
|
---|
4157 | </table>
|
---|
4158 | <a name="z464_12" doxytag="SAXParser::setExternalNoNamespaceSchemaLocation"></a><p>
|
---|
4159 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
4160 | <tr>
|
---|
4161 | <td class="md">
|
---|
4162 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
4163 | <tr>
|
---|
4164 | <td class="md" nowrap valign="top"> void SAXParser::setExternalNoNamespaceSchemaLocation </td>
|
---|
4165 | <td class="md" valign="top">( </td>
|
---|
4166 | <td class="md" nowrap valign="top">const char *const </td>
|
---|
4167 | <td class="mdname1" valign="top" nowrap> <em>noNamespaceSchemaLocation</em> </td>
|
---|
4168 | <td class="md" valign="top">) </td>
|
---|
4169 | <td class="md" nowrap></td>
|
---|
4170 | </tr>
|
---|
4171 |
|
---|
4172 | </table>
|
---|
4173 | </td>
|
---|
4174 | </tr>
|
---|
4175 | </table>
|
---|
4176 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
4177 | <tr>
|
---|
4178 | <td>
|
---|
4179 |
|
---|
4180 | </td>
|
---|
4181 | <td>
|
---|
4182 |
|
---|
4183 | <p>
|
---|
4184 | This method is same as <a class="el" href="classSAXParser.html#z464_11">setExternalNoNamespaceSchemaLocation</a>(const XMLCh* const).
|
---|
4185 | <p>
|
---|
4186 | It takes native char string as parameter<dl compact><dt><b>
|
---|
4187 | Parameters: </b><dd>
|
---|
4188 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
4189 | <tr><td valign=top><em>noNamespaceSchemaLocation</em> </td><td>
|
---|
4190 | the XML Schema Location with no target namespace</td></tr>
|
---|
4191 | </table>
|
---|
4192 | </dl><dl compact><dt><b>
|
---|
4193 | See also: </b><dd>
|
---|
4194 | <a class="el" href="classSAXParser.html#z464_11">setExternalNoNamespaceSchemaLocation</a>(const XMLCh* const) </dl> </td>
|
---|
4195 | </tr>
|
---|
4196 | </table>
|
---|
4197 | <a name="z464_11" doxytag="SAXParser::setExternalNoNamespaceSchemaLocation"></a><p>
|
---|
4198 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
4199 | <tr>
|
---|
4200 | <td class="md">
|
---|
4201 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
4202 | <tr>
|
---|
4203 | <td class="md" nowrap valign="top"> void SAXParser::setExternalNoNamespaceSchemaLocation </td>
|
---|
4204 | <td class="md" valign="top">( </td>
|
---|
4205 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
4206 | <td class="mdname1" valign="top" nowrap> <em>noNamespaceSchemaLocation</em> </td>
|
---|
4207 | <td class="md" valign="top">) </td>
|
---|
4208 | <td class="md" nowrap></td>
|
---|
4209 | </tr>
|
---|
4210 |
|
---|
4211 | </table>
|
---|
4212 | </td>
|
---|
4213 | </tr>
|
---|
4214 | </table>
|
---|
4215 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
4216 | <tr>
|
---|
4217 | <td>
|
---|
4218 |
|
---|
4219 | </td>
|
---|
4220 | <td>
|
---|
4221 |
|
---|
4222 | <p>
|
---|
4223 | This method allows the user to specify the no target namespace XML Schema Location externally.
|
---|
4224 | <p>
|
---|
4225 | If specified, the instance document's noNamespaceSchemaLocation attribute will be effectively ignored.
|
---|
4226 | <p>
|
---|
4227 | If this method is called more than once, only the last one takes effect.
|
---|
4228 | <p>
|
---|
4229 | The syntax is the same as for the noNamespaceSchemaLocation attribute that may occur in an instance document: e.g."file_name.xsd".<dl compact><dt><b>
|
---|
4230 | Parameters: </b><dd>
|
---|
4231 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
4232 | <tr><td valign=top><em>noNamespaceSchemaLocation</em> </td><td>
|
---|
4233 | the XML Schema Location with no target namespace</td></tr>
|
---|
4234 | </table>
|
---|
4235 | </dl><dl compact><dt><b>
|
---|
4236 | See also: </b><dd>
|
---|
4237 | <a class="el" href="classSAXParser.html#z463_20">getExternalNoNamespaceSchemaLocation</a> </dl> </td>
|
---|
4238 | </tr>
|
---|
4239 | </table>
|
---|
4240 | <a name="z464_10" doxytag="SAXParser::setExternalSchemaLocation"></a><p>
|
---|
4241 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
4242 | <tr>
|
---|
4243 | <td class="md">
|
---|
4244 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
4245 | <tr>
|
---|
4246 | <td class="md" nowrap valign="top"> void SAXParser::setExternalSchemaLocation </td>
|
---|
4247 | <td class="md" valign="top">( </td>
|
---|
4248 | <td class="md" nowrap valign="top">const char *const </td>
|
---|
4249 | <td class="mdname1" valign="top" nowrap> <em>schemaLocation</em> </td>
|
---|
4250 | <td class="md" valign="top">) </td>
|
---|
4251 | <td class="md" nowrap></td>
|
---|
4252 | </tr>
|
---|
4253 |
|
---|
4254 | </table>
|
---|
4255 | </td>
|
---|
4256 | </tr>
|
---|
4257 | </table>
|
---|
4258 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
4259 | <tr>
|
---|
4260 | <td>
|
---|
4261 |
|
---|
4262 | </td>
|
---|
4263 | <td>
|
---|
4264 |
|
---|
4265 | <p>
|
---|
4266 | This method is same as <a class="el" href="classSAXParser.html#z464_9">setExternalSchemaLocation</a>(const XMLCh* const).
|
---|
4267 | <p>
|
---|
4268 | It takes native char string as parameter<dl compact><dt><b>
|
---|
4269 | Parameters: </b><dd>
|
---|
4270 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
4271 | <tr><td valign=top><em>schemaLocation</em> </td><td>
|
---|
4272 | the list of schemas to use</td></tr>
|
---|
4273 | </table>
|
---|
4274 | </dl><dl compact><dt><b>
|
---|
4275 | See also: </b><dd>
|
---|
4276 | <a class="el" href="classSAXParser.html#z464_9">setExternalSchemaLocation</a>(const XMLCh* const) </dl> </td>
|
---|
4277 | </tr>
|
---|
4278 | </table>
|
---|
4279 | <a name="z464_9" doxytag="SAXParser::setExternalSchemaLocation"></a><p>
|
---|
4280 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
4281 | <tr>
|
---|
4282 | <td class="md">
|
---|
4283 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
4284 | <tr>
|
---|
4285 | <td class="md" nowrap valign="top"> void SAXParser::setExternalSchemaLocation </td>
|
---|
4286 | <td class="md" valign="top">( </td>
|
---|
4287 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
4288 | <td class="mdname1" valign="top" nowrap> <em>schemaLocation</em> </td>
|
---|
4289 | <td class="md" valign="top">) </td>
|
---|
4290 | <td class="md" nowrap></td>
|
---|
4291 | </tr>
|
---|
4292 |
|
---|
4293 | </table>
|
---|
4294 | </td>
|
---|
4295 | </tr>
|
---|
4296 | </table>
|
---|
4297 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
4298 | <tr>
|
---|
4299 | <td>
|
---|
4300 |
|
---|
4301 | </td>
|
---|
4302 | <td>
|
---|
4303 |
|
---|
4304 | <p>
|
---|
4305 | This method allows the user to specify a list of schemas to use.
|
---|
4306 | <p>
|
---|
4307 | If the targetNamespace of a schema specified using this method matches the targetNamespace of a schema occuring in the instance document in the schemaLocation attribute, or if the targetNamespace matches the namespace attribute of the "import" element, the schema specified by the user using this method will be used (i.e., the schemaLocation attribute in the instance document or on the "import" element will be effectively ignored).
|
---|
4308 | <p>
|
---|
4309 | If this method is called more than once, only the last one takes effect.
|
---|
4310 | <p>
|
---|
4311 | The syntax is the same as for schemaLocation attributes in instance documents: e.g, "<a href="http://www.example.com">http://www.example.com</a> file_name.xsd". The user can specify more than one XML Schema in the list.<dl compact><dt><b>
|
---|
4312 | Parameters: </b><dd>
|
---|
4313 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
4314 | <tr><td valign=top><em>schemaLocation</em> </td><td>
|
---|
4315 | the list of schemas to use</td></tr>
|
---|
4316 | </table>
|
---|
4317 | </dl><dl compact><dt><b>
|
---|
4318 | See also: </b><dd>
|
---|
4319 | <a class="el" href="classSAXParser.html#z463_19">getExternalSchemaLocation</a> </dl> </td>
|
---|
4320 | </tr>
|
---|
4321 | </table>
|
---|
4322 | <a name="z464_0" doxytag="SAXParser::setGenerateSyntheticAnnotations"></a><p>
|
---|
4323 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
4324 | <tr>
|
---|
4325 | <td class="md">
|
---|
4326 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
4327 | <tr>
|
---|
4328 | <td class="md" nowrap valign="top"> void SAXParser::setGenerateSyntheticAnnotations </td>
|
---|
4329 | <td class="md" valign="top">( </td>
|
---|
4330 | <td class="md" nowrap valign="top">const bool </td>
|
---|
4331 | <td class="mdname1" valign="top" nowrap> <em>newValue</em> </td>
|
---|
4332 | <td class="md" valign="top">) </td>
|
---|
4333 | <td class="md" nowrap></td>
|
---|
4334 | </tr>
|
---|
4335 |
|
---|
4336 | </table>
|
---|
4337 | </td>
|
---|
4338 | </tr>
|
---|
4339 | </table>
|
---|
4340 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
4341 | <tr>
|
---|
4342 | <td>
|
---|
4343 |
|
---|
4344 | </td>
|
---|
4345 | <td>
|
---|
4346 |
|
---|
4347 | <p>
|
---|
4348 | set the 'generate synthetic annotations' flag.
|
---|
4349 | <p>
|
---|
4350 | <dl compact><dt><b>
|
---|
4351 | Parameters: </b><dd>
|
---|
4352 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
4353 | <tr><td valign=top><em>newValue</em> </td><td>
|
---|
4354 | The value for specifying whether Synthetic Annotations should be generated or not. A synthetic <a class="el" href="classXSAnnotation.html">XSAnnotation</a> is created when a schema component has non-schema attributes but has no child annotations.</td></tr>
|
---|
4355 | </table>
|
---|
4356 | </dl><dl compact><dt><b>
|
---|
4357 | See also: </b><dd>
|
---|
4358 | <a class="el" href="classSAXParser.html#z463_31">getGenerateSyntheticAnnotations</a> </dl> </td>
|
---|
4359 | </tr>
|
---|
4360 | </table>
|
---|
4361 | <a name="z464_6" doxytag="SAXParser::setIdentityConstraintChecking"></a><p>
|
---|
4362 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
4363 | <tr>
|
---|
4364 | <td class="md">
|
---|
4365 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
4366 | <tr>
|
---|
4367 | <td class="md" nowrap valign="top"> void SAXParser::setIdentityConstraintChecking </td>
|
---|
4368 | <td class="md" valign="top">( </td>
|
---|
4369 | <td class="md" nowrap valign="top">const bool </td>
|
---|
4370 | <td class="mdname1" valign="top" nowrap> <em>identityConstraintChecking</em> </td>
|
---|
4371 | <td class="md" valign="top">) </td>
|
---|
4372 | <td class="md" nowrap></td>
|
---|
4373 | </tr>
|
---|
4374 |
|
---|
4375 | </table>
|
---|
4376 | </td>
|
---|
4377 | </tr>
|
---|
4378 | </table>
|
---|
4379 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
4380 | <tr>
|
---|
4381 | <td>
|
---|
4382 |
|
---|
4383 | </td>
|
---|
4384 | <td>
|
---|
4385 |
|
---|
4386 | <p>
|
---|
4387 | This method allows the user to turn identity constraint checking on/off.
|
---|
4388 | <p>
|
---|
4389 | Only takes effect if Schema validation is enabled. If turned off, identity constraint checking is not done.
|
---|
4390 | <p>
|
---|
4391 | The parser's default state is: true.<dl compact><dt><b>
|
---|
4392 | Parameters: </b><dd>
|
---|
4393 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
4394 | <tr><td valign=top><em>identityConstraintChecking</em> </td><td>
|
---|
4395 | True to turn on identity constraint checking.</td></tr>
|
---|
4396 | </table>
|
---|
4397 | </dl><dl compact><dt><b>
|
---|
4398 | See also: </b><dd>
|
---|
4399 | <a class="el" href="classSAXParser.html#z463_14">getIdentityConstraintChecking</a> </dl> </td>
|
---|
4400 | </tr>
|
---|
4401 | </table>
|
---|
4402 | <a name="z464_20" doxytag="SAXParser::setInputBufferSize"></a><p>
|
---|
4403 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
4404 | <tr>
|
---|
4405 | <td class="md">
|
---|
4406 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
4407 | <tr>
|
---|
4408 | <td class="md" nowrap valign="top"> void SAXParser::setInputBufferSize </td>
|
---|
4409 | <td class="md" valign="top">( </td>
|
---|
4410 | <td class="md" nowrap valign="top">const size_t </td>
|
---|
4411 | <td class="mdname1" valign="top" nowrap> <em>bufferSize</em> </td>
|
---|
4412 | <td class="md" valign="top">) </td>
|
---|
4413 | <td class="md" nowrap></td>
|
---|
4414 | </tr>
|
---|
4415 |
|
---|
4416 | </table>
|
---|
4417 | </td>
|
---|
4418 | </tr>
|
---|
4419 | </table>
|
---|
4420 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
4421 | <tr>
|
---|
4422 | <td>
|
---|
4423 |
|
---|
4424 | </td>
|
---|
4425 | <td>
|
---|
4426 |
|
---|
4427 | <p>
|
---|
4428 | Set maximum input buffer size.
|
---|
4429 | <p>
|
---|
4430 | This method allows users to limit the size of buffers used in parsing XML character data. The effect of setting this size is to limit the size of a <a class="el" href="classContentHandler.html#z531_0">ContentHandler::characters</a>() call.
|
---|
4431 | <p>
|
---|
4432 | The parser's default input buffer size is 1 megabyte.<dl compact><dt><b>
|
---|
4433 | Parameters: </b><dd>
|
---|
4434 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
4435 | <tr><td valign=top><em>bufferSize</em> </td><td>
|
---|
4436 | The maximum input buffer size </td></tr>
|
---|
4437 | </table>
|
---|
4438 | </dl> </td>
|
---|
4439 | </tr>
|
---|
4440 | </table>
|
---|
4441 | <a name="z464_14" doxytag="SAXParser::setLoadExternalDTD"></a><p>
|
---|
4442 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
4443 | <tr>
|
---|
4444 | <td class="md">
|
---|
4445 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
4446 | <tr>
|
---|
4447 | <td class="md" nowrap valign="top"> void SAXParser::setLoadExternalDTD </td>
|
---|
4448 | <td class="md" valign="top">( </td>
|
---|
4449 | <td class="md" nowrap valign="top">const bool </td>
|
---|
4450 | <td class="mdname1" valign="top" nowrap> <em>newState</em> </td>
|
---|
4451 | <td class="md" valign="top">) </td>
|
---|
4452 | <td class="md" nowrap></td>
|
---|
4453 | </tr>
|
---|
4454 |
|
---|
4455 | </table>
|
---|
4456 | </td>
|
---|
4457 | </tr>
|
---|
4458 | </table>
|
---|
4459 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
4460 | <tr>
|
---|
4461 | <td>
|
---|
4462 |
|
---|
4463 | </td>
|
---|
4464 | <td>
|
---|
4465 |
|
---|
4466 | <p>
|
---|
4467 | Set the 'Loading External DTD' flag.
|
---|
4468 | <p>
|
---|
4469 | This method allows users to enable or disable the loading of external DTD. When set to false, the parser will ignore any external DTD completely if the validationScheme is set to Val_Never.
|
---|
4470 | <p>
|
---|
4471 | The parser's default state is: true.
|
---|
4472 | <p>
|
---|
4473 | This flag is ignored if the validationScheme is set to Val_Always or Val_Auto.<dl compact><dt><b>
|
---|
4474 | Parameters: </b><dd>
|
---|
4475 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
4476 | <tr><td valign=top><em>newState</em> </td><td>
|
---|
4477 | The value specifying whether external DTD should be loaded or not.</td></tr>
|
---|
4478 | </table>
|
---|
4479 | </dl><dl compact><dt><b>
|
---|
4480 | See also: </b><dd>
|
---|
4481 | <a class="el" href="classSAXParser.html#z463_22">getLoadExternalDTD</a> , <a class="el" href="classSAXParser.html#z464_3">setValidationScheme</a> </dl> </td>
|
---|
4482 | </tr>
|
---|
4483 | </table>
|
---|
4484 | <a name="z468_6" doxytag="SAXParser::setPSVIHandler"></a><p>
|
---|
4485 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
4486 | <tr>
|
---|
4487 | <td class="md">
|
---|
4488 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
4489 | <tr>
|
---|
4490 | <td class="md" nowrap valign="top"> virtual void SAXParser::setPSVIHandler </td>
|
---|
4491 | <td class="md" valign="top">( </td>
|
---|
4492 | <td class="md" nowrap valign="top"><a class="el" href="classPSVIHandler.html">PSVIHandler</a> *const </td>
|
---|
4493 | <td class="mdname1" valign="top" nowrap> <em>handler</em> </td>
|
---|
4494 | <td class="md" valign="top">) </td>
|
---|
4495 | <td class="md" nowrap><code> [virtual]</code></td>
|
---|
4496 | </tr>
|
---|
4497 |
|
---|
4498 | </table>
|
---|
4499 | </td>
|
---|
4500 | </tr>
|
---|
4501 | </table>
|
---|
4502 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
4503 | <tr>
|
---|
4504 | <td>
|
---|
4505 |
|
---|
4506 | </td>
|
---|
4507 | <td>
|
---|
4508 |
|
---|
4509 | <p>
|
---|
4510 | This method installs the user specified PSVI handler on the parser.
|
---|
4511 | <p>
|
---|
4512 | <dl compact><dt><b>
|
---|
4513 | Parameters: </b><dd>
|
---|
4514 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
4515 | <tr><td valign=top><em>handler</em> </td><td>
|
---|
4516 | A pointer to the PSVI handler to be called when the parser comes across 'PSVI' events as per the schema specification.</td></tr>
|
---|
4517 | </table>
|
---|
4518 | </dl><dl compact><dt><b>
|
---|
4519 | See also: </b><dd>
|
---|
4520 | Parser::setPSVIHandler </dl> </td>
|
---|
4521 | </tr>
|
---|
4522 | </table>
|
---|
4523 | <a name="z464_13" doxytag="SAXParser::setSecurityManager"></a><p>
|
---|
4524 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
4525 | <tr>
|
---|
4526 | <td class="md">
|
---|
4527 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
4528 | <tr>
|
---|
4529 | <td class="md" nowrap valign="top"> void SAXParser::setSecurityManager </td>
|
---|
4530 | <td class="md" valign="top">( </td>
|
---|
4531 | <td class="md" nowrap valign="top"><a class="el" href="classSecurityManager.html">SecurityManager</a> *const </td>
|
---|
4532 | <td class="mdname1" valign="top" nowrap> <em>securityManager</em> </td>
|
---|
4533 | <td class="md" valign="top">) </td>
|
---|
4534 | <td class="md" nowrap></td>
|
---|
4535 | </tr>
|
---|
4536 |
|
---|
4537 | </table>
|
---|
4538 | </td>
|
---|
4539 | </tr>
|
---|
4540 | </table>
|
---|
4541 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
4542 | <tr>
|
---|
4543 | <td>
|
---|
4544 |
|
---|
4545 | </td>
|
---|
4546 | <td>
|
---|
4547 |
|
---|
4548 | <p>
|
---|
4549 | This allows an application to set a <a class="el" href="classSecurityManager.html">SecurityManager</a> on the parser; this object stores information that various components use to limit their consumption of system resources while processing documents.
|
---|
4550 | <p>
|
---|
4551 | If this method is called more than once, only the last one takes effect. It may not be reset during a parse.<dl compact><dt><b>
|
---|
4552 | Parameters: </b><dd>
|
---|
4553 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
4554 | <tr><td valign=top><em>securityManager</em> </td><td>
|
---|
4555 | the <a class="el" href="classSecurityManager.html">SecurityManager</a> instance to be used by this parser</td></tr>
|
---|
4556 | </table>
|
---|
4557 | </dl><dl compact><dt><b>
|
---|
4558 | See also: </b><dd>
|
---|
4559 | <a class="el" href="classSAXParser.html#z463_21">getSecurityManager</a> </dl> </td>
|
---|
4560 | </tr>
|
---|
4561 | </table>
|
---|
4562 | <a name="z464_18" doxytag="SAXParser::setStandardUriConformant"></a><p>
|
---|
4563 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
4564 | <tr>
|
---|
4565 | <td class="md">
|
---|
4566 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
4567 | <tr>
|
---|
4568 | <td class="md" nowrap valign="top"> void SAXParser::setStandardUriConformant </td>
|
---|
4569 | <td class="md" valign="top">( </td>
|
---|
4570 | <td class="md" nowrap valign="top">const bool </td>
|
---|
4571 | <td class="mdname1" valign="top" nowrap> <em>newState</em> </td>
|
---|
4572 | <td class="md" valign="top">) </td>
|
---|
4573 | <td class="md" nowrap></td>
|
---|
4574 | </tr>
|
---|
4575 |
|
---|
4576 | </table>
|
---|
4577 | </td>
|
---|
4578 | </tr>
|
---|
4579 | </table>
|
---|
4580 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
4581 | <tr>
|
---|
4582 | <td>
|
---|
4583 |
|
---|
4584 | </td>
|
---|
4585 | <td>
|
---|
4586 |
|
---|
4587 | <p>
|
---|
4588 | Force standard uri.
|
---|
4589 | <p>
|
---|
4590 | This method allows users to tell the parser to force standard uri conformance.
|
---|
4591 | <p>
|
---|
4592 | The parser's default state is: false.<dl compact><dt><b>
|
---|
4593 | Parameters: </b><dd>
|
---|
4594 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
4595 | <tr><td valign=top><em>newState</em> </td><td>
|
---|
4596 | The value specifying whether the parser should reject malformed URI.</td></tr>
|
---|
4597 | </table>
|
---|
4598 | </dl><dl compact><dt><b>
|
---|
4599 | See also: </b><dd>
|
---|
4600 | <a class="el" href="classSAXParser.html#z463_26">getStandardUriConformant</a> </dl> </td>
|
---|
4601 | </tr>
|
---|
4602 | </table>
|
---|
4603 | <a name="z464_1" doxytag="SAXParser::setValidateAnnotations"></a><p>
|
---|
4604 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
4605 | <tr>
|
---|
4606 | <td class="md">
|
---|
4607 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
4608 | <tr>
|
---|
4609 | <td class="md" nowrap valign="top"> void SAXParser::setValidateAnnotations </td>
|
---|
4610 | <td class="md" valign="top">( </td>
|
---|
4611 | <td class="md" nowrap valign="top">const bool </td>
|
---|
4612 | <td class="mdname1" valign="top" nowrap> <em>newValue</em> </td>
|
---|
4613 | <td class="md" valign="top">) </td>
|
---|
4614 | <td class="md" nowrap></td>
|
---|
4615 | </tr>
|
---|
4616 |
|
---|
4617 | </table>
|
---|
4618 | </td>
|
---|
4619 | </tr>
|
---|
4620 | </table>
|
---|
4621 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
4622 | <tr>
|
---|
4623 | <td>
|
---|
4624 |
|
---|
4625 | </td>
|
---|
4626 | <td>
|
---|
4627 |
|
---|
4628 | <p>
|
---|
4629 | set the 'validate annotations' flag.
|
---|
4630 | <p>
|
---|
4631 | <dl compact><dt><b>
|
---|
4632 | Parameters: </b><dd>
|
---|
4633 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
4634 | <tr><td valign=top><em>newValue</em> </td><td>
|
---|
4635 | The value for specifying whether annotations should be validate or not.</td></tr>
|
---|
4636 | </table>
|
---|
4637 | </dl><dl compact><dt><b>
|
---|
4638 | See also: </b><dd>
|
---|
4639 | <a class="el" href="classSAXParser.html#z463_32">getValidateAnnotations</a> </dl> </td>
|
---|
4640 | </tr>
|
---|
4641 | </table>
|
---|
4642 | <a name="z464_8" doxytag="SAXParser::setValidationConstraintFatal"></a><p>
|
---|
4643 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
4644 | <tr>
|
---|
4645 | <td class="md">
|
---|
4646 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
4647 | <tr>
|
---|
4648 | <td class="md" nowrap valign="top"> void SAXParser::setValidationConstraintFatal </td>
|
---|
4649 | <td class="md" valign="top">( </td>
|
---|
4650 | <td class="md" nowrap valign="top">const bool </td>
|
---|
4651 | <td class="mdname1" valign="top" nowrap> <em>newState</em> </td>
|
---|
4652 | <td class="md" valign="top">) </td>
|
---|
4653 | <td class="md" nowrap></td>
|
---|
4654 | </tr>
|
---|
4655 |
|
---|
4656 | </table>
|
---|
4657 | </td>
|
---|
4658 | </tr>
|
---|
4659 | </table>
|
---|
4660 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
4661 | <tr>
|
---|
4662 | <td>
|
---|
4663 |
|
---|
4664 | </td>
|
---|
4665 | <td>
|
---|
4666 |
|
---|
4667 | <p>
|
---|
4668 | This method allows users to set the parser's behaviour when it encounters a validtion constraint error.
|
---|
4669 | <p>
|
---|
4670 | If set to true, and the the parser will treat validation error as fatal and will exit depends on the state of "getExitOnFirstFatalError". If false, then it will report the error and continue processing.
|
---|
4671 | <p>
|
---|
4672 | Note: setting this true does not mean the validation error will be printed with the word "Fatal Error". It is still printed as "Error", but the parser will exit if "setExitOnFirstFatalError" is set to true.
|
---|
4673 | <p>
|
---|
4674 |
|
---|
4675 | <p>
|
---|
4676 | The default value is 'false'.<dl compact><dt><b>
|
---|
4677 | Parameters: </b><dd>
|
---|
4678 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
4679 | <tr><td valign=top><em>newState</em> </td><td>
|
---|
4680 | If true, the parser will exit if "setExitOnFirstFatalError" is set to true.</td></tr>
|
---|
4681 | </table>
|
---|
4682 | </dl><dl compact><dt><b>
|
---|
4683 | See also: </b><dd>
|
---|
4684 | <a class="el" href="classSAXParser.html#z463_18">getValidationConstraintFatal</a> , <a class="el" href="classSAXParser.html#z464_7">setExitOnFirstFatalError</a> </dl> </td>
|
---|
4685 | </tr>
|
---|
4686 | </table>
|
---|
4687 | <a name="z464_5" doxytag="SAXParser::setValidationSchemaFullChecking"></a><p>
|
---|
4688 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
4689 | <tr>
|
---|
4690 | <td class="md">
|
---|
4691 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
4692 | <tr>
|
---|
4693 | <td class="md" nowrap valign="top"> void SAXParser::setValidationSchemaFullChecking </td>
|
---|
4694 | <td class="md" valign="top">( </td>
|
---|
4695 | <td class="md" nowrap valign="top">const bool </td>
|
---|
4696 | <td class="mdname1" valign="top" nowrap> <em>schemaFullChecking</em> </td>
|
---|
4697 | <td class="md" valign="top">) </td>
|
---|
4698 | <td class="md" nowrap></td>
|
---|
4699 | </tr>
|
---|
4700 |
|
---|
4701 | </table>
|
---|
4702 | </td>
|
---|
4703 | </tr>
|
---|
4704 | </table>
|
---|
4705 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
4706 | <tr>
|
---|
4707 | <td>
|
---|
4708 |
|
---|
4709 | </td>
|
---|
4710 | <td>
|
---|
4711 |
|
---|
4712 | <p>
|
---|
4713 | This method allows the user to turn full Schema constraint checking on/off.
|
---|
4714 | <p>
|
---|
4715 | Only takes effect if Schema validation is enabled. If turned off, partial constraint checking is done.
|
---|
4716 | <p>
|
---|
4717 | Full schema constraint checking includes those checking that may be time-consuming or memory intensive. Currently, particle unique attribution constraint checking and particle derivation resriction checking are controlled by this option.
|
---|
4718 | <p>
|
---|
4719 | The parser's default state is: false.<dl compact><dt><b>
|
---|
4720 | Parameters: </b><dd>
|
---|
4721 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
4722 | <tr><td valign=top><em>schemaFullChecking</em> </td><td>
|
---|
4723 | True to turn on full schema constraint checking.</td></tr>
|
---|
4724 | </table>
|
---|
4725 | </dl><dl compact><dt><b>
|
---|
4726 | See also: </b><dd>
|
---|
4727 | <a class="el" href="classSAXParser.html#z463_13">getValidationSchemaFullChecking</a> </dl> </td>
|
---|
4728 | </tr>
|
---|
4729 | </table>
|
---|
4730 | <a name="z464_3" doxytag="SAXParser::setValidationScheme"></a><p>
|
---|
4731 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
4732 | <tr>
|
---|
4733 | <td class="md">
|
---|
4734 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
4735 | <tr>
|
---|
4736 | <td class="md" nowrap valign="top"> void SAXParser::setValidationScheme </td>
|
---|
4737 | <td class="md" valign="top">( </td>
|
---|
4738 | <td class="md" nowrap valign="top">const <a class="el" href="classSAXParser.html#s3">ValSchemes</a> </td>
|
---|
4739 | <td class="mdname1" valign="top" nowrap> <em>newScheme</em> </td>
|
---|
4740 | <td class="md" valign="top">) </td>
|
---|
4741 | <td class="md" nowrap></td>
|
---|
4742 | </tr>
|
---|
4743 |
|
---|
4744 | </table>
|
---|
4745 | </td>
|
---|
4746 | </tr>
|
---|
4747 | </table>
|
---|
4748 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
4749 | <tr>
|
---|
4750 | <td>
|
---|
4751 |
|
---|
4752 | </td>
|
---|
4753 | <td>
|
---|
4754 |
|
---|
4755 | <p>
|
---|
4756 | This method allows users to set the validation scheme to be used by this parser.
|
---|
4757 | <p>
|
---|
4758 | The value is one of the ValSchemes enumerated values defined by this class:
|
---|
4759 | <p>
|
---|
4760 | <br>
|
---|
4761 | Val_Never - turn off validation <br>
|
---|
4762 | Val_Always - turn on validation <br>
|
---|
4763 | Val_Auto - turn on validation if any internal/external DTD subset have been seen
|
---|
4764 | <p>
|
---|
4765 |
|
---|
4766 | <p>
|
---|
4767 | The parser's default state is: Val_Auto.<dl compact><dt><b>
|
---|
4768 | Parameters: </b><dd>
|
---|
4769 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
4770 | <tr><td valign=top><em>newScheme</em> </td><td>
|
---|
4771 | The new validation scheme to use.</td></tr>
|
---|
4772 | </table>
|
---|
4773 | </dl><dl compact><dt><b>
|
---|
4774 | See also: </b><dd>
|
---|
4775 | <a class="el" href="classSAXParser.html#z463_11">getValidationScheme</a> </dl> </td>
|
---|
4776 | </tr>
|
---|
4777 | </table>
|
---|
4778 | <a name="z468_8" doxytag="SAXParser::setXMLEntityResolver"></a><p>
|
---|
4779 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
4780 | <tr>
|
---|
4781 | <td class="md">
|
---|
4782 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
4783 | <tr>
|
---|
4784 | <td class="md" nowrap valign="top"> virtual void SAXParser::setXMLEntityResolver </td>
|
---|
4785 | <td class="md" valign="top">( </td>
|
---|
4786 | <td class="md" nowrap valign="top"><a class="el" href="classXMLEntityResolver.html">XMLEntityResolver</a> *const </td>
|
---|
4787 | <td class="mdname1" valign="top" nowrap> <em>resolver</em> </td>
|
---|
4788 | <td class="md" valign="top">) </td>
|
---|
4789 | <td class="md" nowrap><code> [virtual]</code></td>
|
---|
4790 | </tr>
|
---|
4791 |
|
---|
4792 | </table>
|
---|
4793 | </td>
|
---|
4794 | </tr>
|
---|
4795 | </table>
|
---|
4796 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
4797 | <tr>
|
---|
4798 | <td>
|
---|
4799 |
|
---|
4800 | </td>
|
---|
4801 | <td>
|
---|
4802 |
|
---|
4803 | <p>
|
---|
4804 | This method installs the user specified entity resolver on the parser.
|
---|
4805 | <p>
|
---|
4806 | It allows applications to trap and redirect calls to external entities.
|
---|
4807 | <p>
|
---|
4808 | <em>Any previously set entity resolver is merely dropped, since the parser does not own them. If both setEntityResolver and setXMLEntityResolver are called, then the last one is used.</em><dl compact><dt><b>
|
---|
4809 | Parameters: </b><dd>
|
---|
4810 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
4811 | <tr><td valign=top><em>resolver</em> </td><td>
|
---|
4812 | A pointer to the entity resolver to be called when the parser comes across references to entities in the XML file.</td></tr>
|
---|
4813 | </table>
|
---|
4814 | </dl><dl compact><dt><b>
|
---|
4815 | See also: </b><dd>
|
---|
4816 | Parser::setXMLEntityResolver </dl> </td>
|
---|
4817 | </tr>
|
---|
4818 | </table>
|
---|
4819 | <a name="z472_12" doxytag="SAXParser::startAttList"></a><p>
|
---|
4820 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
4821 | <tr>
|
---|
4822 | <td class="md">
|
---|
4823 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
4824 | <tr>
|
---|
4825 | <td class="md" nowrap valign="top"> virtual void SAXParser::startAttList </td>
|
---|
4826 | <td class="md" valign="top">( </td>
|
---|
4827 | <td class="md" nowrap valign="top">const DTDElementDecl & </td>
|
---|
4828 | <td class="mdname1" valign="top" nowrap> <em>elemDecl</em> </td>
|
---|
4829 | <td class="md" valign="top">) </td>
|
---|
4830 | <td class="md" nowrap><code> [virtual]</code></td>
|
---|
4831 | </tr>
|
---|
4832 |
|
---|
4833 | </table>
|
---|
4834 | </td>
|
---|
4835 | </tr>
|
---|
4836 | </table>
|
---|
4837 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
4838 | <tr>
|
---|
4839 | <td>
|
---|
4840 |
|
---|
4841 | </td>
|
---|
4842 | <td>
|
---|
4843 |
|
---|
4844 | <p>
|
---|
4845 | This method is used to indicate the start of an element's attribute list declaration.
|
---|
4846 | <p>
|
---|
4847 | <b>This method is a no-op for this SAX driver implementation.</b><dl compact><dt><b>
|
---|
4848 | Parameters: </b><dd>
|
---|
4849 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
4850 | <tr><td valign=top><em>elemDecl</em> </td><td>
|
---|
4851 | A const reference to the object containing element declaration information. </td></tr>
|
---|
4852 | </table>
|
---|
4853 | </dl> </td>
|
---|
4854 | </tr>
|
---|
4855 | </table>
|
---|
4856 | <a name="z469_8" doxytag="SAXParser::startDocument"></a><p>
|
---|
4857 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
4858 | <tr>
|
---|
4859 | <td class="md">
|
---|
4860 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
4861 | <tr>
|
---|
4862 | <td class="md" nowrap valign="top"> virtual void SAXParser::startDocument </td>
|
---|
4863 | <td class="md" valign="top">( </td>
|
---|
4864 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
4865 | <td class="md" valign="top">) </td>
|
---|
4866 | <td class="md" nowrap><code> [virtual]</code></td>
|
---|
4867 | </tr>
|
---|
4868 |
|
---|
4869 | </table>
|
---|
4870 | </td>
|
---|
4871 | </tr>
|
---|
4872 | </table>
|
---|
4873 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
4874 | <tr>
|
---|
4875 | <td>
|
---|
4876 |
|
---|
4877 | </td>
|
---|
4878 | <td>
|
---|
4879 |
|
---|
4880 | <p>
|
---|
4881 | This method is used to report the start of the parsing process.
|
---|
4882 | <p>
|
---|
4883 | The corresponding user installed SAX Document Handler's method 'startDocument' is invoked.
|
---|
4884 | <p>
|
---|
4885 |
|
---|
4886 | <p>
|
---|
4887 | If any advanced callback handlers are installed, then the corresponding 'startDocument' method is also called.
|
---|
4888 | <p>
|
---|
4889 | <dl compact><dt><b>
|
---|
4890 | See also: </b><dd>
|
---|
4891 | <a class="el" href="classDocumentHandler.html#z421_7">DocumentHandler::startDocument</a> </dl>
|
---|
4892 | <p>
|
---|
4893 | Implements <a class="el" href="classXMLDocumentHandler.html#z256_8">XMLDocumentHandler</a>. </td>
|
---|
4894 | </tr>
|
---|
4895 | </table>
|
---|
4896 | <a name="z469_9" doxytag="SAXParser::startElement"></a><p>
|
---|
4897 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
4898 | <tr>
|
---|
4899 | <td class="md">
|
---|
4900 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
4901 | <tr>
|
---|
4902 | <td class="md" nowrap valign="top"> virtual void SAXParser::startElement </td>
|
---|
4903 | <td class="md" valign="top">( </td>
|
---|
4904 | <td class="md" nowrap valign="top">const <a class="el" href="classXMLElementDecl.html">XMLElementDecl</a> & </td>
|
---|
4905 | <td class="mdname" nowrap> <em>elemDecl</em>, </td>
|
---|
4906 | </tr>
|
---|
4907 | <tr>
|
---|
4908 | <td></td>
|
---|
4909 | <td></td>
|
---|
4910 | <td class="md" nowrap>const unsigned int </td>
|
---|
4911 | <td class="mdname" nowrap> <em>urlId</em>, </td>
|
---|
4912 | </tr>
|
---|
4913 | <tr>
|
---|
4914 | <td></td>
|
---|
4915 | <td></td>
|
---|
4916 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
4917 | <td class="mdname" nowrap> <em>elemPrefix</em>, </td>
|
---|
4918 | </tr>
|
---|
4919 | <tr>
|
---|
4920 | <td></td>
|
---|
4921 | <td></td>
|
---|
4922 | <td class="md" nowrap>const RefVectorOf< <a class="el" href="classXMLAttr.html">XMLAttr</a> > & </td>
|
---|
4923 | <td class="mdname" nowrap> <em>attrList</em>, </td>
|
---|
4924 | </tr>
|
---|
4925 | <tr>
|
---|
4926 | <td></td>
|
---|
4927 | <td></td>
|
---|
4928 | <td class="md" nowrap>const unsigned int </td>
|
---|
4929 | <td class="mdname" nowrap> <em>attrCount</em>, </td>
|
---|
4930 | </tr>
|
---|
4931 | <tr>
|
---|
4932 | <td></td>
|
---|
4933 | <td></td>
|
---|
4934 | <td class="md" nowrap>const bool </td>
|
---|
4935 | <td class="mdname" nowrap> <em>isEmpty</em>, </td>
|
---|
4936 | </tr>
|
---|
4937 | <tr>
|
---|
4938 | <td></td>
|
---|
4939 | <td></td>
|
---|
4940 | <td class="md" nowrap>const bool </td>
|
---|
4941 | <td class="mdname" nowrap> <em>isRoot</em></td>
|
---|
4942 | </tr>
|
---|
4943 | <tr>
|
---|
4944 | <td></td>
|
---|
4945 | <td class="md">) </td>
|
---|
4946 | <td class="md" colspan="2"><code> [virtual]</code></td>
|
---|
4947 | </tr>
|
---|
4948 |
|
---|
4949 | </table>
|
---|
4950 | </td>
|
---|
4951 | </tr>
|
---|
4952 | </table>
|
---|
4953 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
4954 | <tr>
|
---|
4955 | <td>
|
---|
4956 |
|
---|
4957 | </td>
|
---|
4958 | <td>
|
---|
4959 |
|
---|
4960 | <p>
|
---|
4961 | This method is used to report the start of an element.
|
---|
4962 | <p>
|
---|
4963 | It is called at the end of the element, by which time all attributes specified are also parsed. The corresponding user installed SAX Document Handler's method 'startElement' is invoked.
|
---|
4964 | <p>
|
---|
4965 |
|
---|
4966 | <p>
|
---|
4967 | If any advanced callback handlers are installed, then the corresponding 'startElement' method is also called.<dl compact><dt><b>
|
---|
4968 | Parameters: </b><dd>
|
---|
4969 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
4970 | <tr><td valign=top><em>elemDecl</em> </td><td>
|
---|
4971 | A const reference to the object containing element declaration information. </td></tr>
|
---|
4972 | <tr><td valign=top><em>urlId</em> </td><td>
|
---|
4973 | An id referring to the namespace prefix, if namespaces setting is switched on. </td></tr>
|
---|
4974 | <tr><td valign=top><em>elemPrefix</em> </td><td>
|
---|
4975 | A const pointer to a Unicode string containing the namespace prefix for this element. Applicable only when namespace processing is enabled. </td></tr>
|
---|
4976 | <tr><td valign=top><em>attrList</em> </td><td>
|
---|
4977 | A const reference to the object containing the list of attributes just scanned for this element. </td></tr>
|
---|
4978 | <tr><td valign=top><em>attrCount</em> </td><td>
|
---|
4979 | A count of number of attributes in the list specified by the parameter 'attrList'. </td></tr>
|
---|
4980 | <tr><td valign=top><em>isEmpty</em> </td><td>
|
---|
4981 | A flag indicating whether this is an empty element or not. </td></tr>
|
---|
4982 | <tr><td valign=top><em>isRoot</em> </td><td>
|
---|
4983 | A flag indicating whether this element was the root element. </td></tr>
|
---|
4984 | </table>
|
---|
4985 | </dl><dl compact><dt><b>
|
---|
4986 | See also: </b><dd>
|
---|
4987 | <a class="el" href="classDocumentHandler.html#z421_8">DocumentHandler::startElement</a> </dl>
|
---|
4988 | <p>
|
---|
4989 | Implements <a class="el" href="classXMLDocumentHandler.html#z256_9">XMLDocumentHandler</a>. </td>
|
---|
4990 | </tr>
|
---|
4991 | </table>
|
---|
4992 | <a name="z469_10" doxytag="SAXParser::startEntityReference"></a><p>
|
---|
4993 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
4994 | <tr>
|
---|
4995 | <td class="md">
|
---|
4996 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
4997 | <tr>
|
---|
4998 | <td class="md" nowrap valign="top"> virtual void SAXParser::startEntityReference </td>
|
---|
4999 | <td class="md" valign="top">( </td>
|
---|
5000 | <td class="md" nowrap valign="top">const <a class="el" href="classXMLEntityDecl.html">XMLEntityDecl</a> & </td>
|
---|
5001 | <td class="mdname1" valign="top" nowrap> <em>entDecl</em> </td>
|
---|
5002 | <td class="md" valign="top">) </td>
|
---|
5003 | <td class="md" nowrap><code> [virtual]</code></td>
|
---|
5004 | </tr>
|
---|
5005 |
|
---|
5006 | </table>
|
---|
5007 | </td>
|
---|
5008 | </tr>
|
---|
5009 | </table>
|
---|
5010 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
5011 | <tr>
|
---|
5012 | <td>
|
---|
5013 |
|
---|
5014 | </td>
|
---|
5015 | <td>
|
---|
5016 |
|
---|
5017 | <p>
|
---|
5018 | This method is used to indicate the start of an entity reference.
|
---|
5019 | <p>
|
---|
5020 |
|
---|
5021 | <p>
|
---|
5022 | If any advanced callback handlers are installed, the corresponding 'endEnityReference' method is invoked.<dl compact><dt><b>
|
---|
5023 | Parameters: </b><dd>
|
---|
5024 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
5025 | <tr><td valign=top><em>entDecl</em> </td><td>
|
---|
5026 | A const reference to the object containing the entity declaration information. </td></tr>
|
---|
5027 | </table>
|
---|
5028 | </dl>
|
---|
5029 | <p>
|
---|
5030 | Implements <a class="el" href="classXMLDocumentHandler.html#z256_10">XMLDocumentHandler</a>. </td>
|
---|
5031 | </tr>
|
---|
5032 | </table>
|
---|
5033 | <a name="z472_14" doxytag="SAXParser::startExtSubset"></a><p>
|
---|
5034 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
5035 | <tr>
|
---|
5036 | <td class="md">
|
---|
5037 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
5038 | <tr>
|
---|
5039 | <td class="md" nowrap valign="top"> virtual void SAXParser::startExtSubset </td>
|
---|
5040 | <td class="md" valign="top">( </td>
|
---|
5041 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
5042 | <td class="md" valign="top">) </td>
|
---|
5043 | <td class="md" nowrap><code> [virtual]</code></td>
|
---|
5044 | </tr>
|
---|
5045 |
|
---|
5046 | </table>
|
---|
5047 | </td>
|
---|
5048 | </tr>
|
---|
5049 | </table>
|
---|
5050 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
5051 | <tr>
|
---|
5052 | <td>
|
---|
5053 |
|
---|
5054 | </td>
|
---|
5055 | <td>
|
---|
5056 |
|
---|
5057 | <p>
|
---|
5058 | This method is used indicate the start of the external subset.
|
---|
5059 | <p>
|
---|
5060 | <b>This method is a no-op for this SAX driver implementation.</b> </td>
|
---|
5061 | </tr>
|
---|
5062 | </table>
|
---|
5063 | <a name="z471_5" doxytag="SAXParser::startInputSource"></a><p>
|
---|
5064 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
5065 | <tr>
|
---|
5066 | <td class="md">
|
---|
5067 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
5068 | <tr>
|
---|
5069 | <td class="md" nowrap valign="top"> virtual void SAXParser::startInputSource </td>
|
---|
5070 | <td class="md" valign="top">( </td>
|
---|
5071 | <td class="md" nowrap valign="top">const <a class="el" href="classInputSource.html">InputSource</a> & </td>
|
---|
5072 | <td class="mdname1" valign="top" nowrap> <em>inputSource</em> </td>
|
---|
5073 | <td class="md" valign="top">) </td>
|
---|
5074 | <td class="md" nowrap><code> [virtual]</code></td>
|
---|
5075 | </tr>
|
---|
5076 |
|
---|
5077 | </table>
|
---|
5078 | </td>
|
---|
5079 | </tr>
|
---|
5080 | </table>
|
---|
5081 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
5082 | <tr>
|
---|
5083 | <td>
|
---|
5084 |
|
---|
5085 | </td>
|
---|
5086 | <td>
|
---|
5087 |
|
---|
5088 | <p>
|
---|
5089 | This method is used to indicate the start of parsing an external entity file.
|
---|
5090 | <p>
|
---|
5091 | <b>This method is a no-op for this SAX driver implementation.</b><dl compact><dt><b>
|
---|
5092 | Parameters: </b><dd>
|
---|
5093 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
5094 | <tr><td valign=top><em>inputSource</em> </td><td>
|
---|
5095 | A const reference to the <a class="el" href="classInputSource.html">InputSource</a> object which points to the external entity being parsed. </td></tr>
|
---|
5096 | </table>
|
---|
5097 | </dl>
|
---|
5098 | <p>
|
---|
5099 | Implements <a class="el" href="classXMLEntityHandler.html#z274_5">XMLEntityHandler</a>. </td>
|
---|
5100 | </tr>
|
---|
5101 | </table>
|
---|
5102 | <a name="z472_13" doxytag="SAXParser::startIntSubset"></a><p>
|
---|
5103 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
5104 | <tr>
|
---|
5105 | <td class="md">
|
---|
5106 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
5107 | <tr>
|
---|
5108 | <td class="md" nowrap valign="top"> virtual void SAXParser::startIntSubset </td>
|
---|
5109 | <td class="md" valign="top">( </td>
|
---|
5110 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
5111 | <td class="md" valign="top">) </td>
|
---|
5112 | <td class="md" nowrap><code> [virtual]</code></td>
|
---|
5113 | </tr>
|
---|
5114 |
|
---|
5115 | </table>
|
---|
5116 | </td>
|
---|
5117 | </tr>
|
---|
5118 | </table>
|
---|
5119 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
5120 | <tr>
|
---|
5121 | <td>
|
---|
5122 |
|
---|
5123 | </td>
|
---|
5124 | <td>
|
---|
5125 |
|
---|
5126 | <p>
|
---|
5127 | This method is used indicate the start of the internal subset.
|
---|
5128 | <p>
|
---|
5129 | <b>This method is a no-op for this SAX driver implementation.</b> </td>
|
---|
5130 | </tr>
|
---|
5131 | </table>
|
---|
5132 | <a name="z472_15" doxytag="SAXParser::TextDecl"></a><p>
|
---|
5133 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
5134 | <tr>
|
---|
5135 | <td class="md">
|
---|
5136 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
5137 | <tr>
|
---|
5138 | <td class="md" nowrap valign="top"> virtual void SAXParser::TextDecl </td>
|
---|
5139 | <td class="md" valign="top">( </td>
|
---|
5140 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
5141 | <td class="mdname" nowrap> <em>versionStr</em>, </td>
|
---|
5142 | </tr>
|
---|
5143 | <tr>
|
---|
5144 | <td></td>
|
---|
5145 | <td></td>
|
---|
5146 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
5147 | <td class="mdname" nowrap> <em>encodingStr</em></td>
|
---|
5148 | </tr>
|
---|
5149 | <tr>
|
---|
5150 | <td></td>
|
---|
5151 | <td class="md">) </td>
|
---|
5152 | <td class="md" colspan="2"><code> [virtual]</code></td>
|
---|
5153 | </tr>
|
---|
5154 |
|
---|
5155 | </table>
|
---|
5156 | </td>
|
---|
5157 | </tr>
|
---|
5158 | </table>
|
---|
5159 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
5160 | <tr>
|
---|
5161 | <td>
|
---|
5162 |
|
---|
5163 | </td>
|
---|
5164 | <td>
|
---|
5165 |
|
---|
5166 | <p>
|
---|
5167 | This method is used to report the TextDecl.
|
---|
5168 | <p>
|
---|
5169 | Refer to the XML specification for the syntax of a TextDecl.
|
---|
5170 | <p>
|
---|
5171 | <b>This method is a no-op for this SAX driver implementation.</b><dl compact><dt><b>
|
---|
5172 | Parameters: </b><dd>
|
---|
5173 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
5174 | <tr><td valign=top><em>versionStr</em> </td><td>
|
---|
5175 | A const pointer to a Unicode string representing the version number of the 'version' clause. </td></tr>
|
---|
5176 | <tr><td valign=top><em>encodingStr</em> </td><td>
|
---|
5177 | A const pointer to a Unicode string representing the encoding name of the 'encoding' clause. </td></tr>
|
---|
5178 | </table>
|
---|
5179 | </dl> </td>
|
---|
5180 | </tr>
|
---|
5181 | </table>
|
---|
5182 | <a name="z464_16" doxytag="SAXParser::useCachedGrammarInParse"></a><p>
|
---|
5183 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
5184 | <tr>
|
---|
5185 | <td class="md">
|
---|
5186 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
5187 | <tr>
|
---|
5188 | <td class="md" nowrap valign="top"> void SAXParser::useCachedGrammarInParse </td>
|
---|
5189 | <td class="md" valign="top">( </td>
|
---|
5190 | <td class="md" nowrap valign="top">const bool </td>
|
---|
5191 | <td class="mdname1" valign="top" nowrap> <em>newState</em> </td>
|
---|
5192 | <td class="md" valign="top">) </td>
|
---|
5193 | <td class="md" nowrap></td>
|
---|
5194 | </tr>
|
---|
5195 |
|
---|
5196 | </table>
|
---|
5197 | </td>
|
---|
5198 | </tr>
|
---|
5199 | </table>
|
---|
5200 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
5201 | <tr>
|
---|
5202 | <td>
|
---|
5203 |
|
---|
5204 | </td>
|
---|
5205 | <td>
|
---|
5206 |
|
---|
5207 | <p>
|
---|
5208 | Set the 'Use cached grammar' flag.
|
---|
5209 | <p>
|
---|
5210 | This method allows users to enable or disable the use of cached grammars. When set to true, the parser will use the cached grammar, instead of building the grammar from scratch, to validate XML documents.
|
---|
5211 | <p>
|
---|
5212 | If the 'Grammar caching' flag is set to true, this mehod ignore the value passed in.
|
---|
5213 | <p>
|
---|
5214 | The parser's default state is: false.<dl compact><dt><b>
|
---|
5215 | Parameters: </b><dd>
|
---|
5216 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
5217 | <tr><td valign=top><em>newState</em> </td><td>
|
---|
5218 | The value specifying whether we should use the cached grammar or not.</td></tr>
|
---|
5219 | </table>
|
---|
5220 | </dl><dl compact><dt><b>
|
---|
5221 | See also: </b><dd>
|
---|
5222 | <a class="el" href="classSAXParser.html#z463_24">isUsingCachedGrammarInParse</a> , <a class="el" href="classSAXParser.html#z464_15">cacheGrammarFromParse</a> </dl> </td>
|
---|
5223 | </tr>
|
---|
5224 | </table>
|
---|
5225 | <a name="z464_19" doxytag="SAXParser::useScanner"></a><p>
|
---|
5226 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
5227 | <tr>
|
---|
5228 | <td class="md">
|
---|
5229 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
5230 | <tr>
|
---|
5231 | <td class="md" nowrap valign="top"> void SAXParser::useScanner </td>
|
---|
5232 | <td class="md" valign="top">( </td>
|
---|
5233 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
5234 | <td class="mdname1" valign="top" nowrap> <em>scannerName</em> </td>
|
---|
5235 | <td class="md" valign="top">) </td>
|
---|
5236 | <td class="md" nowrap></td>
|
---|
5237 | </tr>
|
---|
5238 |
|
---|
5239 | </table>
|
---|
5240 | </td>
|
---|
5241 | </tr>
|
---|
5242 | </table>
|
---|
5243 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
5244 | <tr>
|
---|
5245 | <td>
|
---|
5246 |
|
---|
5247 | </td>
|
---|
5248 | <td>
|
---|
5249 |
|
---|
5250 | <p>
|
---|
5251 | Set the scanner to use when scanning the XML document.
|
---|
5252 | <p>
|
---|
5253 | This method allows users to set the scanner to use when scanning a given XML document.<dl compact><dt><b>
|
---|
5254 | Parameters: </b><dd>
|
---|
5255 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
5256 | <tr><td valign=top><em>scannerName</em> </td><td>
|
---|
5257 | The name of the desired scanner </td></tr>
|
---|
5258 | </table>
|
---|
5259 | </dl> </td>
|
---|
5260 | </tr>
|
---|
5261 | </table>
|
---|
5262 | <a name="z469_11" doxytag="SAXParser::XMLDecl"></a><p>
|
---|
5263 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
5264 | <tr>
|
---|
5265 | <td class="md">
|
---|
5266 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
5267 | <tr>
|
---|
5268 | <td class="md" nowrap valign="top"> virtual void SAXParser::XMLDecl </td>
|
---|
5269 | <td class="md" valign="top">( </td>
|
---|
5270 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
5271 | <td class="mdname" nowrap> <em>versionStr</em>, </td>
|
---|
5272 | </tr>
|
---|
5273 | <tr>
|
---|
5274 | <td></td>
|
---|
5275 | <td></td>
|
---|
5276 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
5277 | <td class="mdname" nowrap> <em>encodingStr</em>, </td>
|
---|
5278 | </tr>
|
---|
5279 | <tr>
|
---|
5280 | <td></td>
|
---|
5281 | <td></td>
|
---|
5282 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
5283 | <td class="mdname" nowrap> <em>standaloneStr</em>, </td>
|
---|
5284 | </tr>
|
---|
5285 | <tr>
|
---|
5286 | <td></td>
|
---|
5287 | <td></td>
|
---|
5288 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
5289 | <td class="mdname" nowrap> <em>actualEncodingStr</em></td>
|
---|
5290 | </tr>
|
---|
5291 | <tr>
|
---|
5292 | <td></td>
|
---|
5293 | <td class="md">) </td>
|
---|
5294 | <td class="md" colspan="2"><code> [virtual]</code></td>
|
---|
5295 | </tr>
|
---|
5296 |
|
---|
5297 | </table>
|
---|
5298 | </td>
|
---|
5299 | </tr>
|
---|
5300 | </table>
|
---|
5301 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
5302 | <tr>
|
---|
5303 | <td>
|
---|
5304 |
|
---|
5305 | </td>
|
---|
5306 | <td>
|
---|
5307 |
|
---|
5308 | <p>
|
---|
5309 | This method is used to report the XML decl scanned by the parser.
|
---|
5310 | <p>
|
---|
5311 | Refer to the XML specification to see the meaning of parameters.
|
---|
5312 | <p>
|
---|
5313 | <b>This method is a no-op for this SAX driver implementation.</b><dl compact><dt><b>
|
---|
5314 | Parameters: </b><dd>
|
---|
5315 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
5316 | <tr><td valign=top><em>versionStr</em> </td><td>
|
---|
5317 | A const pointer to a Unicode string representing version string value. </td></tr>
|
---|
5318 | <tr><td valign=top><em>encodingStr</em> </td><td>
|
---|
5319 | A const pointer to a Unicode string representing the encoding string value. </td></tr>
|
---|
5320 | <tr><td valign=top><em>standaloneStr</em> </td><td>
|
---|
5321 | A const pointer to a Unicode string representing the standalone string value. </td></tr>
|
---|
5322 | <tr><td valign=top><em>actualEncodingStr</em> </td><td>
|
---|
5323 | A const pointer to a Unicode string representing the actual encoding string value. </td></tr>
|
---|
5324 | </table>
|
---|
5325 | </dl>
|
---|
5326 | <p>
|
---|
5327 | Implements <a class="el" href="classXMLDocumentHandler.html#z256_11">XMLDocumentHandler</a>. </td>
|
---|
5328 | </tr>
|
---|
5329 | </table>
|
---|
5330 | <hr>The documentation for this class was generated from the following file:<ul>
|
---|
5331 | <li><a class="el" href="SAXParser_8hpp-source.html">SAXParser.hpp</a></ul>
|
---|
5332 | </FONT></TD></TR></TABLE><BR>
|
---|
5333 | </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>
|
---|
5334 | Copyright © 1994-2004 The Apache Software Foundation.
|
---|
5335 | All Rights Reserved.
|
---|
5336 | </I></FONT></TD></TR></TABLE></BODY></HTML>
|
---|