source: NonGTP/Xerces/xerces/doc/html/apiDocs/classWrapper4DOMInputSource.html @ 358

Revision 358, 33.4 KB checked in by bittner, 19 years ago (diff)

xerces added

Line 
1<HTML><HEAD><SCRIPT language="JavaScript" src="../resources/script.js" type="text/javascript"></SCRIPT><TITLE>Wrapper4DOMInputSource 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">&nbsp;</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> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
44<hr><h1>Wrapper4DOMInputSource Class Reference</h1>Wrap a <a class="el" href="classDOMInputSource.html">DOMInputSource</a> object to a SAX <a class="el" href="classInputSource.html">InputSource</a>.
45<a href="#_details">More...</a>
46<p>
47Inheritance diagram for Wrapper4DOMInputSource:<p><center><img src="classWrapper4DOMInputSource__inherit__graph.gif" border="0" usemap="#Wrapper4DOMInputSource__inherit__map" alt="Inheritance graph"></center>
48<map name="Wrapper4DOMInputSource__inherit__map">
49<area href="classInputSource.html" shape="rect" coords="53,105,136,86" alt="">
50<area href="classXMemory.html" shape="rect" coords="60,36,129,17" alt="">
51</map>
52<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for Wrapper4DOMInputSource:<p><center><img src="classWrapper4DOMInputSource__coll__graph.gif" border="0" usemap="#Wrapper4DOMInputSource__coll__map" alt="Collaboration graph"></center>
53<map name="Wrapper4DOMInputSource__coll__map">
54<area href="classInputSource.html" shape="rect" coords="56,127,139,108" alt="">
55<area href="classXMemory.html" shape="rect" coords="7,36,76,17" alt="">
56<area href="classMemoryManager.html" shape="rect" coords="100,36,209,17" alt="">
57<area href="classDOMInputSource.html" shape="rect" coords="163,127,277,108" alt="">
58</map>
59<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classWrapper4DOMInputSource-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
60<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
61<tr><td colspan="2"><div class="groupHeader">Constructors and Destructor</div></td></tr>
62<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classWrapper4DOMInputSource.html#z235_0">Wrapper4DOMInputSource</a> (<a class="el" href="classDOMInputSource.html">DOMInputSource</a> *const inputSource, const bool adoptFlag=true, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
63<tr><td>&nbsp;</td><td><font size=-1><em>Constructor.</em> <a href="#z235_0">More...</a><em></em></font><br><br></td></tr>
64<tr><td nowrap align=right valign=top>virtual&nbsp;</td><td valign=bottom><a class="el" href="classWrapper4DOMInputSource.html#z235_1">~Wrapper4DOMInputSource</a> ()</td></tr>
65<tr><td>&nbsp;</td><td><font size=-1><em>Destructor.</em> <a href="#z235_1">More...</a><em></em></font><br><br></td></tr>
66<tr><td colspan="2"><div class="groupHeader">Virtual input source interface</div></td></tr>
67<tr><td nowrap align=right valign=top><a class="el" href="classBinInputStream.html">BinInputStream</a> *&nbsp;</td><td valign=bottom><a class="el" href="classWrapper4DOMInputSource.html#z236_0">makeStream</a> () const</td></tr>
68<tr><td colspan="2"><div class="groupHeader">Getter methods</div></td></tr>
69<tr><td nowrap align=right valign=top>const XMLCh *&nbsp;</td><td valign=bottom><a class="el" href="classWrapper4DOMInputSource.html#z237_0">getEncoding</a> () const</td></tr>
70<tr><td nowrap align=right valign=top>const XMLCh *&nbsp;</td><td valign=bottom><a class="el" href="classWrapper4DOMInputSource.html#z237_1">getPublicId</a> () const</td></tr>
71<tr><td nowrap align=right valign=top>const XMLCh *&nbsp;</td><td valign=bottom><a class="el" href="classWrapper4DOMInputSource.html#z237_2">getSystemId</a> () const</td></tr>
72<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classWrapper4DOMInputSource.html#z237_3">getIssueFatalErrorIfNotFound</a> () const</td></tr>
73<tr><td colspan="2"><div class="groupHeader">Setter methods</div></td></tr>
74<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classWrapper4DOMInputSource.html#z238_0">setEncoding</a> (const XMLCh *const encodingStr)</td></tr>
75<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classWrapper4DOMInputSource.html#z238_1">setPublicId</a> (const XMLCh *const publicId)</td></tr>
76<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classWrapper4DOMInputSource.html#z238_2">setSystemId</a> (const XMLCh *const systemId)</td></tr>
77<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classWrapper4DOMInputSource.html#z238_3">setIssueFatalErrorIfNotFound</a> (const bool flag)</td></tr>
78</table>
79<hr><a name="_details"></a><h2>Detailed Description</h2>
80Wrap a <a class="el" href="classDOMInputSource.html">DOMInputSource</a> object to a SAX <a class="el" href="classInputSource.html">InputSource</a>.
81<p>
82<hr><h2>Constructor &amp; Destructor Documentation</h2>
83<a name="z235_0" doxytag="Wrapper4DOMInputSource::Wrapper4DOMInputSource"></a><p>
84<table width="100%" cellpadding="2" cellspacing="0" border="0">
85  <tr>
86    <td class="md">
87      <table cellpadding="0" cellspacing="0" border="0">
88        <tr>
89          <td class="md" nowrap valign="top"> Wrapper4DOMInputSource::Wrapper4DOMInputSource </td>
90          <td class="md" valign="top">(&nbsp;</td>
91          <td class="md" nowrap valign="top"><a class="el" href="classDOMInputSource.html">DOMInputSource</a> *const&nbsp;</td>
92          <td class="mdname" nowrap>&nbsp; <em>inputSource</em>, </td>
93        </tr>
94        <tr>
95          <td></td>
96          <td></td>
97          <td class="md" nowrap>const bool&nbsp;</td>
98          <td class="mdname" nowrap>&nbsp; <em>adoptFlag</em> = true, </td>
99        </tr>
100        <tr>
101          <td></td>
102          <td></td>
103          <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&nbsp;</td>
104          <td class="mdname" nowrap>&nbsp; <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
105        </tr>
106        <tr>
107          <td></td>
108          <td class="md">)&nbsp;</td>
109          <td class="md" colspan="2"></td>
110        </tr>
111
112      </table>
113    </td>
114  </tr>
115</table>
116<table cellspacing=5 cellpadding=0 border=0>
117  <tr>
118    <td>
119      &nbsp;
120    </td>
121    <td>
122
123<p>
124Constructor.
125<p>
126Wrap a <a class="el" href="classDOMInputSource.html">DOMInputSource</a> and pretend it to be a SAX <a class="el" href="classInputSource.html">InputSource</a>. By default, the wrapper will adopt the <a class="el" href="classDOMInputSource.html">DOMInputSource</a> that is wrapped.<dl compact><dt><b>
127Parameters: </b><dd>
128<table border=0 cellspacing=2 cellpadding=0>
129<tr><td valign=top><em>inputSource</em>&nbsp;</td><td>
130The <a class="el" href="classDOMInputSource.html">DOMInputSource</a> to be wrapped </td></tr>
131<tr><td valign=top><em>adoptFlag</em>&nbsp;</td><td>
132Indicates if the wrapper should adopt the wrapped <a class="el" href="classDOMInputSource.html">DOMInputSource</a>. Default is true. </td></tr>
133<tr><td valign=top><em>manager</em>&nbsp;</td><td>
134Pointer to the memory manager to be used to allocate objects. </td></tr>
135</table>
136</dl>    </td>
137  </tr>
138</table>
139<a name="z235_1" doxytag="Wrapper4DOMInputSource::~Wrapper4DOMInputSource"></a><p>
140<table width="100%" cellpadding="2" cellspacing="0" border="0">
141  <tr>
142    <td class="md">
143      <table cellpadding="0" cellspacing="0" border="0">
144        <tr>
145          <td class="md" nowrap valign="top"> virtual Wrapper4DOMInputSource::~Wrapper4DOMInputSource </td>
146          <td class="md" valign="top">(&nbsp;</td>
147          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
148          <td class="md" valign="top">)&nbsp;</td>
149          <td class="md" nowrap><code> [virtual]</code></td>
150        </tr>
151
152      </table>
153    </td>
154  </tr>
155</table>
156<table cellspacing=5 cellpadding=0 border=0>
157  <tr>
158    <td>
159      &nbsp;
160    </td>
161    <td>
162
163<p>
164Destructor.
165<p>
166    </td>
167  </tr>
168</table>
169<hr><h2>Member Function Documentation</h2>
170<a name="z237_0" doxytag="Wrapper4DOMInputSource::getEncoding"></a><p>
171<table width="100%" cellpadding="2" cellspacing="0" border="0">
172  <tr>
173    <td class="md">
174      <table cellpadding="0" cellspacing="0" border="0">
175        <tr>
176          <td class="md" nowrap valign="top"> const XMLCh* Wrapper4DOMInputSource::getEncoding </td>
177          <td class="md" valign="top">(&nbsp;</td>
178          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
179          <td class="md" valign="top">)&nbsp;</td>
180          <td class="md" nowrap> const<code> [virtual]</code></td>
181        </tr>
182
183      </table>
184    </td>
185  </tr>
186</table>
187<table cellspacing=5 cellpadding=0 border=0>
188  <tr>
189    <td>
190      &nbsp;
191    </td>
192    <td>
193
194<p>
195
196<p>
197<b>"Experimental - subject to change"</b>
198<p>
199An input source can be set to force the parser to assume a particular encoding for the data that input source reprsents, via the <a class="el" href="classWrapper4DOMInputSource.html#z238_0">setEncoding</a>() method. This method will delegate to the wrapped input source to return name of the encoding that is to be forced. If the encoding has never been forced, it returns a null pointer.
200<p>
201<dl compact><dt><b>
202Returns: </b><dd>
203The forced encoding, or null if none was supplied. </dl><dl compact><dt><b>
204See also: </b><dd>
205<a class="el" href="classWrapper4DOMInputSource.html#z238_0">setEncoding</a> </dl>
206<p>
207Reimplemented from <a class="el" href="classInputSource.html#z435_0">InputSource</a>.    </td>
208  </tr>
209</table>
210<a name="z237_3" doxytag="Wrapper4DOMInputSource::getIssueFatalErrorIfNotFound"></a><p>
211<table width="100%" cellpadding="2" cellspacing="0" border="0">
212  <tr>
213    <td class="md">
214      <table cellpadding="0" cellspacing="0" border="0">
215        <tr>
216          <td class="md" nowrap valign="top"> bool Wrapper4DOMInputSource::getIssueFatalErrorIfNotFound </td>
217          <td class="md" valign="top">(&nbsp;</td>
218          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
219          <td class="md" valign="top">)&nbsp;</td>
220          <td class="md" nowrap> const<code> [virtual]</code></td>
221        </tr>
222
223      </table>
224    </td>
225  </tr>
226</table>
227<table cellspacing=5 cellpadding=0 border=0>
228  <tr>
229    <td>
230      &nbsp;
231    </td>
232    <td>
233
234<p>
235
236<p>
237<b>"Experimental - subject to change"</b>
238<p>
239Get the flag that indicates if the parser should issue fatal error if this input source is not found. Delegated to the wrapped input source object.
240<p>
241<dl compact><dt><b>
242Returns: </b><dd>
243True if the parser should issue fatal error if this input source is not found. False if the parser issue warning message instead. </dl><dl compact><dt><b>
244See also: </b><dd>
245<a class="el" href="classWrapper4DOMInputSource.html#z238_3">setIssueFatalErrorIfNotFound</a> </dl>
246<p>
247Reimplemented from <a class="el" href="classInputSource.html#z435_3">InputSource</a>.    </td>
248  </tr>
249</table>
250<a name="z237_1" doxytag="Wrapper4DOMInputSource::getPublicId"></a><p>
251<table width="100%" cellpadding="2" cellspacing="0" border="0">
252  <tr>
253    <td class="md">
254      <table cellpadding="0" cellspacing="0" border="0">
255        <tr>
256          <td class="md" nowrap valign="top"> const XMLCh* Wrapper4DOMInputSource::getPublicId </td>
257          <td class="md" valign="top">(&nbsp;</td>
258          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
259          <td class="md" valign="top">)&nbsp;</td>
260          <td class="md" nowrap> const<code> [virtual]</code></td>
261        </tr>
262
263      </table>
264    </td>
265  </tr>
266</table>
267<table cellspacing=5 cellpadding=0 border=0>
268  <tr>
269    <td>
270      &nbsp;
271    </td>
272    <td>
273
274<p>
275
276<p>
277<b>"Experimental - subject to change"</b>
278<p>
279Get the public identifier for this input source. Delegated to the wrapped input source object.
280<p>
281<dl compact><dt><b>
282Returns: </b><dd>
283The public identifier, or null if none was supplied. </dl><dl compact><dt><b>
284See also: </b><dd>
285<a class="el" href="classWrapper4DOMInputSource.html#z238_1">setPublicId</a> </dl>
286<p>
287Reimplemented from <a class="el" href="classInputSource.html#z435_1">InputSource</a>.    </td>
288  </tr>
289</table>
290<a name="z237_2" doxytag="Wrapper4DOMInputSource::getSystemId"></a><p>
291<table width="100%" cellpadding="2" cellspacing="0" border="0">
292  <tr>
293    <td class="md">
294      <table cellpadding="0" cellspacing="0" border="0">
295        <tr>
296          <td class="md" nowrap valign="top"> const XMLCh* Wrapper4DOMInputSource::getSystemId </td>
297          <td class="md" valign="top">(&nbsp;</td>
298          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
299          <td class="md" valign="top">)&nbsp;</td>
300          <td class="md" nowrap> const<code> [virtual]</code></td>
301        </tr>
302
303      </table>
304    </td>
305  </tr>
306</table>
307<table cellspacing=5 cellpadding=0 border=0>
308  <tr>
309    <td>
310      &nbsp;
311    </td>
312    <td>
313
314<p>
315
316<p>
317<b>"Experimental - subject to change"</b>
318<p>
319Get the system identifier for this input source. Delegated to the wrapped input source object.
320<p>
321
322<p>
323If the system ID is a URL, it will be fully resolved.
324<p>
325<dl compact><dt><b>
326Returns: </b><dd>
327The system identifier. </dl><dl compact><dt><b>
328See also: </b><dd>
329<a class="el" href="classWrapper4DOMInputSource.html#z238_2">setSystemId</a> </dl>
330<p>
331Reimplemented from <a class="el" href="classInputSource.html#z435_2">InputSource</a>.    </td>
332  </tr>
333</table>
334<a name="z236_0" doxytag="Wrapper4DOMInputSource::makeStream"></a><p>
335<table width="100%" cellpadding="2" cellspacing="0" border="0">
336  <tr>
337    <td class="md">
338      <table cellpadding="0" cellspacing="0" border="0">
339        <tr>
340          <td class="md" nowrap valign="top"> <a class="el" href="classBinInputStream.html">BinInputStream</a>* Wrapper4DOMInputSource::makeStream </td>
341          <td class="md" valign="top">(&nbsp;</td>
342          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
343          <td class="md" valign="top">)&nbsp;</td>
344          <td class="md" nowrap> const<code> [virtual]</code></td>
345        </tr>
346
347      </table>
348    </td>
349  </tr>
350</table>
351<table cellspacing=5 cellpadding=0 border=0>
352  <tr>
353    <td>
354      &nbsp;
355    </td>
356    <td>
357
358<p>
359
360<p>
361<b>"Experimental - subject to change"</b>
362<p>
363Makes the byte stream for this input source.
364<p>
365
366<p>
367The function will call the makeStream of the wrapped input source. The returned stream becomes the parser's property.
368<p>
369<dl compact><dt><b>
370See also: </b><dd>
371<a class="el" href="classBinInputStream.html">BinInputStream</a> </dl>
372<p>
373Implements <a class="el" href="classInputSource.html#z434_0">InputSource</a>.    </td>
374  </tr>
375</table>
376<a name="z238_0" doxytag="Wrapper4DOMInputSource::setEncoding"></a><p>
377<table width="100%" cellpadding="2" cellspacing="0" border="0">
378  <tr>
379    <td class="md">
380      <table cellpadding="0" cellspacing="0" border="0">
381        <tr>
382          <td class="md" nowrap valign="top"> void Wrapper4DOMInputSource::setEncoding </td>
383          <td class="md" valign="top">(&nbsp;</td>
384          <td class="md" nowrap valign="top">const XMLCh *const&nbsp;</td>
385          <td class="mdname1" valign="top" nowrap>&nbsp; <em>encodingStr</em>          </td>
386          <td class="md" valign="top">)&nbsp;</td>
387          <td class="md" nowrap><code> [virtual]</code></td>
388        </tr>
389
390      </table>
391    </td>
392  </tr>
393</table>
394<table cellspacing=5 cellpadding=0 border=0>
395  <tr>
396    <td>
397      &nbsp;
398    </td>
399    <td>
400
401<p>
402
403<p>
404<b>"Experimental - subject to change"</b>
405<p>
406Set the encoding which will be required for use with the XML text read via a stream opened by this input source. This will update the wrapped input source object.
407<p>
408
409<p>
410This is usually not set, allowing the encoding to be sensed in the usual XML way. However, in some cases, the encoding in the file is known to be incorrect because of intermediate transcoding, for instance encapsulation within a MIME document.<dl compact><dt><b>
411Parameters: </b><dd>
412<table border=0 cellspacing=2 cellpadding=0>
413<tr><td valign=top><em>encodingStr</em>&nbsp;</td><td>
414The name of the encoding to force. </td></tr>
415</table>
416</dl>
417<p>
418Reimplemented from <a class="el" href="classInputSource.html#z436_0">InputSource</a>.    </td>
419  </tr>
420</table>
421<a name="z238_3" doxytag="Wrapper4DOMInputSource::setIssueFatalErrorIfNotFound"></a><p>
422<table width="100%" cellpadding="2" cellspacing="0" border="0">
423  <tr>
424    <td class="md">
425      <table cellpadding="0" cellspacing="0" border="0">
426        <tr>
427          <td class="md" nowrap valign="top"> void Wrapper4DOMInputSource::setIssueFatalErrorIfNotFound </td>
428          <td class="md" valign="top">(&nbsp;</td>
429          <td class="md" nowrap valign="top">const bool&nbsp;</td>
430          <td class="mdname1" valign="top" nowrap>&nbsp; <em>flag</em>          </td>
431          <td class="md" valign="top">)&nbsp;</td>
432          <td class="md" nowrap><code> [virtual]</code></td>
433        </tr>
434
435      </table>
436    </td>
437  </tr>
438</table>
439<table cellspacing=5 cellpadding=0 border=0>
440  <tr>
441    <td>
442      &nbsp;
443    </td>
444    <td>
445
446<p>
447
448<p>
449<b>"Experimental - subject to change"</b>
450<p>
451Indicates if the parser should issue fatal error if this input source is not found. If set to false, the parser issue warning message instead. This will update the wrapped input source object.<dl compact><dt><b>
452Parameters: </b><dd>
453<table border=0 cellspacing=2 cellpadding=0>
454<tr><td valign=top><em>flag</em>&nbsp;</td><td>
455True if the parser should issue fatal error if this input source is not found. If set to false, the parser issue warning message instead. (Default: true)</td></tr>
456</table>
457</dl><dl compact><dt><b>
458See also: </b><dd>
459<a class="el" href="classWrapper4DOMInputSource.html#z237_3">getIssueFatalErrorIfNotFound</a> </dl>
460<p>
461Reimplemented from <a class="el" href="classInputSource.html#z436_3">InputSource</a>.    </td>
462  </tr>
463</table>
464<a name="z238_1" doxytag="Wrapper4DOMInputSource::setPublicId"></a><p>
465<table width="100%" cellpadding="2" cellspacing="0" border="0">
466  <tr>
467    <td class="md">
468      <table cellpadding="0" cellspacing="0" border="0">
469        <tr>
470          <td class="md" nowrap valign="top"> void Wrapper4DOMInputSource::setPublicId </td>
471          <td class="md" valign="top">(&nbsp;</td>
472          <td class="md" nowrap valign="top">const XMLCh *const&nbsp;</td>
473          <td class="mdname1" valign="top" nowrap>&nbsp; <em>publicId</em>          </td>
474          <td class="md" valign="top">)&nbsp;</td>
475          <td class="md" nowrap><code> [virtual]</code></td>
476        </tr>
477
478      </table>
479    </td>
480  </tr>
481</table>
482<table cellspacing=5 cellpadding=0 border=0>
483  <tr>
484    <td>
485      &nbsp;
486    </td>
487    <td>
488
489<p>
490
491<p>
492<b>"Experimental - subject to change"</b>
493<p>
494Set the public identifier for this input source. This will update the wrapped input source object.
495<p>
496
497<p>
498The public identifier is always optional: if the application writer includes one, it will be provided as part of the location information.<dl compact><dt><b>
499Parameters: </b><dd>
500<table border=0 cellspacing=2 cellpadding=0>
501<tr><td valign=top><em>publicId</em>&nbsp;</td><td>
502The public identifier as a string. </td></tr>
503</table>
504</dl><dl compact><dt><b>
505See also: </b><dd>
506<a class="el" href="classLocator.html#z439_0">Locator::getPublicId</a> , <a class="el" href="classSAXParseException.html#z447_2">SAXParseException::getPublicId</a> , <a class="el" href="classWrapper4DOMInputSource.html#z237_1">getPublicId</a> </dl>
507<p>
508Reimplemented from <a class="el" href="classInputSource.html#z436_1">InputSource</a>.    </td>
509  </tr>
510</table>
511<a name="z238_2" doxytag="Wrapper4DOMInputSource::setSystemId"></a><p>
512<table width="100%" cellpadding="2" cellspacing="0" border="0">
513  <tr>
514    <td class="md">
515      <table cellpadding="0" cellspacing="0" border="0">
516        <tr>
517          <td class="md" nowrap valign="top"> void Wrapper4DOMInputSource::setSystemId </td>
518          <td class="md" valign="top">(&nbsp;</td>
519          <td class="md" nowrap valign="top">const XMLCh *const&nbsp;</td>
520          <td class="mdname1" valign="top" nowrap>&nbsp; <em>systemId</em>          </td>
521          <td class="md" valign="top">)&nbsp;</td>
522          <td class="md" nowrap><code> [virtual]</code></td>
523        </tr>
524
525      </table>
526    </td>
527  </tr>
528</table>
529<table cellspacing=5 cellpadding=0 border=0>
530  <tr>
531    <td>
532      &nbsp;
533    </td>
534    <td>
535
536<p>
537
538<p>
539<b>"Experimental - subject to change"</b>
540<p>
541Set the system identifier for this input source. This will update the wrapped input source object.
542<p>
543
544<p>
545The system id is always required. The public id may be used to map to another system id, but the system id must always be present as a fall back.
546<p>
547
548<p>
549If the system ID is a URL, it must be fully resolved.<dl compact><dt><b>
550Parameters: </b><dd>
551<table border=0 cellspacing=2 cellpadding=0>
552<tr><td valign=top><em>systemId</em>&nbsp;</td><td>
553The system identifier as a string. </td></tr>
554</table>
555</dl><dl compact><dt><b>
556See also: </b><dd>
557<a class="el" href="classWrapper4DOMInputSource.html#z237_2">getSystemId</a> , <a class="el" href="classLocator.html#z439_1">Locator::getSystemId</a> , <a class="el" href="classSAXParseException.html#z447_3">SAXParseException::getSystemId</a> </dl>
558<p>
559Reimplemented from <a class="el" href="classInputSource.html#z436_2">InputSource</a>.    </td>
560  </tr>
561</table>
562<hr>The documentation for this class was generated from the following file:<ul>
563<li><a class="el" href="Wrapper4DOMInputSource_8hpp-source.html">Wrapper4DOMInputSource.hpp</a></ul>
564    </FONT></TD></TR></TABLE><BR>
565</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>
566              Copyright &copy; 1994-2004 The Apache Software Foundation.
567              All Rights Reserved.
568            </I></FONT></TD></TR></TABLE></BODY></HTML>
Note: See TracBrowser for help on using the repository browser.