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

Revision 358, 38.3 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>Wrapper4InputSource 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>Wrapper4InputSource Class Reference</h1>Wrap a SAX <a class="el" href="classInputSource.html">InputSource</a> object to a DOM <a class="el" href="classInputSource.html">InputSource</a>.
45<a href="#_details">More...</a>
46<p>
47Inheritance diagram for Wrapper4InputSource:<p><center><img src="classWrapper4InputSource__inherit__graph.gif" border="0" usemap="#Wrapper4InputSource__inherit__map" alt="Inheritance graph"></center>
48<map name="Wrapper4InputSource__inherit__map">
49<area href="classDOMInputSource.html" shape="rect" coords="21,36,136,17" alt="">
50</map>
51<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for Wrapper4InputSource:<p><center><img src="classWrapper4InputSource__coll__graph.gif" border="0" usemap="#Wrapper4InputSource__coll__map" alt="Collaboration graph"></center>
52<map name="Wrapper4InputSource__coll__map">
53<area href="classDOMInputSource.html" shape="rect" coords="7,127,121,108" alt="">
54<area href="classInputSource.html" shape="rect" coords="145,127,228,108" alt="">
55<area href="classXMemory.html" shape="rect" coords="95,36,164,17" alt="">
56<area href="classMemoryManager.html" shape="rect" coords="188,36,297,17" alt="">
57</map>
58<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classWrapper4InputSource-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
59<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
60<tr><td colspan="2"><div class="groupHeader">Constructors and Destructor</div></td></tr>
61<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classWrapper4InputSource.html#z239_0">Wrapper4InputSource</a> (<a class="el" href="classInputSource.html">InputSource</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>
62<tr><td>&nbsp;</td><td><font size=-1><em>Constructor.</em> <a href="#z239_0">More...</a><em></em></font><br><br></td></tr>
63<tr><td nowrap align=right valign=top>virtual&nbsp;</td><td valign=bottom><a class="el" href="classWrapper4InputSource.html#z239_1">~Wrapper4InputSource</a> ()</td></tr>
64<tr><td>&nbsp;</td><td><font size=-1><em>Destructor.</em> <a href="#z239_1">More...</a><em></em></font><br><br></td></tr>
65<tr><td colspan="2"><div class="groupHeader">Virtual input source interface</div></td></tr>
66<tr><td nowrap align=right valign=top><a class="el" href="classBinInputStream.html">BinInputStream</a> *&nbsp;</td><td valign=bottom><a class="el" href="classWrapper4InputSource.html#z240_0">makeStream</a> () const</td></tr>
67<tr><td colspan="2"><div class="groupHeader">Getter methods</div></td></tr>
68<tr><td nowrap align=right valign=top>const XMLCh *&nbsp;</td><td valign=bottom><a class="el" href="classWrapper4InputSource.html#z241_0">getEncoding</a> () const</td></tr>
69<tr><td nowrap align=right valign=top>const XMLCh *&nbsp;</td><td valign=bottom><a class="el" href="classWrapper4InputSource.html#z241_1">getPublicId</a> () const</td></tr>
70<tr><td nowrap align=right valign=top>const XMLCh *&nbsp;</td><td valign=bottom><a class="el" href="classWrapper4InputSource.html#z241_2">getSystemId</a> () const</td></tr>
71<tr><td nowrap align=right valign=top>const XMLCh *&nbsp;</td><td valign=bottom><a class="el" href="classWrapper4InputSource.html#z241_3">getBaseURI</a> () const</td></tr>
72<tr><td>&nbsp;</td><td><font size=-1><em>Get the base URI to be used for resolving relative URIs to absolute URIs.</em> <a href="#z241_3">More...</a><em></em></font><br><br></td></tr>
73<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classWrapper4InputSource.html#z241_4">getIssueFatalErrorIfNotFound</a> () const</td></tr>
74<tr><td colspan="2"><div class="groupHeader">Setter methods</div></td></tr>
75<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classWrapper4InputSource.html#z242_0">setEncoding</a> (const XMLCh *const encodingStr)</td></tr>
76<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classWrapper4InputSource.html#z242_1">setPublicId</a> (const XMLCh *const publicId)</td></tr>
77<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classWrapper4InputSource.html#z242_2">setSystemId</a> (const XMLCh *const systemId)</td></tr>
78<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classWrapper4InputSource.html#z242_3">setBaseURI</a> (const XMLCh *const baseURI)</td></tr>
79<tr><td>&nbsp;</td><td><font size=-1><em>Set the base URI to be used for resolving relative URIs to absolute URIs.</em> <a href="#z242_3">More...</a><em></em></font><br><br></td></tr>
80<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classWrapper4InputSource.html#z242_4">setIssueFatalErrorIfNotFound</a> (const bool flag)</td></tr>
81<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classWrapper4InputSource.html#z242_5">release</a> ()</td></tr>
82<tr><td>&nbsp;</td><td><font size=-1><em>Called to indicate that this <a class="el" href="classDOMInputSource.html">DOMInputSource</a> is no longer in use and that the implementation may relinquish any resources associated with it.</em> <a href="#z242_5">More...</a><em></em></font><br><br></td></tr>
83</table>
84<hr><a name="_details"></a><h2>Detailed Description</h2>
85Wrap a SAX <a class="el" href="classInputSource.html">InputSource</a> object to a DOM <a class="el" href="classInputSource.html">InputSource</a>.
86<p>
87<hr><h2>Constructor &amp; Destructor Documentation</h2>
88<a name="z239_0" doxytag="Wrapper4InputSource::Wrapper4InputSource"></a><p>
89<table width="100%" cellpadding="2" cellspacing="0" border="0">
90  <tr>
91    <td class="md">
92      <table cellpadding="0" cellspacing="0" border="0">
93        <tr>
94          <td class="md" nowrap valign="top"> Wrapper4InputSource::Wrapper4InputSource </td>
95          <td class="md" valign="top">(&nbsp;</td>
96          <td class="md" nowrap valign="top"><a class="el" href="classInputSource.html">InputSource</a> *const&nbsp;</td>
97          <td class="mdname" nowrap>&nbsp; <em>inputSource</em>, </td>
98        </tr>
99        <tr>
100          <td></td>
101          <td></td>
102          <td class="md" nowrap>const bool&nbsp;</td>
103          <td class="mdname" nowrap>&nbsp; <em>adoptFlag</em> = true, </td>
104        </tr>
105        <tr>
106          <td></td>
107          <td></td>
108          <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&nbsp;</td>
109          <td class="mdname" nowrap>&nbsp; <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
110        </tr>
111        <tr>
112          <td></td>
113          <td class="md">)&nbsp;</td>
114          <td class="md" colspan="2"></td>
115        </tr>
116
117      </table>
118    </td>
119  </tr>
120</table>
121<table cellspacing=5 cellpadding=0 border=0>
122  <tr>
123    <td>
124      &nbsp;
125    </td>
126    <td>
127
128<p>
129Constructor.
130<p>
131Wrap a SAX <a class="el" href="classInputSource.html">InputSource</a> and pretend it to be a <a class="el" href="classDOMInputSource.html">DOMInputSource</a>. By default, the wrapper will adopt the SAX <a class="el" href="classInputSource.html">InputSource</a> that is wrapped.<dl compact><dt><b>
132Parameters: </b><dd>
133<table border=0 cellspacing=2 cellpadding=0>
134<tr><td valign=top><em>inputSource</em>&nbsp;</td><td>
135The SAX <a class="el" href="classInputSource.html">InputSource</a> to be wrapped </td></tr>
136<tr><td valign=top><em>adoptFlag</em>&nbsp;</td><td>
137Indicates if the wrapper should adopt the wrapped SAX <a class="el" href="classInputSource.html">InputSource</a>. Default is true. </td></tr>
138<tr><td valign=top><em>manager</em>&nbsp;</td><td>
139The <a class="el" href="classMemoryManager.html">MemoryManager</a> to use to allocate objects </td></tr>
140</table>
141</dl>    </td>
142  </tr>
143</table>
144<a name="z239_1" doxytag="Wrapper4InputSource::~Wrapper4InputSource"></a><p>
145<table width="100%" cellpadding="2" cellspacing="0" border="0">
146  <tr>
147    <td class="md">
148      <table cellpadding="0" cellspacing="0" border="0">
149        <tr>
150          <td class="md" nowrap valign="top"> virtual Wrapper4InputSource::~Wrapper4InputSource </td>
151          <td class="md" valign="top">(&nbsp;</td>
152          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
153          <td class="md" valign="top">)&nbsp;</td>
154          <td class="md" nowrap><code> [virtual]</code></td>
155        </tr>
156
157      </table>
158    </td>
159  </tr>
160</table>
161<table cellspacing=5 cellpadding=0 border=0>
162  <tr>
163    <td>
164      &nbsp;
165    </td>
166    <td>
167
168<p>
169Destructor.
170<p>
171    </td>
172  </tr>
173</table>
174<hr><h2>Member Function Documentation</h2>
175<a name="z241_3" doxytag="Wrapper4InputSource::getBaseURI"></a><p>
176<table width="100%" cellpadding="2" cellspacing="0" border="0">
177  <tr>
178    <td class="md">
179      <table cellpadding="0" cellspacing="0" border="0">
180        <tr>
181          <td class="md" nowrap valign="top"> const XMLCh * Wrapper4InputSource::getBaseURI </td>
182          <td class="md" valign="top">(&nbsp;</td>
183          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
184          <td class="md" valign="top">)&nbsp;</td>
185          <td class="md" nowrap> const<code> [virtual]</code></td>
186        </tr>
187
188      </table>
189    </td>
190  </tr>
191</table>
192<table cellspacing=5 cellpadding=0 border=0>
193  <tr>
194    <td>
195      &nbsp;
196    </td>
197    <td>
198
199<p>
200Get the base URI to be used for resolving relative URIs to absolute URIs.
201<p>
202If the baseURI is itself a relative URI, the behavior is implementation dependent. Delegated to the wrapped intput source object.
203<p>
204
205<p>
206<b>"Experimental - subject to change"</b>
207<p>
208<dl compact><dt><b>
209Returns: </b><dd>
210The base URI. </dl><dl compact><dt><b>
211See also: </b><dd>
212<a class="el" href="classWrapper4InputSource.html#z242_3">setBaseURI</a> </dl><dl compact><dt><b>
213Since: </b><dd>
214DOM Level 3 </dl>
215<p>
216Implements <a class="el" href="classDOMInputSource.html#z98_3">DOMInputSource</a>.    </td>
217  </tr>
218</table>
219<a name="z241_0" doxytag="Wrapper4InputSource::getEncoding"></a><p>
220<table width="100%" cellpadding="2" cellspacing="0" border="0">
221  <tr>
222    <td class="md">
223      <table cellpadding="0" cellspacing="0" border="0">
224        <tr>
225          <td class="md" nowrap valign="top"> const XMLCh* Wrapper4InputSource::getEncoding </td>
226          <td class="md" valign="top">(&nbsp;</td>
227          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
228          <td class="md" valign="top">)&nbsp;</td>
229          <td class="md" nowrap> const<code> [virtual]</code></td>
230        </tr>
231
232      </table>
233    </td>
234  </tr>
235</table>
236<table cellspacing=5 cellpadding=0 border=0>
237  <tr>
238    <td>
239      &nbsp;
240    </td>
241    <td>
242
243<p>
244
245<p>
246<b>"Experimental - subject to change"</b>
247<p>
248An 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="classWrapper4InputSource.html#z242_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.
249<p>
250<dl compact><dt><b>
251Returns: </b><dd>
252The forced encoding, or null if none was supplied. </dl><dl compact><dt><b>
253See also: </b><dd>
254<a class="el" href="classWrapper4InputSource.html#z242_0">setEncoding</a> </dl>
255<p>
256Implements <a class="el" href="classDOMInputSource.html#z98_0">DOMInputSource</a>.    </td>
257  </tr>
258</table>
259<a name="z241_4" doxytag="Wrapper4InputSource::getIssueFatalErrorIfNotFound"></a><p>
260<table width="100%" cellpadding="2" cellspacing="0" border="0">
261  <tr>
262    <td class="md">
263      <table cellpadding="0" cellspacing="0" border="0">
264        <tr>
265          <td class="md" nowrap valign="top"> bool Wrapper4InputSource::getIssueFatalErrorIfNotFound </td>
266          <td class="md" valign="top">(&nbsp;</td>
267          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
268          <td class="md" valign="top">)&nbsp;</td>
269          <td class="md" nowrap> const<code> [virtual]</code></td>
270        </tr>
271
272      </table>
273    </td>
274  </tr>
275</table>
276<table cellspacing=5 cellpadding=0 border=0>
277  <tr>
278    <td>
279      &nbsp;
280    </td>
281    <td>
282
283<p>
284
285<p>
286<b>"Experimental - subject to change"</b>
287<p>
288Get 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.
289<p>
290<dl compact><dt><b>
291Returns: </b><dd>
292True 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>
293See also: </b><dd>
294<a class="el" href="classWrapper4InputSource.html#z242_4">setIssueFatalErrorIfNotFound</a> </dl>
295<p>
296Implements <a class="el" href="classDOMInputSource.html#z99_2">DOMInputSource</a>.    </td>
297  </tr>
298</table>
299<a name="z241_1" doxytag="Wrapper4InputSource::getPublicId"></a><p>
300<table width="100%" cellpadding="2" cellspacing="0" border="0">
301  <tr>
302    <td class="md">
303      <table cellpadding="0" cellspacing="0" border="0">
304        <tr>
305          <td class="md" nowrap valign="top"> const XMLCh* Wrapper4InputSource::getPublicId </td>
306          <td class="md" valign="top">(&nbsp;</td>
307          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
308          <td class="md" valign="top">)&nbsp;</td>
309          <td class="md" nowrap> const<code> [virtual]</code></td>
310        </tr>
311
312      </table>
313    </td>
314  </tr>
315</table>
316<table cellspacing=5 cellpadding=0 border=0>
317  <tr>
318    <td>
319      &nbsp;
320    </td>
321    <td>
322
323<p>
324
325<p>
326<b>"Experimental - subject to change"</b>
327<p>
328Get the public identifier for this input source. Delegated to the wrapped input source object.
329<p>
330<dl compact><dt><b>
331Returns: </b><dd>
332The public identifier, or null if none was supplied. </dl><dl compact><dt><b>
333See also: </b><dd>
334<a class="el" href="classWrapper4InputSource.html#z242_1">setPublicId</a> </dl>
335<p>
336Implements <a class="el" href="classDOMInputSource.html#z98_1">DOMInputSource</a>.    </td>
337  </tr>
338</table>
339<a name="z241_2" doxytag="Wrapper4InputSource::getSystemId"></a><p>
340<table width="100%" cellpadding="2" cellspacing="0" border="0">
341  <tr>
342    <td class="md">
343      <table cellpadding="0" cellspacing="0" border="0">
344        <tr>
345          <td class="md" nowrap valign="top"> const XMLCh* Wrapper4InputSource::getSystemId </td>
346          <td class="md" valign="top">(&nbsp;</td>
347          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
348          <td class="md" valign="top">)&nbsp;</td>
349          <td class="md" nowrap> const<code> [virtual]</code></td>
350        </tr>
351
352      </table>
353    </td>
354  </tr>
355</table>
356<table cellspacing=5 cellpadding=0 border=0>
357  <tr>
358    <td>
359      &nbsp;
360    </td>
361    <td>
362
363<p>
364
365<p>
366<b>"Experimental - subject to change"</b>
367<p>
368Get the system identifier for this input source. Delegated to the wrapped input source object.
369<p>
370
371<p>
372If the system ID is a URL, it will be fully resolved.
373<p>
374<dl compact><dt><b>
375Returns: </b><dd>
376The system identifier. </dl><dl compact><dt><b>
377See also: </b><dd>
378<a class="el" href="classWrapper4InputSource.html#z242_2">setSystemId</a> </dl>
379<p>
380Implements <a class="el" href="classDOMInputSource.html#z98_2">DOMInputSource</a>.    </td>
381  </tr>
382</table>
383<a name="z240_0" doxytag="Wrapper4InputSource::makeStream"></a><p>
384<table width="100%" cellpadding="2" cellspacing="0" border="0">
385  <tr>
386    <td class="md">
387      <table cellpadding="0" cellspacing="0" border="0">
388        <tr>
389          <td class="md" nowrap valign="top"> <a class="el" href="classBinInputStream.html">BinInputStream</a>* Wrapper4InputSource::makeStream </td>
390          <td class="md" valign="top">(&nbsp;</td>
391          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
392          <td class="md" valign="top">)&nbsp;</td>
393          <td class="md" nowrap> const<code> [virtual]</code></td>
394        </tr>
395
396      </table>
397    </td>
398  </tr>
399</table>
400<table cellspacing=5 cellpadding=0 border=0>
401  <tr>
402    <td>
403      &nbsp;
404    </td>
405    <td>
406
407<p>
408
409<p>
410<b>"Experimental - subject to change"</b>
411<p>
412Makes the byte stream for this input source.
413<p>
414
415<p>
416The function will call the makeStream of the wrapped input source. The returned stream becomes the parser's property.
417<p>
418<dl compact><dt><b>
419See also: </b><dd>
420<a class="el" href="classBinInputStream.html">BinInputStream</a> </dl>
421<p>
422Implements <a class="el" href="classDOMInputSource.html#z99_0">DOMInputSource</a>.    </td>
423  </tr>
424</table>
425<a name="z242_5" doxytag="Wrapper4InputSource::release"></a><p>
426<table width="100%" cellpadding="2" cellspacing="0" border="0">
427  <tr>
428    <td class="md">
429      <table cellpadding="0" cellspacing="0" border="0">
430        <tr>
431          <td class="md" nowrap valign="top"> void Wrapper4InputSource::release </td>
432          <td class="md" valign="top">(&nbsp;</td>
433          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
434          <td class="md" valign="top">)&nbsp;</td>
435          <td class="md" nowrap><code> [virtual]</code></td>
436        </tr>
437
438      </table>
439    </td>
440  </tr>
441</table>
442<table cellspacing=5 cellpadding=0 border=0>
443  <tr>
444    <td>
445      &nbsp;
446    </td>
447    <td>
448
449<p>
450Called to indicate that this <a class="el" href="classDOMInputSource.html">DOMInputSource</a> is no longer in use and that the implementation may relinquish any resources associated with it.
451<p>
452Access to a released object will lead to unexpected result.
453<p>
454Implements <a class="el" href="classDOMInputSource.html#z99_3">DOMInputSource</a>.    </td>
455  </tr>
456</table>
457<a name="z242_3" doxytag="Wrapper4InputSource::setBaseURI"></a><p>
458<table width="100%" cellpadding="2" cellspacing="0" border="0">
459  <tr>
460    <td class="md">
461      <table cellpadding="0" cellspacing="0" border="0">
462        <tr>
463          <td class="md" nowrap valign="top"> void Wrapper4InputSource::setBaseURI </td>
464          <td class="md" valign="top">(&nbsp;</td>
465          <td class="md" nowrap valign="top">const XMLCh *const&nbsp;</td>
466          <td class="mdname1" valign="top" nowrap>&nbsp; <em>baseURI</em>          </td>
467          <td class="md" valign="top">)&nbsp;</td>
468          <td class="md" nowrap><code> [virtual]</code></td>
469        </tr>
470
471      </table>
472    </td>
473  </tr>
474</table>
475<table cellspacing=5 cellpadding=0 border=0>
476  <tr>
477    <td>
478      &nbsp;
479    </td>
480    <td>
481
482<p>
483Set the base URI to be used for resolving relative URIs to absolute URIs.
484<p>
485If the baseURI is itself a relative URI, the behavior is implementation dependent. This will update the wrapped input source object.
486<p>
487
488<p>
489<b>"Experimental - subject to change"</b><dl compact><dt><b>
490Parameters: </b><dd>
491<table border=0 cellspacing=2 cellpadding=0>
492<tr><td valign=top><em>baseURI</em>&nbsp;</td><td>
493The base URI. </td></tr>
494</table>
495</dl><dl compact><dt><b>
496See also: </b><dd>
497<a class="el" href="classWrapper4InputSource.html#z241_3">getBaseURI</a> </dl><dl compact><dt><b>
498Since: </b><dd>
499DOM Level 3 </dl>
500<p>
501Implements <a class="el" href="classDOMInputSource.html#z98_7">DOMInputSource</a>.    </td>
502  </tr>
503</table>
504<a name="z242_0" doxytag="Wrapper4InputSource::setEncoding"></a><p>
505<table width="100%" cellpadding="2" cellspacing="0" border="0">
506  <tr>
507    <td class="md">
508      <table cellpadding="0" cellspacing="0" border="0">
509        <tr>
510          <td class="md" nowrap valign="top"> void Wrapper4InputSource::setEncoding </td>
511          <td class="md" valign="top">(&nbsp;</td>
512          <td class="md" nowrap valign="top">const XMLCh *const&nbsp;</td>
513          <td class="mdname1" valign="top" nowrap>&nbsp; <em>encodingStr</em>          </td>
514          <td class="md" valign="top">)&nbsp;</td>
515          <td class="md" nowrap><code> [virtual]</code></td>
516        </tr>
517
518      </table>
519    </td>
520  </tr>
521</table>
522<table cellspacing=5 cellpadding=0 border=0>
523  <tr>
524    <td>
525      &nbsp;
526    </td>
527    <td>
528
529<p>
530
531<p>
532<b>"Experimental - subject to change"</b>
533<p>
534Set 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.
535<p>
536
537<p>
538This 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>
539Parameters: </b><dd>
540<table border=0 cellspacing=2 cellpadding=0>
541<tr><td valign=top><em>encodingStr</em>&nbsp;</td><td>
542The name of the encoding to force. </td></tr>
543</table>
544</dl>
545<p>
546Implements <a class="el" href="classDOMInputSource.html#z98_4">DOMInputSource</a>.    </td>
547  </tr>
548</table>
549<a name="z242_4" doxytag="Wrapper4InputSource::setIssueFatalErrorIfNotFound"></a><p>
550<table width="100%" cellpadding="2" cellspacing="0" border="0">
551  <tr>
552    <td class="md">
553      <table cellpadding="0" cellspacing="0" border="0">
554        <tr>
555          <td class="md" nowrap valign="top"> void Wrapper4InputSource::setIssueFatalErrorIfNotFound </td>
556          <td class="md" valign="top">(&nbsp;</td>
557          <td class="md" nowrap valign="top">const bool&nbsp;</td>
558          <td class="mdname1" valign="top" nowrap>&nbsp; <em>flag</em>          </td>
559          <td class="md" valign="top">)&nbsp;</td>
560          <td class="md" nowrap><code> [virtual]</code></td>
561        </tr>
562
563      </table>
564    </td>
565  </tr>
566</table>
567<table cellspacing=5 cellpadding=0 border=0>
568  <tr>
569    <td>
570      &nbsp;
571    </td>
572    <td>
573
574<p>
575
576<p>
577<b>"Experimental - subject to change"</b>
578<p>
579Indicates 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>
580Parameters: </b><dd>
581<table border=0 cellspacing=2 cellpadding=0>
582<tr><td valign=top><em>flag</em>&nbsp;</td><td>
583True 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>
584</table>
585</dl><dl compact><dt><b>
586See also: </b><dd>
587<a class="el" href="classWrapper4InputSource.html#z241_4">getIssueFatalErrorIfNotFound</a> </dl>
588<p>
589Implements <a class="el" href="classDOMInputSource.html#z99_1">DOMInputSource</a>.    </td>
590  </tr>
591</table>
592<a name="z242_1" doxytag="Wrapper4InputSource::setPublicId"></a><p>
593<table width="100%" cellpadding="2" cellspacing="0" border="0">
594  <tr>
595    <td class="md">
596      <table cellpadding="0" cellspacing="0" border="0">
597        <tr>
598          <td class="md" nowrap valign="top"> void Wrapper4InputSource::setPublicId </td>
599          <td class="md" valign="top">(&nbsp;</td>
600          <td class="md" nowrap valign="top">const XMLCh *const&nbsp;</td>
601          <td class="mdname1" valign="top" nowrap>&nbsp; <em>publicId</em>          </td>
602          <td class="md" valign="top">)&nbsp;</td>
603          <td class="md" nowrap><code> [virtual]</code></td>
604        </tr>
605
606      </table>
607    </td>
608  </tr>
609</table>
610<table cellspacing=5 cellpadding=0 border=0>
611  <tr>
612    <td>
613      &nbsp;
614    </td>
615    <td>
616
617<p>
618
619<p>
620<b>"Experimental - subject to change"</b>
621<p>
622Set the public identifier for this input source. This will update the wrapped input source object.
623<p>
624
625<p>
626The 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>
627Parameters: </b><dd>
628<table border=0 cellspacing=2 cellpadding=0>
629<tr><td valign=top><em>publicId</em>&nbsp;</td><td>
630The public identifier as a string. </td></tr>
631</table>
632</dl><dl compact><dt><b>
633See also: </b><dd>
634<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="classWrapper4InputSource.html#z241_1">getPublicId</a> </dl>
635<p>
636Implements <a class="el" href="classDOMInputSource.html#z98_5">DOMInputSource</a>.    </td>
637  </tr>
638</table>
639<a name="z242_2" doxytag="Wrapper4InputSource::setSystemId"></a><p>
640<table width="100%" cellpadding="2" cellspacing="0" border="0">
641  <tr>
642    <td class="md">
643      <table cellpadding="0" cellspacing="0" border="0">
644        <tr>
645          <td class="md" nowrap valign="top"> void Wrapper4InputSource::setSystemId </td>
646          <td class="md" valign="top">(&nbsp;</td>
647          <td class="md" nowrap valign="top">const XMLCh *const&nbsp;</td>
648          <td class="mdname1" valign="top" nowrap>&nbsp; <em>systemId</em>          </td>
649          <td class="md" valign="top">)&nbsp;</td>
650          <td class="md" nowrap><code> [virtual]</code></td>
651        </tr>
652
653      </table>
654    </td>
655  </tr>
656</table>
657<table cellspacing=5 cellpadding=0 border=0>
658  <tr>
659    <td>
660      &nbsp;
661    </td>
662    <td>
663
664<p>
665
666<p>
667<b>"Experimental - subject to change"</b>
668<p>
669Set the system identifier for this input source. This will update the wrapped input source object.
670<p>
671
672<p>
673The 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.
674<p>
675
676<p>
677If the system ID is a URL, it must be fully resolved.<dl compact><dt><b>
678Parameters: </b><dd>
679<table border=0 cellspacing=2 cellpadding=0>
680<tr><td valign=top><em>systemId</em>&nbsp;</td><td>
681The system identifier as a string. </td></tr>
682</table>
683</dl><dl compact><dt><b>
684See also: </b><dd>
685<a class="el" href="classWrapper4InputSource.html#z241_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>
686<p>
687Implements <a class="el" href="classDOMInputSource.html#z98_6">DOMInputSource</a>.    </td>
688  </tr>
689</table>
690<hr>The documentation for this class was generated from the following file:<ul>
691<li><a class="el" href="Wrapper4InputSource_8hpp-source.html">Wrapper4InputSource.hpp</a></ul>
692    </FONT></TD></TR></TABLE><BR>
693</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>
694              Copyright &copy; 1994-2004 The Apache Software Foundation.
695              All Rights Reserved.
696            </I></FONT></TD></TR></TABLE></BODY></HTML>
Note: See TracBrowser for help on using the repository browser.