1 | <HTML><HEAD><SCRIPT language="JavaScript" src="../resources/script.js" type="text/javascript"></SCRIPT><TITLE>XercesDOMParser 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>XercesDOMParser Class Reference</h1>This class implements the Document Object Model (DOM) interface.
|
---|
45 | <a href="#_details">More...</a>
|
---|
46 | <p>
|
---|
47 | Inheritance diagram for XercesDOMParser:<p><center><img src="classXercesDOMParser__inherit__graph.gif" border="0" usemap="#XercesDOMParser__inherit__map" alt="Inheritance graph"></center>
|
---|
48 | <map name="XercesDOMParser__inherit__map">
|
---|
49 | <area href="classAbstractDOMParser.html" shape="rect" coords="265,105,399,86" alt="">
|
---|
50 | <area href="classXMemory.html" shape="rect" coords="7,36,76,17" alt="">
|
---|
51 | <area href="classXMLDocumentHandler.html" shape="rect" coords="100,36,247,17" alt="">
|
---|
52 | <area href="classXMLErrorReporter.html" shape="rect" coords="271,36,393,17" alt="">
|
---|
53 | <area href="classXMLEntityHandler.html" shape="rect" coords="417,36,535,17" alt="">
|
---|
54 | <area href="classPSVIHandler.html" shape="rect" coords="559,36,647,17" alt="">
|
---|
55 | </map>
|
---|
56 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for XercesDOMParser:<p><center><img src="classXercesDOMParser__coll__graph.gif" border="0" usemap="#XercesDOMParser__coll__map" alt="Collaboration graph"></center>
|
---|
57 | <map name="XercesDOMParser__coll__map">
|
---|
58 | <area href="classAbstractDOMParser.html" shape="rect" coords="19,27,152,9" alt="">
|
---|
59 | <area href="classErrorHandler.html" shape="rect" coords="43,85,128,66" alt="">
|
---|
60 | <area href="classEntityResolver.html" shape="rect" coords="37,153,133,134" alt="">
|
---|
61 | <area href="classXMLEntityResolver.html" shape="rect" coords="23,221,148,202" alt="">
|
---|
62 | </map>
|
---|
63 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classXercesDOMParser-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
|
---|
64 | <tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
|
---|
65 | <tr><td colspan="2"><div class="groupHeader">Constructors and Destructor</div></td></tr>
|
---|
66 | <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classXercesDOMParser.html#z474_0">XercesDOMParser</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>
|
---|
67 | <tr><td> </td><td><font size=-1><em>Construct a XercesDOMParser, with an optional validator.</em> <a href="#z474_0">More...</a><em></em></font><br><br></td></tr>
|
---|
68 | <tr><td nowrap align=right valign=top>virtual </td><td valign=bottom><a class="el" href="classXercesDOMParser.html#z474_1">~XercesDOMParser</a> ()</td></tr>
|
---|
69 | <tr><td> </td><td><font size=-1><em>Destructor.</em> <a href="#z474_1">More...</a><em></em></font><br><br></td></tr>
|
---|
70 | <tr><td colspan="2"><div class="groupHeader">Getter methods</div></td></tr>
|
---|
71 | <tr><td nowrap align=right valign=top><a class="el" href="classErrorHandler.html">ErrorHandler</a> * </td><td valign=bottom><a class="el" href="classXercesDOMParser.html#z475_0">getErrorHandler</a> ()</td></tr>
|
---|
72 | <tr><td> </td><td><font size=-1><em>Get a pointer to the error handler.</em> <a href="#z475_0">More...</a><em></em></font><br><br></td></tr>
|
---|
73 | <tr><td nowrap align=right valign=top>const <a class="el" href="classErrorHandler.html">ErrorHandler</a> * </td><td valign=bottom><a class="el" href="classXercesDOMParser.html#z475_1">getErrorHandler</a> () const</td></tr>
|
---|
74 | <tr><td> </td><td><font size=-1><em>Get a const pointer to the error handler.</em> <a href="#z475_1">More...</a><em></em></font><br><br></td></tr>
|
---|
75 | <tr><td nowrap align=right valign=top><a class="el" href="classEntityResolver.html">EntityResolver</a> * </td><td valign=bottom><a class="el" href="classXercesDOMParser.html#z475_2">getEntityResolver</a> ()</td></tr>
|
---|
76 | <tr><td> </td><td><font size=-1><em>Get a pointer to the entity resolver.</em> <a href="#z475_2">More...</a><em></em></font><br><br></td></tr>
|
---|
77 | <tr><td nowrap align=right valign=top>const <a class="el" href="classEntityResolver.html">EntityResolver</a> * </td><td valign=bottom><a class="el" href="classXercesDOMParser.html#z475_3">getEntityResolver</a> () const</td></tr>
|
---|
78 | <tr><td> </td><td><font size=-1><em>Get a const pointer to the entity resolver.</em> <a href="#z475_3">More...</a><em></em></font><br><br></td></tr>
|
---|
79 | <tr><td nowrap align=right valign=top><a class="el" href="classXMLEntityResolver.html">XMLEntityResolver</a> * </td><td valign=bottom><a class="el" href="classXercesDOMParser.html#z475_4">getXMLEntityResolver</a> ()</td></tr>
|
---|
80 | <tr><td> </td><td><font size=-1><em>Get a pointer to the entity resolver.</em> <a href="#z475_4">More...</a><em></em></font><br><br></td></tr>
|
---|
81 | <tr><td nowrap align=right valign=top>const <a class="el" href="classXMLEntityResolver.html">XMLEntityResolver</a> * </td><td valign=bottom><a class="el" href="classXercesDOMParser.html#z475_5">getXMLEntityResolver</a> () const</td></tr>
|
---|
82 | <tr><td> </td><td><font size=-1><em>Get a const pointer to the entity resolver.</em> <a href="#z475_5">More...</a><em></em></font><br><br></td></tr>
|
---|
83 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classXercesDOMParser.html#z475_6">isCachingGrammarFromParse</a> () const</td></tr>
|
---|
84 | <tr><td> </td><td><font size=-1><em>Get the 'Grammar caching' flag.</em> <a href="#z475_6">More...</a><em></em></font><br><br></td></tr>
|
---|
85 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classXercesDOMParser.html#z475_7">isUsingCachedGrammarInParse</a> () const</td></tr>
|
---|
86 | <tr><td> </td><td><font size=-1><em>Get the 'Use cached grammar' flag.</em> <a href="#z475_7">More...</a><em></em></font><br><br></td></tr>
|
---|
87 | <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="classXercesDOMParser.html#z475_8">getGrammar</a> (const XMLCh *const nameSpaceKey)</td></tr>
|
---|
88 | <tr><td> </td><td><font size=-1><em>Retrieve the grammar that is associated with the specified namespace key.</em> <a href="#z475_8">More...</a><em></em></font><br><br></td></tr>
|
---|
89 | <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="classXercesDOMParser.html#z475_9">getRootGrammar</a> ()</td></tr>
|
---|
90 | <tr><td> </td><td><font size=-1><em>Retrieve the grammar where the root element is declared.</em> <a href="#z475_9">More...</a><em></em></font><br><br></td></tr>
|
---|
91 | <tr><td nowrap align=right valign=top>const XMLCh * </td><td valign=bottom><a class="el" href="classXercesDOMParser.html#z475_10">getURIText</a> (unsigned int uriId) const</td></tr>
|
---|
92 | <tr><td> </td><td><font size=-1><em>Returns the string corresponding to a URI id from the URI string pool.</em> <a href="#z475_10">More...</a><em></em></font><br><br></td></tr>
|
---|
93 | <tr><td nowrap align=right valign=top>unsigned int </td><td valign=bottom><a class="el" href="classXercesDOMParser.html#z475_11">getSrcOffset</a> () const</td></tr>
|
---|
94 | <tr><td> </td><td><font size=-1><em>Returns the current src offset within the input source.</em> <a href="#z475_11">More...</a><em></em></font><br><br></td></tr>
|
---|
95 | <tr><td colspan="2"><div class="groupHeader">Setter methods</div></td></tr>
|
---|
96 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXercesDOMParser.html#z476_0">setErrorHandler</a> (<a class="el" href="classErrorHandler.html">ErrorHandler</a> *const handler)</td></tr>
|
---|
97 | <tr><td> </td><td><font size=-1><em>Set the error handler.</em> <a href="#z476_0">More...</a><em></em></font><br><br></td></tr>
|
---|
98 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXercesDOMParser.html#z476_1">setEntityResolver</a> (<a class="el" href="classEntityResolver.html">EntityResolver</a> *const handler)</td></tr>
|
---|
99 | <tr><td> </td><td><font size=-1><em>Set the entity resolver.</em> <a href="#z476_1">More...</a><em></em></font><br><br></td></tr>
|
---|
100 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXercesDOMParser.html#z476_2">setXMLEntityResolver</a> (<a class="el" href="classXMLEntityResolver.html">XMLEntityResolver</a> *const handler)</td></tr>
|
---|
101 | <tr><td> </td><td><font size=-1><em>Set the entity resolver.</em> <a href="#z476_2">More...</a><em></em></font><br><br></td></tr>
|
---|
102 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXercesDOMParser.html#z476_3">cacheGrammarFromParse</a> (const bool newState)</td></tr>
|
---|
103 | <tr><td> </td><td><font size=-1><em>Set the 'Grammar caching' flag.</em> <a href="#z476_3">More...</a><em></em></font><br><br></td></tr>
|
---|
104 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXercesDOMParser.html#z476_4">useCachedGrammarInParse</a> (const bool newState)</td></tr>
|
---|
105 | <tr><td> </td><td><font size=-1><em>Set the 'Use cached grammar' flag.</em> <a href="#z476_4">More...</a><em></em></font><br><br></td></tr>
|
---|
106 | <tr><td colspan="2"><div class="groupHeader">Utility methods</div></td></tr>
|
---|
107 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXercesDOMParser.html#z477_0">resetDocumentPool</a> ()</td></tr>
|
---|
108 | <tr><td> </td><td><font size=-1><em>Reset the documents vector pool and release all the associated memory back to the system.</em> <a href="#z477_0">More...</a><em></em></font><br><br></td></tr>
|
---|
109 | <tr><td colspan="2"><div class="groupHeader">Implementation of the XMLErrorReporter interface.</div></td></tr>
|
---|
110 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classXercesDOMParser.html#z478_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>
|
---|
111 | <tr><td> </td><td><font size=-1><em>Handle errors reported from the parser.</em> <a href="#z478_0">More...</a><em></em></font><br><br></td></tr>
|
---|
112 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classXercesDOMParser.html#z478_1">resetErrors</a> ()</td></tr>
|
---|
113 | <tr><td> </td><td><font size=-1><em>Reset any error data before a new parse.</em> <a href="#z478_1">More...</a><em></em></font><br><br></td></tr>
|
---|
114 | <tr><td colspan="2"><div class="groupHeader">Implementation of the XMLEntityHandler interface.</div></td></tr>
|
---|
115 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classXercesDOMParser.html#z479_0">endInputSource</a> (const <a class="el" href="classInputSource.html">InputSource</a> &inputSource)</td></tr>
|
---|
116 | <tr><td> </td><td><font size=-1><em>Handle an end of input source event.</em> <a href="#z479_0">More...</a><em></em></font><br><br></td></tr>
|
---|
117 | <tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classXercesDOMParser.html#z479_1">expandSystemId</a> (const XMLCh *const systemId, XMLBuffer &toFill)</td></tr>
|
---|
118 | <tr><td> </td><td><font size=-1><em>Expand a system id.</em> <a href="#z479_1">More...</a><em></em></font><br><br></td></tr>
|
---|
119 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classXercesDOMParser.html#z479_2">resetEntities</a> ()</td></tr>
|
---|
120 | <tr><td> </td><td><font size=-1><em>Reset any entity handler information.</em> <a href="#z479_2">More...</a><em></em></font><br><br></td></tr>
|
---|
121 | <tr><td nowrap align=right valign=top>virtual <a class="el" href="classInputSource.html">InputSource</a> * </td><td valign=bottom><a class="el" href="classXercesDOMParser.html#z479_3">resolveEntity</a> (const XMLCh *const publicId, const XMLCh *const systemId, const XMLCh *const baseURI=0)</td></tr>
|
---|
122 | <tr><td> </td><td><font size=-1><em>Resolve a public/system id.</em> <a href="#z479_3">More...</a><em></em></font><br><br></td></tr>
|
---|
123 | <tr><td nowrap align=right valign=top>virtual <a class="el" href="classInputSource.html">InputSource</a> * </td><td valign=bottom><a class="el" href="classXercesDOMParser.html#z479_4">resolveEntity</a> (<a class="el" href="classXMLResourceIdentifier.html">XMLResourceIdentifier</a> *resourceIdentifier)</td></tr>
|
---|
124 | <tr><td> </td><td><font size=-1><em>Resolve a public/system id.</em> <a href="#z479_4">More...</a><em></em></font><br><br></td></tr>
|
---|
125 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classXercesDOMParser.html#z479_5">startInputSource</a> (const <a class="el" href="classInputSource.html">InputSource</a> &inputSource)</td></tr>
|
---|
126 | <tr><td> </td><td><font size=-1><em>Handle a 'start input source' event.</em> <a href="#z479_5">More...</a><em></em></font><br><br></td></tr>
|
---|
127 | <tr><td colspan="2"><div class="groupHeader">Implementation of Grammar preparsing interface's.</div></td></tr>
|
---|
128 | <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="classXercesDOMParser.html#z480_0">loadGrammar</a> (const <a class="el" href="classInputSource.html">InputSource</a> &source, const short grammarType, const bool toCache=false)</td></tr>
|
---|
129 | <tr><td> </td><td><font size=-1><em>Preparse schema grammar (XML Schema, DTD, etc.) via an input source object.</em> <a href="#z480_0">More...</a><em></em></font><br><br></td></tr>
|
---|
130 | <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="classXercesDOMParser.html#z480_1">loadGrammar</a> (const XMLCh *const systemId, const short grammarType, const bool toCache=false)</td></tr>
|
---|
131 | <tr><td> </td><td><font size=-1><em>Preparse schema grammar (XML Schema, DTD, etc.) via a file path or URL.</em> <a href="#z480_1">More...</a><em></em></font><br><br></td></tr>
|
---|
132 | <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="classXercesDOMParser.html#z480_2">loadGrammar</a> (const char *const systemId, const short grammarType, const bool toCache=false)</td></tr>
|
---|
133 | <tr><td> </td><td><font size=-1><em>Preparse schema grammar (XML Schema, DTD, etc.) via a file path or URL.</em> <a href="#z480_2">More...</a><em></em></font><br><br></td></tr>
|
---|
134 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXercesDOMParser.html#z480_3">resetCachedGrammarPool</a> ()</td></tr>
|
---|
135 | <tr><td> </td><td><font size=-1><em>This method allows the user to reset the pool of cached grammars.</em> <a href="#z480_3">More...</a><em></em></font><br><br></td></tr>
|
---|
136 | </table>
|
---|
137 | <hr><a name="_details"></a><h2>Detailed Description</h2>
|
---|
138 | This class implements the Document Object Model (DOM) interface.
|
---|
139 | <p>
|
---|
140 | It should be used by applications which choose to parse and process the XML document using the DOM api's. This implementation also allows the applications to install an error and an entitty handler (useful extensions to the DOM specification).
|
---|
141 | <p>
|
---|
142 |
|
---|
143 | <p>
|
---|
144 | It can be used to instantiate a validating or non-validating parser, by setting a member flag.
|
---|
145 | <p>
|
---|
146 | <hr><h2>Constructor & Destructor Documentation</h2>
|
---|
147 | <a name="z474_0" doxytag="XercesDOMParser::XercesDOMParser"></a><p>
|
---|
148 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
149 | <tr>
|
---|
150 | <td class="md">
|
---|
151 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
152 | <tr>
|
---|
153 | <td class="md" nowrap valign="top"> XercesDOMParser::XercesDOMParser </td>
|
---|
154 | <td class="md" valign="top">( </td>
|
---|
155 | <td class="md" nowrap valign="top"><a class="el" href="classXMLValidator.html">XMLValidator</a> *const </td>
|
---|
156 | <td class="mdname" nowrap> <em>valToAdopt</em> = 0, </td>
|
---|
157 | </tr>
|
---|
158 | <tr>
|
---|
159 | <td></td>
|
---|
160 | <td></td>
|
---|
161 | <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td>
|
---|
162 | <td class="mdname" nowrap> <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>, </td>
|
---|
163 | </tr>
|
---|
164 | <tr>
|
---|
165 | <td></td>
|
---|
166 | <td></td>
|
---|
167 | <td class="md" nowrap><a class="el" href="classXMLGrammarPool.html">XMLGrammarPool</a> *const </td>
|
---|
168 | <td class="mdname" nowrap> <em>gramPool</em> = 0</td>
|
---|
169 | </tr>
|
---|
170 | <tr>
|
---|
171 | <td></td>
|
---|
172 | <td class="md">) </td>
|
---|
173 | <td class="md" colspan="2"></td>
|
---|
174 | </tr>
|
---|
175 |
|
---|
176 | </table>
|
---|
177 | </td>
|
---|
178 | </tr>
|
---|
179 | </table>
|
---|
180 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
181 | <tr>
|
---|
182 | <td>
|
---|
183 |
|
---|
184 | </td>
|
---|
185 | <td>
|
---|
186 |
|
---|
187 | <p>
|
---|
188 | Construct a XercesDOMParser, with an optional validator.
|
---|
189 | <p>
|
---|
190 | Constructor with an instance of validator class to use for validation. If you don't provide a validator, a default one will be created for you in the scanner.<dl compact><dt><b>
|
---|
191 | Parameters: </b><dd>
|
---|
192 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
193 | <tr><td valign=top><em>gramPool</em> </td><td>
|
---|
194 | Pointer to the grammar pool instance from external application. The parser does NOT own it.</td></tr>
|
---|
195 | <tr><td valign=top><em>valToAdopt</em> </td><td>
|
---|
196 | Pointer to the validator instance to use. The parser is responsible for freeing the memory. </td></tr>
|
---|
197 | <tr><td valign=top><em>manager</em> </td><td>
|
---|
198 | Pointer to the memory manager to be used to allocate objects. </td></tr>
|
---|
199 | </table>
|
---|
200 | </dl> </td>
|
---|
201 | </tr>
|
---|
202 | </table>
|
---|
203 | <a name="z474_1" doxytag="XercesDOMParser::~XercesDOMParser"></a><p>
|
---|
204 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
205 | <tr>
|
---|
206 | <td class="md">
|
---|
207 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
208 | <tr>
|
---|
209 | <td class="md" nowrap valign="top"> virtual XercesDOMParser::~XercesDOMParser </td>
|
---|
210 | <td class="md" valign="top">( </td>
|
---|
211 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
212 | <td class="md" valign="top">) </td>
|
---|
213 | <td class="md" nowrap><code> [virtual]</code></td>
|
---|
214 | </tr>
|
---|
215 |
|
---|
216 | </table>
|
---|
217 | </td>
|
---|
218 | </tr>
|
---|
219 | </table>
|
---|
220 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
221 | <tr>
|
---|
222 | <td>
|
---|
223 |
|
---|
224 | </td>
|
---|
225 | <td>
|
---|
226 |
|
---|
227 | <p>
|
---|
228 | Destructor.
|
---|
229 | <p>
|
---|
230 | </td>
|
---|
231 | </tr>
|
---|
232 | </table>
|
---|
233 | <hr><h2>Member Function Documentation</h2>
|
---|
234 | <a name="z476_3" doxytag="XercesDOMParser::cacheGrammarFromParse"></a><p>
|
---|
235 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
236 | <tr>
|
---|
237 | <td class="md">
|
---|
238 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
239 | <tr>
|
---|
240 | <td class="md" nowrap valign="top"> void XercesDOMParser::cacheGrammarFromParse </td>
|
---|
241 | <td class="md" valign="top">( </td>
|
---|
242 | <td class="md" nowrap valign="top">const bool </td>
|
---|
243 | <td class="mdname1" valign="top" nowrap> <em>newState</em> </td>
|
---|
244 | <td class="md" valign="top">) </td>
|
---|
245 | <td class="md" nowrap></td>
|
---|
246 | </tr>
|
---|
247 |
|
---|
248 | </table>
|
---|
249 | </td>
|
---|
250 | </tr>
|
---|
251 | </table>
|
---|
252 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
253 | <tr>
|
---|
254 | <td>
|
---|
255 |
|
---|
256 | </td>
|
---|
257 | <td>
|
---|
258 |
|
---|
259 | <p>
|
---|
260 | Set the 'Grammar caching' flag.
|
---|
261 | <p>
|
---|
262 | 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.
|
---|
263 | <p>
|
---|
264 | If the flag is set to true, the 'Use cached grammar' flag will also be set to true.
|
---|
265 | <p>
|
---|
266 | The parser's default state is: false.<dl compact><dt><b>
|
---|
267 | Parameters: </b><dd>
|
---|
268 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
269 | <tr><td valign=top><em>newState</em> </td><td>
|
---|
270 | The value specifying whether we should cache grammars or not.</td></tr>
|
---|
271 | </table>
|
---|
272 | </dl><dl compact><dt><b>
|
---|
273 | See also: </b><dd>
|
---|
274 | <a class="el" href="classXercesDOMParser.html#z475_6">isCachingGrammarFromParse</a> , <a class="el" href="classXercesDOMParser.html#z476_4">useCachedGrammarInParse</a> </dl> </td>
|
---|
275 | </tr>
|
---|
276 | </table>
|
---|
277 | <a name="z479_0" doxytag="XercesDOMParser::endInputSource"></a><p>
|
---|
278 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
279 | <tr>
|
---|
280 | <td class="md">
|
---|
281 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
282 | <tr>
|
---|
283 | <td class="md" nowrap valign="top"> void XercesDOMParser::endInputSource </td>
|
---|
284 | <td class="md" valign="top">( </td>
|
---|
285 | <td class="md" nowrap valign="top">const <a class="el" href="classInputSource.html">InputSource</a> & </td>
|
---|
286 | <td class="mdname1" valign="top" nowrap> <em>inputSource</em> </td>
|
---|
287 | <td class="md" valign="top">) </td>
|
---|
288 | <td class="md" nowrap><code> [virtual]</code></td>
|
---|
289 | </tr>
|
---|
290 |
|
---|
291 | </table>
|
---|
292 | </td>
|
---|
293 | </tr>
|
---|
294 | </table>
|
---|
295 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
296 | <tr>
|
---|
297 | <td>
|
---|
298 |
|
---|
299 | </td>
|
---|
300 | <td>
|
---|
301 |
|
---|
302 | <p>
|
---|
303 | Handle an end of input source event.
|
---|
304 | <p>
|
---|
305 | This method is used to indicate the end of parsing of an external entity file.
|
---|
306 | <p>
|
---|
307 | <b>This method is a no-op for this DOM implementation.</b><dl compact><dt><b>
|
---|
308 | Parameters: </b><dd>
|
---|
309 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
310 | <tr><td valign=top><em>inputSource</em> </td><td>
|
---|
311 | A const reference to the <a class="el" href="classInputSource.html">InputSource</a> object which points to the XML file being parsed. </td></tr>
|
---|
312 | </table>
|
---|
313 | </dl><dl compact><dt><b>
|
---|
314 | See also: </b><dd>
|
---|
315 | <a class="el" href="classInputSource.html">InputSource</a> </dl>
|
---|
316 | <p>
|
---|
317 | Implements <a class="el" href="classXMLEntityHandler.html#z274_0">XMLEntityHandler</a>. </td>
|
---|
318 | </tr>
|
---|
319 | </table>
|
---|
320 | <a name="z478_0" doxytag="XercesDOMParser::error"></a><p>
|
---|
321 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
322 | <tr>
|
---|
323 | <td class="md">
|
---|
324 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
325 | <tr>
|
---|
326 | <td class="md" nowrap valign="top"> virtual void XercesDOMParser::error </td>
|
---|
327 | <td class="md" valign="top">( </td>
|
---|
328 | <td class="md" nowrap valign="top">const unsigned int </td>
|
---|
329 | <td class="mdname" nowrap> <em>errCode</em>, </td>
|
---|
330 | </tr>
|
---|
331 | <tr>
|
---|
332 | <td></td>
|
---|
333 | <td></td>
|
---|
334 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
335 | <td class="mdname" nowrap> <em>msgDomain</em>, </td>
|
---|
336 | </tr>
|
---|
337 | <tr>
|
---|
338 | <td></td>
|
---|
339 | <td></td>
|
---|
340 | <td class="md" nowrap>const <a class="el" href="classXMLErrorReporter.html#s4">XMLErrorReporter::ErrTypes</a> </td>
|
---|
341 | <td class="mdname" nowrap> <em>errType</em>, </td>
|
---|
342 | </tr>
|
---|
343 | <tr>
|
---|
344 | <td></td>
|
---|
345 | <td></td>
|
---|
346 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
347 | <td class="mdname" nowrap> <em>errorText</em>, </td>
|
---|
348 | </tr>
|
---|
349 | <tr>
|
---|
350 | <td></td>
|
---|
351 | <td></td>
|
---|
352 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
353 | <td class="mdname" nowrap> <em>systemId</em>, </td>
|
---|
354 | </tr>
|
---|
355 | <tr>
|
---|
356 | <td></td>
|
---|
357 | <td></td>
|
---|
358 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
359 | <td class="mdname" nowrap> <em>publicId</em>, </td>
|
---|
360 | </tr>
|
---|
361 | <tr>
|
---|
362 | <td></td>
|
---|
363 | <td></td>
|
---|
364 | <td class="md" nowrap>const XMLSSize_t </td>
|
---|
365 | <td class="mdname" nowrap> <em>lineNum</em>, </td>
|
---|
366 | </tr>
|
---|
367 | <tr>
|
---|
368 | <td></td>
|
---|
369 | <td></td>
|
---|
370 | <td class="md" nowrap>const XMLSSize_t </td>
|
---|
371 | <td class="mdname" nowrap> <em>colNum</em></td>
|
---|
372 | </tr>
|
---|
373 | <tr>
|
---|
374 | <td></td>
|
---|
375 | <td class="md">) </td>
|
---|
376 | <td class="md" colspan="2"><code> [virtual]</code></td>
|
---|
377 | </tr>
|
---|
378 |
|
---|
379 | </table>
|
---|
380 | </td>
|
---|
381 | </tr>
|
---|
382 | </table>
|
---|
383 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
384 | <tr>
|
---|
385 | <td>
|
---|
386 |
|
---|
387 | </td>
|
---|
388 | <td>
|
---|
389 |
|
---|
390 | <p>
|
---|
391 | Handle errors reported from the parser.
|
---|
392 | <p>
|
---|
393 | This method is used to report back errors found while parsing the XML file. This method is also borrowed from the SAX specification. It calls the corresponding user installed Error Handler method: 'fatal', 'error', 'warning' depending on the severity of the error. This classification is defined by the XML specification.<dl compact><dt><b>
|
---|
394 | Parameters: </b><dd>
|
---|
395 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
396 | <tr><td valign=top><em>errCode</em> </td><td>
|
---|
397 | An integer code for the error. </td></tr>
|
---|
398 | <tr><td valign=top><em>msgDomain</em> </td><td>
|
---|
399 | A const pointer to an Unicode string representing the message domain to use. </td></tr>
|
---|
400 | <tr><td valign=top><em>errType</em> </td><td>
|
---|
401 | An enumeration classifying the severity of the error. </td></tr>
|
---|
402 | <tr><td valign=top><em>errorText</em> </td><td>
|
---|
403 | A const pointer to an Unicode string representing the text of the error message. </td></tr>
|
---|
404 | <tr><td valign=top><em>systemId</em> </td><td>
|
---|
405 | A const pointer to an Unicode string representing the system id of the XML file where this error was discovered. </td></tr>
|
---|
406 | <tr><td valign=top><em>publicId</em> </td><td>
|
---|
407 | A const pointer to an Unicode string representing the public id of the XML file where this error was discovered. </td></tr>
|
---|
408 | <tr><td valign=top><em>lineNum</em> </td><td>
|
---|
409 | The line number where the error occurred. </td></tr>
|
---|
410 | <tr><td valign=top><em>colNum</em> </td><td>
|
---|
411 | The column number where the error occurred. </td></tr>
|
---|
412 | </table>
|
---|
413 | </dl><dl compact><dt><b>
|
---|
414 | See also: </b><dd>
|
---|
415 | <a class="el" href="classErrorHandler.html">ErrorHandler</a> </dl> </td>
|
---|
416 | </tr>
|
---|
417 | </table>
|
---|
418 | <a name="z479_1" doxytag="XercesDOMParser::expandSystemId"></a><p>
|
---|
419 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
420 | <tr>
|
---|
421 | <td class="md">
|
---|
422 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
423 | <tr>
|
---|
424 | <td class="md" nowrap valign="top"> bool XercesDOMParser::expandSystemId </td>
|
---|
425 | <td class="md" valign="top">( </td>
|
---|
426 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
427 | <td class="mdname" nowrap> <em>systemId</em>, </td>
|
---|
428 | </tr>
|
---|
429 | <tr>
|
---|
430 | <td></td>
|
---|
431 | <td></td>
|
---|
432 | <td class="md" nowrap>XMLBuffer & </td>
|
---|
433 | <td class="mdname" nowrap> <em>toFill</em></td>
|
---|
434 | </tr>
|
---|
435 | <tr>
|
---|
436 | <td></td>
|
---|
437 | <td class="md">) </td>
|
---|
438 | <td class="md" colspan="2"><code> [virtual]</code></td>
|
---|
439 | </tr>
|
---|
440 |
|
---|
441 | </table>
|
---|
442 | </td>
|
---|
443 | </tr>
|
---|
444 | </table>
|
---|
445 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
446 | <tr>
|
---|
447 | <td>
|
---|
448 |
|
---|
449 | </td>
|
---|
450 | <td>
|
---|
451 |
|
---|
452 | <p>
|
---|
453 | Expand a system id.
|
---|
454 | <p>
|
---|
455 | 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.
|
---|
456 | <p>
|
---|
457 | <b>This method always returns 'false' for this DOM implementation.</b><dl compact><dt><b>
|
---|
458 | Parameters: </b><dd>
|
---|
459 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
460 | <tr><td valign=top><em>systemId</em> </td><td>
|
---|
461 | A const pointer to an Unicode string representing the system id scanned by the parser. </td></tr>
|
---|
462 | <tr><td valign=top><em>toFill</em> </td><td>
|
---|
463 | A pointer to a buffer in which the application processed system id is stored. </td></tr>
|
---|
464 | </table>
|
---|
465 | </dl><dl compact><dt><b>
|
---|
466 | Returns: </b><dd>
|
---|
467 | 'true', if any processing is done, 'false' otherwise. </dl>
|
---|
468 | <p>
|
---|
469 | Implements <a class="el" href="classXMLEntityHandler.html#z274_1">XMLEntityHandler</a>. </td>
|
---|
470 | </tr>
|
---|
471 | </table>
|
---|
472 | <a name="z475_3" doxytag="XercesDOMParser::getEntityResolver"></a><p>
|
---|
473 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
474 | <tr>
|
---|
475 | <td class="md">
|
---|
476 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
477 | <tr>
|
---|
478 | <td class="md" nowrap valign="top"> const <a class="el" href="classEntityResolver.html">EntityResolver</a> * XercesDOMParser::getEntityResolver </td>
|
---|
479 | <td class="md" valign="top">( </td>
|
---|
480 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
481 | <td class="md" valign="top">) </td>
|
---|
482 | <td class="md" nowrap> const</td>
|
---|
483 | </tr>
|
---|
484 |
|
---|
485 | </table>
|
---|
486 | </td>
|
---|
487 | </tr>
|
---|
488 | </table>
|
---|
489 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
490 | <tr>
|
---|
491 | <td>
|
---|
492 |
|
---|
493 | </td>
|
---|
494 | <td>
|
---|
495 |
|
---|
496 | <p>
|
---|
497 | Get a const pointer to the entity resolver.
|
---|
498 | <p>
|
---|
499 | This method returns the installed entity resolver. If no resolver has been installed, then it will be a zero pointer.
|
---|
500 | <p>
|
---|
501 | <dl compact><dt><b>
|
---|
502 | Returns: </b><dd>
|
---|
503 | A const pointer to the installed entity resolver object. </dl> </td>
|
---|
504 | </tr>
|
---|
505 | </table>
|
---|
506 | <a name="z475_2" doxytag="XercesDOMParser::getEntityResolver"></a><p>
|
---|
507 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
508 | <tr>
|
---|
509 | <td class="md">
|
---|
510 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
511 | <tr>
|
---|
512 | <td class="md" nowrap valign="top"> <a class="el" href="classEntityResolver.html">EntityResolver</a> * XercesDOMParser::getEntityResolver </td>
|
---|
513 | <td class="md" valign="top">( </td>
|
---|
514 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
515 | <td class="md" valign="top">) </td>
|
---|
516 | <td class="md" nowrap></td>
|
---|
517 | </tr>
|
---|
518 |
|
---|
519 | </table>
|
---|
520 | </td>
|
---|
521 | </tr>
|
---|
522 | </table>
|
---|
523 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
524 | <tr>
|
---|
525 | <td>
|
---|
526 |
|
---|
527 | </td>
|
---|
528 | <td>
|
---|
529 |
|
---|
530 | <p>
|
---|
531 | Get a pointer to the entity resolver.
|
---|
532 | <p>
|
---|
533 | This method returns the installed entity resolver. If no resolver has been installed, then it will be a zero pointer.
|
---|
534 | <p>
|
---|
535 | <dl compact><dt><b>
|
---|
536 | Returns: </b><dd>
|
---|
537 | The pointer to the installed entity resolver object. </dl> </td>
|
---|
538 | </tr>
|
---|
539 | </table>
|
---|
540 | <a name="z475_1" doxytag="XercesDOMParser::getErrorHandler"></a><p>
|
---|
541 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
542 | <tr>
|
---|
543 | <td class="md">
|
---|
544 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
545 | <tr>
|
---|
546 | <td class="md" nowrap valign="top"> const <a class="el" href="classErrorHandler.html">ErrorHandler</a> * XercesDOMParser::getErrorHandler </td>
|
---|
547 | <td class="md" valign="top">( </td>
|
---|
548 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
549 | <td class="md" valign="top">) </td>
|
---|
550 | <td class="md" nowrap> const</td>
|
---|
551 | </tr>
|
---|
552 |
|
---|
553 | </table>
|
---|
554 | </td>
|
---|
555 | </tr>
|
---|
556 | </table>
|
---|
557 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
558 | <tr>
|
---|
559 | <td>
|
---|
560 |
|
---|
561 | </td>
|
---|
562 | <td>
|
---|
563 |
|
---|
564 | <p>
|
---|
565 | Get a const pointer to the error handler.
|
---|
566 | <p>
|
---|
567 | This method returns the installed error handler. If no handler has been installed, then it will be a zero pointer.
|
---|
568 | <p>
|
---|
569 | <dl compact><dt><b>
|
---|
570 | Returns: </b><dd>
|
---|
571 | A const pointer to the installed error handler object. </dl> </td>
|
---|
572 | </tr>
|
---|
573 | </table>
|
---|
574 | <a name="z475_0" doxytag="XercesDOMParser::getErrorHandler"></a><p>
|
---|
575 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
576 | <tr>
|
---|
577 | <td class="md">
|
---|
578 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
579 | <tr>
|
---|
580 | <td class="md" nowrap valign="top"> <a class="el" href="classErrorHandler.html">ErrorHandler</a> * XercesDOMParser::getErrorHandler </td>
|
---|
581 | <td class="md" valign="top">( </td>
|
---|
582 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
583 | <td class="md" valign="top">) </td>
|
---|
584 | <td class="md" nowrap></td>
|
---|
585 | </tr>
|
---|
586 |
|
---|
587 | </table>
|
---|
588 | </td>
|
---|
589 | </tr>
|
---|
590 | </table>
|
---|
591 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
592 | <tr>
|
---|
593 | <td>
|
---|
594 |
|
---|
595 | </td>
|
---|
596 | <td>
|
---|
597 |
|
---|
598 | <p>
|
---|
599 | Get a pointer to the error handler.
|
---|
600 | <p>
|
---|
601 | This method returns the installed error handler. If no handler has been installed, then it will be a zero pointer.
|
---|
602 | <p>
|
---|
603 | <dl compact><dt><b>
|
---|
604 | Returns: </b><dd>
|
---|
605 | The pointer to the installed error handler object. </dl> </td>
|
---|
606 | </tr>
|
---|
607 | </table>
|
---|
608 | <a name="z475_8" doxytag="XercesDOMParser::getGrammar"></a><p>
|
---|
609 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
610 | <tr>
|
---|
611 | <td class="md">
|
---|
612 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
613 | <tr>
|
---|
614 | <td class="md" nowrap valign="top"> <a class="el" href="XSModel_8hpp.html#a1">Grammar</a>* XercesDOMParser::getGrammar </td>
|
---|
615 | <td class="md" valign="top">( </td>
|
---|
616 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
617 | <td class="mdname1" valign="top" nowrap> <em>nameSpaceKey</em> </td>
|
---|
618 | <td class="md" valign="top">) </td>
|
---|
619 | <td class="md" nowrap></td>
|
---|
620 | </tr>
|
---|
621 |
|
---|
622 | </table>
|
---|
623 | </td>
|
---|
624 | </tr>
|
---|
625 | </table>
|
---|
626 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
627 | <tr>
|
---|
628 | <td>
|
---|
629 |
|
---|
630 | </td>
|
---|
631 | <td>
|
---|
632 |
|
---|
633 | <p>
|
---|
634 | Retrieve the grammar that is associated with the specified namespace key.
|
---|
635 | <p>
|
---|
636 | <dl compact><dt><b>
|
---|
637 | Parameters: </b><dd>
|
---|
638 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
639 | <tr><td valign=top><em>nameSpaceKey</em> </td><td>
|
---|
640 | Namespace key </td></tr>
|
---|
641 | </table>
|
---|
642 | </dl><dl compact><dt><b>
|
---|
643 | Returns: </b><dd>
|
---|
644 | Grammar associated with the Namespace key. </dl> </td>
|
---|
645 | </tr>
|
---|
646 | </table>
|
---|
647 | <a name="z475_9" doxytag="XercesDOMParser::getRootGrammar"></a><p>
|
---|
648 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
649 | <tr>
|
---|
650 | <td class="md">
|
---|
651 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
652 | <tr>
|
---|
653 | <td class="md" nowrap valign="top"> <a class="el" href="XSModel_8hpp.html#a1">Grammar</a>* XercesDOMParser::getRootGrammar </td>
|
---|
654 | <td class="md" valign="top">( </td>
|
---|
655 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
656 | <td class="md" valign="top">) </td>
|
---|
657 | <td class="md" nowrap></td>
|
---|
658 | </tr>
|
---|
659 |
|
---|
660 | </table>
|
---|
661 | </td>
|
---|
662 | </tr>
|
---|
663 | </table>
|
---|
664 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
665 | <tr>
|
---|
666 | <td>
|
---|
667 |
|
---|
668 | </td>
|
---|
669 | <td>
|
---|
670 |
|
---|
671 | <p>
|
---|
672 | Retrieve the grammar where the root element is declared.
|
---|
673 | <p>
|
---|
674 | <dl compact><dt><b>
|
---|
675 | Returns: </b><dd>
|
---|
676 | Grammar where root element declared </dl> </td>
|
---|
677 | </tr>
|
---|
678 | </table>
|
---|
679 | <a name="z475_11" doxytag="XercesDOMParser::getSrcOffset"></a><p>
|
---|
680 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
681 | <tr>
|
---|
682 | <td class="md">
|
---|
683 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
684 | <tr>
|
---|
685 | <td class="md" nowrap valign="top"> unsigned int XercesDOMParser::getSrcOffset </td>
|
---|
686 | <td class="md" valign="top">( </td>
|
---|
687 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
688 | <td class="md" valign="top">) </td>
|
---|
689 | <td class="md" nowrap> const</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 | Returns the current src offset within the input source.
|
---|
705 | <p>
|
---|
706 | <dl compact><dt><b>
|
---|
707 | Returns: </b><dd>
|
---|
708 | offset within the input source </dl> </td>
|
---|
709 | </tr>
|
---|
710 | </table>
|
---|
711 | <a name="z475_10" doxytag="XercesDOMParser::getURIText"></a><p>
|
---|
712 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
713 | <tr>
|
---|
714 | <td class="md">
|
---|
715 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
716 | <tr>
|
---|
717 | <td class="md" nowrap valign="top"> const XMLCh* XercesDOMParser::getURIText </td>
|
---|
718 | <td class="md" valign="top">( </td>
|
---|
719 | <td class="md" nowrap valign="top">unsigned int </td>
|
---|
720 | <td class="mdname1" valign="top" nowrap> <em>uriId</em> </td>
|
---|
721 | <td class="md" valign="top">) </td>
|
---|
722 | <td class="md" nowrap> const</td>
|
---|
723 | </tr>
|
---|
724 |
|
---|
725 | </table>
|
---|
726 | </td>
|
---|
727 | </tr>
|
---|
728 | </table>
|
---|
729 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
730 | <tr>
|
---|
731 | <td>
|
---|
732 |
|
---|
733 | </td>
|
---|
734 | <td>
|
---|
735 |
|
---|
736 | <p>
|
---|
737 | Returns the string corresponding to a URI id from the URI string pool.
|
---|
738 | <p>
|
---|
739 | <dl compact><dt><b>
|
---|
740 | Parameters: </b><dd>
|
---|
741 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
742 | <tr><td valign=top><em>uriId</em> </td><td>
|
---|
743 | id of the string in the URI string pool. </td></tr>
|
---|
744 | </table>
|
---|
745 | </dl><dl compact><dt><b>
|
---|
746 | Returns: </b><dd>
|
---|
747 | URI string corresponding to the URI id. </dl> </td>
|
---|
748 | </tr>
|
---|
749 | </table>
|
---|
750 | <a name="z475_5" doxytag="XercesDOMParser::getXMLEntityResolver"></a><p>
|
---|
751 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
752 | <tr>
|
---|
753 | <td class="md">
|
---|
754 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
755 | <tr>
|
---|
756 | <td class="md" nowrap valign="top"> const <a class="el" href="classXMLEntityResolver.html">XMLEntityResolver</a> * XercesDOMParser::getXMLEntityResolver </td>
|
---|
757 | <td class="md" valign="top">( </td>
|
---|
758 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
759 | <td class="md" valign="top">) </td>
|
---|
760 | <td class="md" nowrap> const</td>
|
---|
761 | </tr>
|
---|
762 |
|
---|
763 | </table>
|
---|
764 | </td>
|
---|
765 | </tr>
|
---|
766 | </table>
|
---|
767 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
768 | <tr>
|
---|
769 | <td>
|
---|
770 |
|
---|
771 | </td>
|
---|
772 | <td>
|
---|
773 |
|
---|
774 | <p>
|
---|
775 | Get a const pointer to the entity resolver.
|
---|
776 | <p>
|
---|
777 | This method returns the installed entity resolver. If no resolver has been installed, then it will be a zero pointer.
|
---|
778 | <p>
|
---|
779 | <dl compact><dt><b>
|
---|
780 | Returns: </b><dd>
|
---|
781 | A const pointer to the installed entity resolver object. </dl> </td>
|
---|
782 | </tr>
|
---|
783 | </table>
|
---|
784 | <a name="z475_4" doxytag="XercesDOMParser::getXMLEntityResolver"></a><p>
|
---|
785 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
786 | <tr>
|
---|
787 | <td class="md">
|
---|
788 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
789 | <tr>
|
---|
790 | <td class="md" nowrap valign="top"> <a class="el" href="classXMLEntityResolver.html">XMLEntityResolver</a> * XercesDOMParser::getXMLEntityResolver </td>
|
---|
791 | <td class="md" valign="top">( </td>
|
---|
792 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
793 | <td class="md" valign="top">) </td>
|
---|
794 | <td class="md" nowrap></td>
|
---|
795 | </tr>
|
---|
796 |
|
---|
797 | </table>
|
---|
798 | </td>
|
---|
799 | </tr>
|
---|
800 | </table>
|
---|
801 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
802 | <tr>
|
---|
803 | <td>
|
---|
804 |
|
---|
805 | </td>
|
---|
806 | <td>
|
---|
807 |
|
---|
808 | <p>
|
---|
809 | Get a pointer to the entity resolver.
|
---|
810 | <p>
|
---|
811 | This method returns the installed entity resolver. If no resolver has been installed, then it will be a zero pointer.
|
---|
812 | <p>
|
---|
813 | <dl compact><dt><b>
|
---|
814 | Returns: </b><dd>
|
---|
815 | The pointer to the installed entity resolver object. </dl> </td>
|
---|
816 | </tr>
|
---|
817 | </table>
|
---|
818 | <a name="z475_6" doxytag="XercesDOMParser::isCachingGrammarFromParse"></a><p>
|
---|
819 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
820 | <tr>
|
---|
821 | <td class="md">
|
---|
822 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
823 | <tr>
|
---|
824 | <td class="md" nowrap valign="top"> bool XercesDOMParser::isCachingGrammarFromParse </td>
|
---|
825 | <td class="md" valign="top">( </td>
|
---|
826 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
827 | <td class="md" valign="top">) </td>
|
---|
828 | <td class="md" nowrap> const</td>
|
---|
829 | </tr>
|
---|
830 |
|
---|
831 | </table>
|
---|
832 | </td>
|
---|
833 | </tr>
|
---|
834 | </table>
|
---|
835 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
836 | <tr>
|
---|
837 | <td>
|
---|
838 |
|
---|
839 | </td>
|
---|
840 | <td>
|
---|
841 |
|
---|
842 | <p>
|
---|
843 | Get the 'Grammar caching' flag.
|
---|
844 | <p>
|
---|
845 | This method returns the state of the parser's grammar caching when parsing an XML document.
|
---|
846 | <p>
|
---|
847 | <dl compact><dt><b>
|
---|
848 | Returns: </b><dd>
|
---|
849 | true, if the parser is currently configured to cache grammars, false otherwise.</dl><dl compact><dt><b>
|
---|
850 | See also: </b><dd>
|
---|
851 | <a class="el" href="classXercesDOMParser.html#z476_3">cacheGrammarFromParse</a> </dl> </td>
|
---|
852 | </tr>
|
---|
853 | </table>
|
---|
854 | <a name="z475_7" doxytag="XercesDOMParser::isUsingCachedGrammarInParse"></a><p>
|
---|
855 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
856 | <tr>
|
---|
857 | <td class="md">
|
---|
858 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
859 | <tr>
|
---|
860 | <td class="md" nowrap valign="top"> bool XercesDOMParser::isUsingCachedGrammarInParse </td>
|
---|
861 | <td class="md" valign="top">( </td>
|
---|
862 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
863 | <td class="md" valign="top">) </td>
|
---|
864 | <td class="md" nowrap> const</td>
|
---|
865 | </tr>
|
---|
866 |
|
---|
867 | </table>
|
---|
868 | </td>
|
---|
869 | </tr>
|
---|
870 | </table>
|
---|
871 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
872 | <tr>
|
---|
873 | <td>
|
---|
874 |
|
---|
875 | </td>
|
---|
876 | <td>
|
---|
877 |
|
---|
878 | <p>
|
---|
879 | Get the 'Use cached grammar' flag.
|
---|
880 | <p>
|
---|
881 | This method returns the state of the parser's use of cached grammar when parsing an XML document.
|
---|
882 | <p>
|
---|
883 | <dl compact><dt><b>
|
---|
884 | Returns: </b><dd>
|
---|
885 | true, if the parser is currently configured to use cached grammars, false otherwise.</dl><dl compact><dt><b>
|
---|
886 | See also: </b><dd>
|
---|
887 | <a class="el" href="classXercesDOMParser.html#z476_4">useCachedGrammarInParse</a> </dl> </td>
|
---|
888 | </tr>
|
---|
889 | </table>
|
---|
890 | <a name="z480_2" doxytag="XercesDOMParser::loadGrammar"></a><p>
|
---|
891 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
892 | <tr>
|
---|
893 | <td class="md">
|
---|
894 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
895 | <tr>
|
---|
896 | <td class="md" nowrap valign="top"> <a class="el" href="XSModel_8hpp.html#a1">Grammar</a>* XercesDOMParser::loadGrammar </td>
|
---|
897 | <td class="md" valign="top">( </td>
|
---|
898 | <td class="md" nowrap valign="top">const char *const </td>
|
---|
899 | <td class="mdname" nowrap> <em>systemId</em>, </td>
|
---|
900 | </tr>
|
---|
901 | <tr>
|
---|
902 | <td></td>
|
---|
903 | <td></td>
|
---|
904 | <td class="md" nowrap>const short </td>
|
---|
905 | <td class="mdname" nowrap> <em>grammarType</em>, </td>
|
---|
906 | </tr>
|
---|
907 | <tr>
|
---|
908 | <td></td>
|
---|
909 | <td></td>
|
---|
910 | <td class="md" nowrap>const bool </td>
|
---|
911 | <td class="mdname" nowrap> <em>toCache</em> = false</td>
|
---|
912 | </tr>
|
---|
913 | <tr>
|
---|
914 | <td></td>
|
---|
915 | <td class="md">) </td>
|
---|
916 | <td class="md" colspan="2"></td>
|
---|
917 | </tr>
|
---|
918 |
|
---|
919 | </table>
|
---|
920 | </td>
|
---|
921 | </tr>
|
---|
922 | </table>
|
---|
923 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
924 | <tr>
|
---|
925 | <td>
|
---|
926 |
|
---|
927 | </td>
|
---|
928 | <td>
|
---|
929 |
|
---|
930 | <p>
|
---|
931 | Preparse schema grammar (XML Schema, DTD, etc.) via a file path or URL.
|
---|
932 | <p>
|
---|
933 | 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.
|
---|
934 | <p>
|
---|
935 |
|
---|
936 | <p>
|
---|
937 | <b>"Experimental - subject to change"</b><dl compact><dt><b>
|
---|
938 | Parameters: </b><dd>
|
---|
939 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
940 | <tr><td valign=top><em>systemId</em> </td><td>
|
---|
941 | A const char pointer to a native string which contains the path to the XML grammar file to be preparsed. </td></tr>
|
---|
942 | <tr><td valign=top><em>grammarType</em> </td><td>
|
---|
943 | The grammar type (Schema or DTD). </td></tr>
|
---|
944 | <tr><td valign=top><em>toCache</em> </td><td>
|
---|
945 | If <code>true</code>, we cache the preparsed grammar, otherwise, no chaching. Default is <code>false</code>. </td></tr>
|
---|
946 | </table>
|
---|
947 | </dl><dl compact><dt><b>
|
---|
948 | Returns: </b><dd>
|
---|
949 | The preparsed schema grammar object (SchemaGrammar or DTDGrammar). That grammar object is owned by the parser.</dl><dl compact><dt><b>
|
---|
950 | Exceptions: </b><dd>
|
---|
951 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
952 | <tr><td valign=top><em><a class="el" href="classSAXException.html">SAXException</a></em> </td><td>
|
---|
953 | Any SAX exception, possibly wrapping another exception. </td></tr>
|
---|
954 | <tr><td valign=top><em><a class="el" href="classXMLException.html">XMLException</a></em> </td><td>
|
---|
955 | An exception from the parser or client handler code. </td></tr>
|
---|
956 | <tr><td valign=top><em><a class="el" href="classDOMException.html">DOMException</a></em> </td><td>
|
---|
957 | A DOM exception as per DOM spec. </td></tr>
|
---|
958 | </table>
|
---|
959 | </dl> </td>
|
---|
960 | </tr>
|
---|
961 | </table>
|
---|
962 | <a name="z480_1" doxytag="XercesDOMParser::loadGrammar"></a><p>
|
---|
963 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
964 | <tr>
|
---|
965 | <td class="md">
|
---|
966 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
967 | <tr>
|
---|
968 | <td class="md" nowrap valign="top"> <a class="el" href="XSModel_8hpp.html#a1">Grammar</a>* XercesDOMParser::loadGrammar </td>
|
---|
969 | <td class="md" valign="top">( </td>
|
---|
970 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
971 | <td class="mdname" nowrap> <em>systemId</em>, </td>
|
---|
972 | </tr>
|
---|
973 | <tr>
|
---|
974 | <td></td>
|
---|
975 | <td></td>
|
---|
976 | <td class="md" nowrap>const short </td>
|
---|
977 | <td class="mdname" nowrap> <em>grammarType</em>, </td>
|
---|
978 | </tr>
|
---|
979 | <tr>
|
---|
980 | <td></td>
|
---|
981 | <td></td>
|
---|
982 | <td class="md" nowrap>const bool </td>
|
---|
983 | <td class="mdname" nowrap> <em>toCache</em> = false</td>
|
---|
984 | </tr>
|
---|
985 | <tr>
|
---|
986 | <td></td>
|
---|
987 | <td class="md">) </td>
|
---|
988 | <td class="md" colspan="2"></td>
|
---|
989 | </tr>
|
---|
990 |
|
---|
991 | </table>
|
---|
992 | </td>
|
---|
993 | </tr>
|
---|
994 | </table>
|
---|
995 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
996 | <tr>
|
---|
997 | <td>
|
---|
998 |
|
---|
999 | </td>
|
---|
1000 | <td>
|
---|
1001 |
|
---|
1002 | <p>
|
---|
1003 | Preparse schema grammar (XML Schema, DTD, etc.) via a file path or URL.
|
---|
1004 | <p>
|
---|
1005 | 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.
|
---|
1006 | <p>
|
---|
1007 |
|
---|
1008 | <p>
|
---|
1009 | <b>"Experimental - subject to change"</b><dl compact><dt><b>
|
---|
1010 | Parameters: </b><dd>
|
---|
1011 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1012 | <tr><td valign=top><em>systemId</em> </td><td>
|
---|
1013 | A const XMLCh pointer to the Unicode string which contains the path to the XML grammar file to be preparsed. </td></tr>
|
---|
1014 | <tr><td valign=top><em>grammarType</em> </td><td>
|
---|
1015 | The grammar type (Schema or DTD). </td></tr>
|
---|
1016 | <tr><td valign=top><em>toCache</em> </td><td>
|
---|
1017 | If <code>true</code>, we cache the preparsed grammar, otherwise, no chaching. Default is <code>false</code>. </td></tr>
|
---|
1018 | </table>
|
---|
1019 | </dl><dl compact><dt><b>
|
---|
1020 | Returns: </b><dd>
|
---|
1021 | The preparsed schema grammar object (SchemaGrammar or DTDGrammar). That grammar object is owned by the parser.</dl><dl compact><dt><b>
|
---|
1022 | Exceptions: </b><dd>
|
---|
1023 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1024 | <tr><td valign=top><em><a class="el" href="classSAXException.html">SAXException</a></em> </td><td>
|
---|
1025 | Any SAX exception, possibly wrapping another exception. </td></tr>
|
---|
1026 | <tr><td valign=top><em><a class="el" href="classXMLException.html">XMLException</a></em> </td><td>
|
---|
1027 | An exception from the parser or client handler code. </td></tr>
|
---|
1028 | <tr><td valign=top><em><a class="el" href="classDOMException.html">DOMException</a></em> </td><td>
|
---|
1029 | A DOM exception as per DOM spec. </td></tr>
|
---|
1030 | </table>
|
---|
1031 | </dl> </td>
|
---|
1032 | </tr>
|
---|
1033 | </table>
|
---|
1034 | <a name="z480_0" doxytag="XercesDOMParser::loadGrammar"></a><p>
|
---|
1035 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1036 | <tr>
|
---|
1037 | <td class="md">
|
---|
1038 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1039 | <tr>
|
---|
1040 | <td class="md" nowrap valign="top"> <a class="el" href="XSModel_8hpp.html#a1">Grammar</a>* XercesDOMParser::loadGrammar </td>
|
---|
1041 | <td class="md" valign="top">( </td>
|
---|
1042 | <td class="md" nowrap valign="top">const <a class="el" href="classInputSource.html">InputSource</a> & </td>
|
---|
1043 | <td class="mdname" nowrap> <em>source</em>, </td>
|
---|
1044 | </tr>
|
---|
1045 | <tr>
|
---|
1046 | <td></td>
|
---|
1047 | <td></td>
|
---|
1048 | <td class="md" nowrap>const short </td>
|
---|
1049 | <td class="mdname" nowrap> <em>grammarType</em>, </td>
|
---|
1050 | </tr>
|
---|
1051 | <tr>
|
---|
1052 | <td></td>
|
---|
1053 | <td></td>
|
---|
1054 | <td class="md" nowrap>const bool </td>
|
---|
1055 | <td class="mdname" nowrap> <em>toCache</em> = false</td>
|
---|
1056 | </tr>
|
---|
1057 | <tr>
|
---|
1058 | <td></td>
|
---|
1059 | <td class="md">) </td>
|
---|
1060 | <td class="md" colspan="2"></td>
|
---|
1061 | </tr>
|
---|
1062 |
|
---|
1063 | </table>
|
---|
1064 | </td>
|
---|
1065 | </tr>
|
---|
1066 | </table>
|
---|
1067 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1068 | <tr>
|
---|
1069 | <td>
|
---|
1070 |
|
---|
1071 | </td>
|
---|
1072 | <td>
|
---|
1073 |
|
---|
1074 | <p>
|
---|
1075 | Preparse schema grammar (XML Schema, DTD, etc.) via an input source object.
|
---|
1076 | <p>
|
---|
1077 | 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.
|
---|
1078 | <p>
|
---|
1079 |
|
---|
1080 | <p>
|
---|
1081 | <b>"Experimental - subject to change"</b><dl compact><dt><b>
|
---|
1082 | Parameters: </b><dd>
|
---|
1083 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1084 | <tr><td valign=top><em>source</em> </td><td>
|
---|
1085 | 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>
|
---|
1086 | <tr><td valign=top><em>grammarType</em> </td><td>
|
---|
1087 | The grammar type (Schema or DTD). </td></tr>
|
---|
1088 | <tr><td valign=top><em>toCache</em> </td><td>
|
---|
1089 | If <code>true</code>, we cache the preparsed grammar, otherwise, no chaching. Default is <code>false</code>. </td></tr>
|
---|
1090 | </table>
|
---|
1091 | </dl><dl compact><dt><b>
|
---|
1092 | Returns: </b><dd>
|
---|
1093 | The preparsed schema grammar object (SchemaGrammar or DTDGrammar). That grammar object is owned by the parser.</dl><dl compact><dt><b>
|
---|
1094 | Exceptions: </b><dd>
|
---|
1095 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1096 | <tr><td valign=top><em><a class="el" href="classSAXException.html">SAXException</a></em> </td><td>
|
---|
1097 | Any SAX exception, possibly wrapping another exception. </td></tr>
|
---|
1098 | <tr><td valign=top><em><a class="el" href="classXMLException.html">XMLException</a></em> </td><td>
|
---|
1099 | An exception from the parser or client handler code. </td></tr>
|
---|
1100 | <tr><td valign=top><em><a class="el" href="classDOMException.html">DOMException</a></em> </td><td>
|
---|
1101 | A DOM exception as per DOM spec.</td></tr>
|
---|
1102 | </table>
|
---|
1103 | </dl><dl compact><dt><b>
|
---|
1104 | See also: </b><dd>
|
---|
1105 | <a class="el" href="classInputSource.html#z437_0">InputSource::InputSource</a> </dl> </td>
|
---|
1106 | </tr>
|
---|
1107 | </table>
|
---|
1108 | <a name="z480_3" doxytag="XercesDOMParser::resetCachedGrammarPool"></a><p>
|
---|
1109 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1110 | <tr>
|
---|
1111 | <td class="md">
|
---|
1112 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1113 | <tr>
|
---|
1114 | <td class="md" nowrap valign="top"> void XercesDOMParser::resetCachedGrammarPool </td>
|
---|
1115 | <td class="md" valign="top">( </td>
|
---|
1116 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
1117 | <td class="md" valign="top">) </td>
|
---|
1118 | <td class="md" nowrap></td>
|
---|
1119 | </tr>
|
---|
1120 |
|
---|
1121 | </table>
|
---|
1122 | </td>
|
---|
1123 | </tr>
|
---|
1124 | </table>
|
---|
1125 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1126 | <tr>
|
---|
1127 | <td>
|
---|
1128 |
|
---|
1129 | </td>
|
---|
1130 | <td>
|
---|
1131 |
|
---|
1132 | <p>
|
---|
1133 | This method allows the user to reset the pool of cached grammars.
|
---|
1134 | <p>
|
---|
1135 | </td>
|
---|
1136 | </tr>
|
---|
1137 | </table>
|
---|
1138 | <a name="z477_0" doxytag="XercesDOMParser::resetDocumentPool"></a><p>
|
---|
1139 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1140 | <tr>
|
---|
1141 | <td class="md">
|
---|
1142 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1143 | <tr>
|
---|
1144 | <td class="md" nowrap valign="top"> void XercesDOMParser::resetDocumentPool </td>
|
---|
1145 | <td class="md" valign="top">( </td>
|
---|
1146 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
1147 | <td class="md" valign="top">) </td>
|
---|
1148 | <td class="md" nowrap></td>
|
---|
1149 | </tr>
|
---|
1150 |
|
---|
1151 | </table>
|
---|
1152 | </td>
|
---|
1153 | </tr>
|
---|
1154 | </table>
|
---|
1155 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1156 | <tr>
|
---|
1157 | <td>
|
---|
1158 |
|
---|
1159 | </td>
|
---|
1160 | <td>
|
---|
1161 |
|
---|
1162 | <p>
|
---|
1163 | Reset the documents vector pool and release all the associated memory back to the system.
|
---|
1164 | <p>
|
---|
1165 | When parsing a document using a DOM parser, all memory allocated for a DOM tree is associated to the DOM document.
|
---|
1166 | <p>
|
---|
1167 | If you do multiple parse using the same DOM parser instance, then multiple DOM documents will be generated and saved in a vector pool. All these documents (and thus all the allocated memory) won't be deleted until the parser instance is destroyed.
|
---|
1168 | <p>
|
---|
1169 | If you don't need these DOM documents anymore and don't want to destroy the DOM parser instance at this moment, then you can call this method to reset the document vector pool and release all the allocated memory back to the system.
|
---|
1170 | <p>
|
---|
1171 | It is an error to call this method if you are in the middle of a parse (e.g. in the mid of a progressive parse).<dl compact><dt><b>
|
---|
1172 | Exceptions: </b><dd>
|
---|
1173 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1174 | <tr><td valign=top><em>IOException</em> </td><td>
|
---|
1175 | An exception from the parser if this function is called when a parse is in progress. </td></tr>
|
---|
1176 | </table>
|
---|
1177 | </dl> </td>
|
---|
1178 | </tr>
|
---|
1179 | </table>
|
---|
1180 | <a name="z479_2" doxytag="XercesDOMParser::resetEntities"></a><p>
|
---|
1181 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1182 | <tr>
|
---|
1183 | <td class="md">
|
---|
1184 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1185 | <tr>
|
---|
1186 | <td class="md" nowrap valign="top"> void XercesDOMParser::resetEntities </td>
|
---|
1187 | <td class="md" valign="top">( </td>
|
---|
1188 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
1189 | <td class="md" valign="top">) </td>
|
---|
1190 | <td class="md" nowrap><code> [virtual]</code></td>
|
---|
1191 | </tr>
|
---|
1192 |
|
---|
1193 | </table>
|
---|
1194 | </td>
|
---|
1195 | </tr>
|
---|
1196 | </table>
|
---|
1197 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1198 | <tr>
|
---|
1199 | <td>
|
---|
1200 |
|
---|
1201 | </td>
|
---|
1202 | <td>
|
---|
1203 |
|
---|
1204 | <p>
|
---|
1205 | Reset any entity handler information.
|
---|
1206 | <p>
|
---|
1207 | This method allows the installed <a class="el" href="classXMLEntityHandler.html">XMLEntityHandler</a> to reset itself.
|
---|
1208 | <p>
|
---|
1209 | <b>This method is a no-op for this DOM implementation.</b>
|
---|
1210 | <p>
|
---|
1211 | Implements <a class="el" href="classXMLEntityHandler.html#z274_2">XMLEntityHandler</a>. </td>
|
---|
1212 | </tr>
|
---|
1213 | </table>
|
---|
1214 | <a name="z478_1" doxytag="XercesDOMParser::resetErrors"></a><p>
|
---|
1215 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1216 | <tr>
|
---|
1217 | <td class="md">
|
---|
1218 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1219 | <tr>
|
---|
1220 | <td class="md" nowrap valign="top"> virtual void XercesDOMParser::resetErrors </td>
|
---|
1221 | <td class="md" valign="top">( </td>
|
---|
1222 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
1223 | <td class="md" valign="top">) </td>
|
---|
1224 | <td class="md" nowrap><code> [virtual]</code></td>
|
---|
1225 | </tr>
|
---|
1226 |
|
---|
1227 | </table>
|
---|
1228 | </td>
|
---|
1229 | </tr>
|
---|
1230 | </table>
|
---|
1231 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1232 | <tr>
|
---|
1233 | <td>
|
---|
1234 |
|
---|
1235 | </td>
|
---|
1236 | <td>
|
---|
1237 |
|
---|
1238 | <p>
|
---|
1239 | Reset any error data before a new parse.
|
---|
1240 | <p>
|
---|
1241 | This method allows the user installed Error Handler callback to 'reset' itself.
|
---|
1242 | <p>
|
---|
1243 | <b>This method is a no-op for this DOM implementation.</b>
|
---|
1244 | <p>
|
---|
1245 | Implements <a class="el" href="classXMLErrorReporter.html#z277_1">XMLErrorReporter</a>. </td>
|
---|
1246 | </tr>
|
---|
1247 | </table>
|
---|
1248 | <a name="z479_4" doxytag="XercesDOMParser::resolveEntity"></a><p>
|
---|
1249 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1250 | <tr>
|
---|
1251 | <td class="md">
|
---|
1252 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1253 | <tr>
|
---|
1254 | <td class="md" nowrap valign="top"> virtual <a class="el" href="classInputSource.html">InputSource</a>* XercesDOMParser::resolveEntity </td>
|
---|
1255 | <td class="md" valign="top">( </td>
|
---|
1256 | <td class="md" nowrap valign="top"><a class="el" href="classXMLResourceIdentifier.html">XMLResourceIdentifier</a> * </td>
|
---|
1257 | <td class="mdname1" valign="top" nowrap> <em>resourceIdentifier</em> </td>
|
---|
1258 | <td class="md" valign="top">) </td>
|
---|
1259 | <td class="md" nowrap><code> [virtual]</code></td>
|
---|
1260 | </tr>
|
---|
1261 |
|
---|
1262 | </table>
|
---|
1263 | </td>
|
---|
1264 | </tr>
|
---|
1265 | </table>
|
---|
1266 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1267 | <tr>
|
---|
1268 | <td>
|
---|
1269 |
|
---|
1270 | </td>
|
---|
1271 | <td>
|
---|
1272 |
|
---|
1273 | <p>
|
---|
1274 | Resolve a public/system id.
|
---|
1275 | <p>
|
---|
1276 | 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>
|
---|
1277 | Parameters: </b><dd>
|
---|
1278 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1279 | <tr><td valign=top><em>resourceIdentifier</em> </td><td>
|
---|
1280 | An object containing the type of resource to be resolved and the associated data members corresponding to this type. </td></tr>
|
---|
1281 | </table>
|
---|
1282 | </dl><dl compact><dt><b>
|
---|
1283 | Returns: </b><dd>
|
---|
1284 | 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>
|
---|
1285 | See also: </b><dd>
|
---|
1286 | <a class="el" href="classXMLEntityHandler.html">XMLEntityHandler</a> , <a class="el" href="classXMLEntityResolver.html">XMLEntityResolver</a> </dl>
|
---|
1287 | <p>
|
---|
1288 | Implements <a class="el" href="classXMLEntityHandler.html#z274_4">XMLEntityHandler</a>. </td>
|
---|
1289 | </tr>
|
---|
1290 | </table>
|
---|
1291 | <a name="z479_3" doxytag="XercesDOMParser::resolveEntity"></a><p>
|
---|
1292 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1293 | <tr>
|
---|
1294 | <td class="md">
|
---|
1295 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1296 | <tr>
|
---|
1297 | <td class="md" nowrap valign="top"> virtual <a class="el" href="classInputSource.html">InputSource</a>* XercesDOMParser::resolveEntity </td>
|
---|
1298 | <td class="md" valign="top">( </td>
|
---|
1299 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
1300 | <td class="mdname" nowrap> <em>publicId</em>, </td>
|
---|
1301 | </tr>
|
---|
1302 | <tr>
|
---|
1303 | <td></td>
|
---|
1304 | <td></td>
|
---|
1305 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
1306 | <td class="mdname" nowrap> <em>systemId</em>, </td>
|
---|
1307 | </tr>
|
---|
1308 | <tr>
|
---|
1309 | <td></td>
|
---|
1310 | <td></td>
|
---|
1311 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
1312 | <td class="mdname" nowrap> <em>baseURI</em> = 0</td>
|
---|
1313 | </tr>
|
---|
1314 | <tr>
|
---|
1315 | <td></td>
|
---|
1316 | <td class="md">) </td>
|
---|
1317 | <td class="md" colspan="2"><code> [virtual]</code></td>
|
---|
1318 | </tr>
|
---|
1319 |
|
---|
1320 | </table>
|
---|
1321 | </td>
|
---|
1322 | </tr>
|
---|
1323 | </table>
|
---|
1324 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1325 | <tr>
|
---|
1326 | <td>
|
---|
1327 |
|
---|
1328 | </td>
|
---|
1329 | <td>
|
---|
1330 |
|
---|
1331 | <p>
|
---|
1332 | Resolve a public/system id.
|
---|
1333 | <p>
|
---|
1334 | This method allows a user installed entity handler to further process any pointers to external entities. The applications can implement 'redirection' via this callback. This method is also borrowed from the SAX specification.
|
---|
1335 | <p>
|
---|
1336 | <dl compact><dt><b>
|
---|
1337 | Deprecated: </b><dd>
|
---|
1338 | This method is no longer called (the other resolveEntity one is).</dl><dl compact><dt><b>
|
---|
1339 | Parameters: </b><dd>
|
---|
1340 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1341 | <tr><td valign=top><em>publicId</em> </td><td>
|
---|
1342 | A const pointer to a Unicode string representing the public id of the entity just parsed. </td></tr>
|
---|
1343 | <tr><td valign=top><em>systemId</em> </td><td>
|
---|
1344 | A const pointer to a Unicode string representing the system id of the entity just parsed. </td></tr>
|
---|
1345 | <tr><td valign=top><em>baseURI</em> </td><td>
|
---|
1346 | 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>
|
---|
1347 | </table>
|
---|
1348 | </dl><dl compact><dt><b>
|
---|
1349 | Returns: </b><dd>
|
---|
1350 | 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>
|
---|
1351 | See also: </b><dd>
|
---|
1352 | <a class="el" href="classDOMEntityResolver.html">DOMEntityResolver</a> , <a class="el" href="classXMLEntityHandler.html">XMLEntityHandler</a> </dl>
|
---|
1353 | <p>
|
---|
1354 | Implements <a class="el" href="classXMLEntityHandler.html#z274_3">XMLEntityHandler</a>. </td>
|
---|
1355 | </tr>
|
---|
1356 | </table>
|
---|
1357 | <a name="z476_1" doxytag="XercesDOMParser::setEntityResolver"></a><p>
|
---|
1358 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1359 | <tr>
|
---|
1360 | <td class="md">
|
---|
1361 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1362 | <tr>
|
---|
1363 | <td class="md" nowrap valign="top"> void XercesDOMParser::setEntityResolver </td>
|
---|
1364 | <td class="md" valign="top">( </td>
|
---|
1365 | <td class="md" nowrap valign="top"><a class="el" href="classEntityResolver.html">EntityResolver</a> *const </td>
|
---|
1366 | <td class="mdname1" valign="top" nowrap> <em>handler</em> </td>
|
---|
1367 | <td class="md" valign="top">) </td>
|
---|
1368 | <td class="md" nowrap></td>
|
---|
1369 | </tr>
|
---|
1370 |
|
---|
1371 | </table>
|
---|
1372 | </td>
|
---|
1373 | </tr>
|
---|
1374 | </table>
|
---|
1375 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1376 | <tr>
|
---|
1377 | <td>
|
---|
1378 |
|
---|
1379 | </td>
|
---|
1380 | <td>
|
---|
1381 |
|
---|
1382 | <p>
|
---|
1383 | Set the entity resolver.
|
---|
1384 | <p>
|
---|
1385 | This method allows applications to install their own entity resolver. By installing an entity resolver, the applications can trap and potentially redirect references to external entities.
|
---|
1386 | <p>
|
---|
1387 | <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>
|
---|
1388 | Parameters: </b><dd>
|
---|
1389 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1390 | <tr><td valign=top><em>handler</em> </td><td>
|
---|
1391 | A const pointer to the user supplied entity resolver.</td></tr>
|
---|
1392 | </table>
|
---|
1393 | </dl><dl compact><dt><b>
|
---|
1394 | See also: </b><dd>
|
---|
1395 | <a class="el" href="classXercesDOMParser.html#z475_2">getEntityResolver</a> </dl> </td>
|
---|
1396 | </tr>
|
---|
1397 | </table>
|
---|
1398 | <a name="z476_0" doxytag="XercesDOMParser::setErrorHandler"></a><p>
|
---|
1399 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1400 | <tr>
|
---|
1401 | <td class="md">
|
---|
1402 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1403 | <tr>
|
---|
1404 | <td class="md" nowrap valign="top"> void XercesDOMParser::setErrorHandler </td>
|
---|
1405 | <td class="md" valign="top">( </td>
|
---|
1406 | <td class="md" nowrap valign="top"><a class="el" href="classErrorHandler.html">ErrorHandler</a> *const </td>
|
---|
1407 | <td class="mdname1" valign="top" nowrap> <em>handler</em> </td>
|
---|
1408 | <td class="md" valign="top">) </td>
|
---|
1409 | <td class="md" nowrap></td>
|
---|
1410 | </tr>
|
---|
1411 |
|
---|
1412 | </table>
|
---|
1413 | </td>
|
---|
1414 | </tr>
|
---|
1415 | </table>
|
---|
1416 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1417 | <tr>
|
---|
1418 | <td>
|
---|
1419 |
|
---|
1420 | </td>
|
---|
1421 | <td>
|
---|
1422 |
|
---|
1423 | <p>
|
---|
1424 | Set the error handler.
|
---|
1425 | <p>
|
---|
1426 | This method allows applications to install their own error handler to trap error and warning messages.
|
---|
1427 | <p>
|
---|
1428 | <em>Any previously set handler is merely dropped, since the parser does not own them.</em><dl compact><dt><b>
|
---|
1429 | Parameters: </b><dd>
|
---|
1430 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1431 | <tr><td valign=top><em>handler</em> </td><td>
|
---|
1432 | A const pointer to the user supplied error handler.</td></tr>
|
---|
1433 | </table>
|
---|
1434 | </dl><dl compact><dt><b>
|
---|
1435 | See also: </b><dd>
|
---|
1436 | <a class="el" href="classXercesDOMParser.html#z475_0">getErrorHandler</a> </dl> </td>
|
---|
1437 | </tr>
|
---|
1438 | </table>
|
---|
1439 | <a name="z476_2" doxytag="XercesDOMParser::setXMLEntityResolver"></a><p>
|
---|
1440 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1441 | <tr>
|
---|
1442 | <td class="md">
|
---|
1443 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1444 | <tr>
|
---|
1445 | <td class="md" nowrap valign="top"> void XercesDOMParser::setXMLEntityResolver </td>
|
---|
1446 | <td class="md" valign="top">( </td>
|
---|
1447 | <td class="md" nowrap valign="top"><a class="el" href="classXMLEntityResolver.html">XMLEntityResolver</a> *const </td>
|
---|
1448 | <td class="mdname1" valign="top" nowrap> <em>handler</em> </td>
|
---|
1449 | <td class="md" valign="top">) </td>
|
---|
1450 | <td class="md" nowrap></td>
|
---|
1451 | </tr>
|
---|
1452 |
|
---|
1453 | </table>
|
---|
1454 | </td>
|
---|
1455 | </tr>
|
---|
1456 | </table>
|
---|
1457 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1458 | <tr>
|
---|
1459 | <td>
|
---|
1460 |
|
---|
1461 | </td>
|
---|
1462 | <td>
|
---|
1463 |
|
---|
1464 | <p>
|
---|
1465 | Set the entity resolver.
|
---|
1466 | <p>
|
---|
1467 | This method allows applications to install their own entity resolver. By installing an entity resolver, the applications can trap and potentially redirect references to external entities.
|
---|
1468 | <p>
|
---|
1469 | <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 set is used.</em><dl compact><dt><b>
|
---|
1470 | Parameters: </b><dd>
|
---|
1471 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1472 | <tr><td valign=top><em>handler</em> </td><td>
|
---|
1473 | A const pointer to the user supplied entity resolver.</td></tr>
|
---|
1474 | </table>
|
---|
1475 | </dl><dl compact><dt><b>
|
---|
1476 | See also: </b><dd>
|
---|
1477 | <a class="el" href="classXercesDOMParser.html#z475_4">getXMLEntityResolver</a> </dl> </td>
|
---|
1478 | </tr>
|
---|
1479 | </table>
|
---|
1480 | <a name="z479_5" doxytag="XercesDOMParser::startInputSource"></a><p>
|
---|
1481 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1482 | <tr>
|
---|
1483 | <td class="md">
|
---|
1484 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1485 | <tr>
|
---|
1486 | <td class="md" nowrap valign="top"> void XercesDOMParser::startInputSource </td>
|
---|
1487 | <td class="md" valign="top">( </td>
|
---|
1488 | <td class="md" nowrap valign="top">const <a class="el" href="classInputSource.html">InputSource</a> & </td>
|
---|
1489 | <td class="mdname1" valign="top" nowrap> <em>inputSource</em> </td>
|
---|
1490 | <td class="md" valign="top">) </td>
|
---|
1491 | <td class="md" nowrap><code> [virtual]</code></td>
|
---|
1492 | </tr>
|
---|
1493 |
|
---|
1494 | </table>
|
---|
1495 | </td>
|
---|
1496 | </tr>
|
---|
1497 | </table>
|
---|
1498 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1499 | <tr>
|
---|
1500 | <td>
|
---|
1501 |
|
---|
1502 | </td>
|
---|
1503 | <td>
|
---|
1504 |
|
---|
1505 | <p>
|
---|
1506 | Handle a 'start input source' event.
|
---|
1507 | <p>
|
---|
1508 | This method is used to indicate the start of parsing an external entity file.
|
---|
1509 | <p>
|
---|
1510 | <b>This method is a no-op for this DOM parse implementation.</b><dl compact><dt><b>
|
---|
1511 | Parameters: </b><dd>
|
---|
1512 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1513 | <tr><td valign=top><em>inputSource</em> </td><td>
|
---|
1514 | A const reference to the <a class="el" href="classInputSource.html">InputSource</a> object which points to the external entity being parsed. </td></tr>
|
---|
1515 | </table>
|
---|
1516 | </dl>
|
---|
1517 | <p>
|
---|
1518 | Implements <a class="el" href="classXMLEntityHandler.html#z274_5">XMLEntityHandler</a>. </td>
|
---|
1519 | </tr>
|
---|
1520 | </table>
|
---|
1521 | <a name="z476_4" doxytag="XercesDOMParser::useCachedGrammarInParse"></a><p>
|
---|
1522 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1523 | <tr>
|
---|
1524 | <td class="md">
|
---|
1525 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1526 | <tr>
|
---|
1527 | <td class="md" nowrap valign="top"> void XercesDOMParser::useCachedGrammarInParse </td>
|
---|
1528 | <td class="md" valign="top">( </td>
|
---|
1529 | <td class="md" nowrap valign="top">const bool </td>
|
---|
1530 | <td class="mdname1" valign="top" nowrap> <em>newState</em> </td>
|
---|
1531 | <td class="md" valign="top">) </td>
|
---|
1532 | <td class="md" nowrap></td>
|
---|
1533 | </tr>
|
---|
1534 |
|
---|
1535 | </table>
|
---|
1536 | </td>
|
---|
1537 | </tr>
|
---|
1538 | </table>
|
---|
1539 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1540 | <tr>
|
---|
1541 | <td>
|
---|
1542 |
|
---|
1543 | </td>
|
---|
1544 | <td>
|
---|
1545 |
|
---|
1546 | <p>
|
---|
1547 | Set the 'Use cached grammar' flag.
|
---|
1548 | <p>
|
---|
1549 | 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.
|
---|
1550 | <p>
|
---|
1551 | If the 'Grammar caching' flag is set to true, this mehod ignore the value passed in.
|
---|
1552 | <p>
|
---|
1553 | The parser's default state is: false.<dl compact><dt><b>
|
---|
1554 | Parameters: </b><dd>
|
---|
1555 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1556 | <tr><td valign=top><em>newState</em> </td><td>
|
---|
1557 | The value specifying whether we should use the cached grammar or not.</td></tr>
|
---|
1558 | </table>
|
---|
1559 | </dl><dl compact><dt><b>
|
---|
1560 | See also: </b><dd>
|
---|
1561 | <a class="el" href="classXercesDOMParser.html#z475_7">isUsingCachedGrammarInParse</a> , <a class="el" href="classXercesDOMParser.html#z476_3">cacheGrammarFromParse</a> </dl> </td>
|
---|
1562 | </tr>
|
---|
1563 | </table>
|
---|
1564 | <hr>The documentation for this class was generated from the following file:<ul>
|
---|
1565 | <li><a class="el" href="XercesDOMParser_8hpp-source.html">XercesDOMParser.hpp</a></ul>
|
---|
1566 | </FONT></TD></TR></TABLE><BR>
|
---|
1567 | </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>
|
---|
1568 | Copyright © 1994-2004 The Apache Software Foundation.
|
---|
1569 | All Rights Reserved.
|
---|
1570 | </I></FONT></TD></TR></TABLE></BODY></HTML>
|
---|