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

Revision 358, 32.7 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>URLInputSource 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>URLInputSource Class Reference</h1>This class is a derivative of the standard <a class="el" href="classInputSource.html">InputSource</a> class.
45<a href="#_details">More...</a>
46<p>
47Inheritance diagram for URLInputSource:<p><center><img src="classURLInputSource__inherit__graph.gif" border="0" usemap="#URLInputSource__inherit__map" alt="Inheritance graph"></center>
48<map name="URLInputSource__inherit__map">
49<area href="classInputSource.html" shape="rect" coords="20,105,103,86" alt="">
50<area href="classXMemory.html" shape="rect" coords="27,36,96,17" alt="">
51</map>
52<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for URLInputSource:<p><center><img src="classURLInputSource__coll__graph.gif" border="0" usemap="#URLInputSource__coll__map" alt="Collaboration graph"></center>
53<map name="URLInputSource__coll__map">
54<area href="classInputSource.html" shape="rect" coords="35,127,117,108" alt="">
55<area href="classXMemory.html" shape="rect" coords="11,36,80,17" alt="">
56<area href="classXMLURL.html" shape="rect" coords="141,127,208,108" alt="">
57<area href="classMemoryManager.html" shape="rect" coords="172,36,281,17" alt="">
58</map>
59<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classURLInputSource-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</div></td></tr>
62<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classURLInputSource.html#z227_0">URLInputSource</a> (const <a class="el" href="classXMLURL.html">XMLURL</a> &amp;urlId, <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>This constructor accepts an already built URL.</em> <a href="#z227_0">More...</a><em></em></font><br><br></td></tr>
64<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classURLInputSource.html#z227_1">URLInputSource</a> (const XMLCh *const baseId, const XMLCh *const systemId, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
65<tr><td>&nbsp;</td><td><font size=-1><em>This constructor takes a base system id URL and a possibly relative system id.</em> <a href="#z227_1">More...</a><em></em></font><br><br></td></tr>
66<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classURLInputSource.html#z227_2">URLInputSource</a> (const XMLCh *const baseId, const XMLCh *const systemId, const XMLCh *const publicId, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
67<tr><td>&nbsp;</td><td><font size=-1><em>This constructor is indentical to the previous one, except that it also allows you to set a public id if you want to.</em> <a href="#z227_2">More...</a><em></em></font><br><br></td></tr>
68<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classURLInputSource.html#z227_3">URLInputSource</a> (const XMLCh *const baseId, const char *const systemId, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
69<tr><td>&nbsp;</td><td><font size=-1><em>This constructor is identical to the second constructor above, except that it accepts the relative system id part as a local code page string and just transcodes it internally, as a convenience.</em> <a href="#z227_3">More...</a><em></em></font><br><br></td></tr>
70<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classURLInputSource.html#z227_4">URLInputSource</a> (const XMLCh *const baseId, const char *const systemId, const char *const publicId, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
71<tr><td>&nbsp;</td><td><font size=-1><em>This constructor is identical to the third constructor above, except that it accepts the relative and public ids as local code page strings and just transcodes them internally, as a convenience.</em> <a href="#z227_4">More...</a><em></em></font><br><br></td></tr>
72<tr><td colspan="2"><div class="groupHeader">Destructor</div></td></tr>
73<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classURLInputSource.html#z228_0">~URLInputSource</a> ()</td></tr>
74<tr><td colspan="2"><div class="groupHeader">Virtual methods</div></td></tr>
75<tr><td nowrap align=right valign=top><a class="el" href="classBinInputStream.html">BinInputStream</a> *&nbsp;</td><td valign=bottom><a class="el" href="classURLInputSource.html#z229_0">makeStream</a> () const</td></tr>
76<tr><td>&nbsp;</td><td><font size=-1><em>This method will return a binary input stream derivative that will parse from the source refered to by the URL system id.</em> <a href="#z229_0">More...</a><em></em></font><br><br></td></tr>
77<tr><td colspan="2"><div class="groupHeader">Getter methods</div></td></tr>
78<tr><td nowrap align=right valign=top>const <a class="el" href="classXMLURL.html">XMLURL</a> &amp;&nbsp;</td><td valign=bottom><a class="el" href="classURLInputSource.html#z230_0">urlSrc</a> () const</td></tr>
79<tr><td>&nbsp;</td><td><font size=-1><em>This method will return a const reference to the URL member which contains the system id in pre-parsed URL form.</em> <a href="#z230_0">More...</a><em></em></font><br><br></td></tr>
80</table>
81<hr><a name="_details"></a><h2>Detailed Description</h2>
82This class is a derivative of the standard <a class="el" href="classInputSource.html">InputSource</a> class.
83<p>
84It provides for the parser access to data which is referenced via a URL, as apposed to a local file name. The URL can be provided via an <a class="el" href="classXMLURL.html">XMLURL</a> class, as a fully qualified system id, or a base system id and a system id which may be fully qualified or may be relative to the base.
85<p>
86As with all <a class="el" href="classInputSource.html">InputSource</a> derivatives. The primary objective of an input source is to create an input stream via which the parser can spool in data from the referenced source.
87<p>
88Note that the parse system does not necessarily support URL based XML entities out of the box. Support for socket based access is optional and controlled by the per-platform support.
89<p>
90<hr><h2>Constructor &amp; Destructor Documentation</h2>
91<a name="z227_0" doxytag="URLInputSource::URLInputSource"></a><p>
92<table width="100%" cellpadding="2" cellspacing="0" border="0">
93  <tr>
94    <td class="md">
95      <table cellpadding="0" cellspacing="0" border="0">
96        <tr>
97          <td class="md" nowrap valign="top"> URLInputSource::URLInputSource </td>
98          <td class="md" valign="top">(&nbsp;</td>
99          <td class="md" nowrap valign="top">const <a class="el" href="classXMLURL.html">XMLURL</a> &amp;&nbsp;</td>
100          <td class="mdname" nowrap>&nbsp; <em>urlId</em>, </td>
101        </tr>
102        <tr>
103          <td></td>
104          <td></td>
105          <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&nbsp;</td>
106          <td class="mdname" nowrap>&nbsp; <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
107        </tr>
108        <tr>
109          <td></td>
110          <td class="md">)&nbsp;</td>
111          <td class="md" colspan="2"></td>
112        </tr>
113
114      </table>
115    </td>
116  </tr>
117</table>
118<table cellspacing=5 cellpadding=0 border=0>
119  <tr>
120    <td>
121      &nbsp;
122    </td>
123    <td>
124
125<p>
126This constructor accepts an already built URL.
127<p>
128It is assumed that it is correct and it will be used as is. In this case, no public id accepted, but it can still be set via the parent class' <a class="el" href="classInputSource.html#z436_1">setPublicId</a>() method.<dl compact><dt><b>
129Parameters: </b><dd>
130<table border=0 cellspacing=2 cellpadding=0>
131<tr><td valign=top><em>urlId</em>&nbsp;</td><td>
132The URL which holds the system id of the entity to parse. </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="z227_1" doxytag="URLInputSource::URLInputSource"></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"> URLInputSource::URLInputSource </td>
146          <td class="md" valign="top">(&nbsp;</td>
147          <td class="md" nowrap valign="top">const XMLCh *const&nbsp;</td>
148          <td class="mdname" nowrap>&nbsp; <em>baseId</em>, </td>
149        </tr>
150        <tr>
151          <td></td>
152          <td></td>
153          <td class="md" nowrap>const XMLCh *const&nbsp;</td>
154          <td class="mdname" nowrap>&nbsp; <em>systemId</em>, </td>
155        </tr>
156        <tr>
157          <td></td>
158          <td></td>
159          <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&nbsp;</td>
160          <td class="mdname" nowrap>&nbsp; <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
161        </tr>
162        <tr>
163          <td></td>
164          <td class="md">)&nbsp;</td>
165          <td class="md" colspan="2"></td>
166        </tr>
167
168      </table>
169    </td>
170  </tr>
171</table>
172<table cellspacing=5 cellpadding=0 border=0>
173  <tr>
174    <td>
175      &nbsp;
176    </td>
177    <td>
178
179<p>
180This constructor takes a base system id URL and a possibly relative system id.
181<p>
182The relative part is parsed and, if it is indeed relative, it will be made relative to the passed base id. Otherwise, it will be taken as is.<dl compact><dt><b>
183Parameters: </b><dd>
184<table border=0 cellspacing=2 cellpadding=0>
185<tr><td valign=top><em>baseId</em>&nbsp;</td><td>
186The base system id URL which provides the base for any relative id part.</td></tr>
187<tr><td valign=top><em>systemId</em>&nbsp;</td><td>
188The possibly relative system id URL. If its relative its based on baseId, else its taken as is. </td></tr>
189<tr><td valign=top><em>manager</em>&nbsp;</td><td>
190Pointer to the memory manager to be used to allocate objects. </td></tr>
191</table>
192</dl>    </td>
193  </tr>
194</table>
195<a name="z227_2" doxytag="URLInputSource::URLInputSource"></a><p>
196<table width="100%" cellpadding="2" cellspacing="0" border="0">
197  <tr>
198    <td class="md">
199      <table cellpadding="0" cellspacing="0" border="0">
200        <tr>
201          <td class="md" nowrap valign="top"> URLInputSource::URLInputSource </td>
202          <td class="md" valign="top">(&nbsp;</td>
203          <td class="md" nowrap valign="top">const XMLCh *const&nbsp;</td>
204          <td class="mdname" nowrap>&nbsp; <em>baseId</em>, </td>
205        </tr>
206        <tr>
207          <td></td>
208          <td></td>
209          <td class="md" nowrap>const XMLCh *const&nbsp;</td>
210          <td class="mdname" nowrap>&nbsp; <em>systemId</em>, </td>
211        </tr>
212        <tr>
213          <td></td>
214          <td></td>
215          <td class="md" nowrap>const XMLCh *const&nbsp;</td>
216          <td class="mdname" nowrap>&nbsp; <em>publicId</em>, </td>
217        </tr>
218        <tr>
219          <td></td>
220          <td></td>
221          <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&nbsp;</td>
222          <td class="mdname" nowrap>&nbsp; <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
223        </tr>
224        <tr>
225          <td></td>
226          <td class="md">)&nbsp;</td>
227          <td class="md" colspan="2"></td>
228        </tr>
229
230      </table>
231    </td>
232  </tr>
233</table>
234<table cellspacing=5 cellpadding=0 border=0>
235  <tr>
236    <td>
237      &nbsp;
238    </td>
239    <td>
240
241<p>
242This constructor is indentical to the previous one, except that it also allows you to set a public id if you want to.
243<p>
244<dl compact><dt><b>
245Parameters: </b><dd>
246<table border=0 cellspacing=2 cellpadding=0>
247<tr><td valign=top><em>baseId</em>&nbsp;</td><td>
248The base system id URL which provides the base for any relative id part.</td></tr>
249<tr><td valign=top><em>systemId</em>&nbsp;</td><td>
250The possibly relative system id URL. If its relative its based on baseId, else its taken as is.</td></tr>
251<tr><td valign=top><em>publicId</em>&nbsp;</td><td>
252The optional public id to set. This is just passed on to the parent class for storage.</td></tr>
253<tr><td valign=top><em>manager</em>&nbsp;</td><td>
254Pointer to the memory manager to be used to allocate objects. </td></tr>
255</table>
256</dl>    </td>
257  </tr>
258</table>
259<a name="z227_3" doxytag="URLInputSource::URLInputSource"></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"> URLInputSource::URLInputSource </td>
266          <td class="md" valign="top">(&nbsp;</td>
267          <td class="md" nowrap valign="top">const XMLCh *const&nbsp;</td>
268          <td class="mdname" nowrap>&nbsp; <em>baseId</em>, </td>
269        </tr>
270        <tr>
271          <td></td>
272          <td></td>
273          <td class="md" nowrap>const char *const&nbsp;</td>
274          <td class="mdname" nowrap>&nbsp; <em>systemId</em>, </td>
275        </tr>
276        <tr>
277          <td></td>
278          <td></td>
279          <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&nbsp;</td>
280          <td class="mdname" nowrap>&nbsp; <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
281        </tr>
282        <tr>
283          <td></td>
284          <td class="md">)&nbsp;</td>
285          <td class="md" colspan="2"></td>
286        </tr>
287
288      </table>
289    </td>
290  </tr>
291</table>
292<table cellspacing=5 cellpadding=0 border=0>
293  <tr>
294    <td>
295      &nbsp;
296    </td>
297    <td>
298
299<p>
300This constructor is identical to the second constructor above, except that it accepts the relative system id part as a local code page string and just transcodes it internally, as a convenience.
301<p>
302<dl compact><dt><b>
303Parameters: </b><dd>
304<table border=0 cellspacing=2 cellpadding=0>
305<tr><td valign=top><em>baseId</em>&nbsp;</td><td>
306The base system id URL which provides the base for any relative id part.</td></tr>
307<tr><td valign=top><em>systemId</em>&nbsp;</td><td>
308The possibly relative system id URL. If its relative its based on baseId, else its taken as is.</td></tr>
309<tr><td valign=top><em>manager</em>&nbsp;</td><td>
310Pointer to the memory manager to be used to allocate objects. </td></tr>
311</table>
312</dl>    </td>
313  </tr>
314</table>
315<a name="z227_4" doxytag="URLInputSource::URLInputSource"></a><p>
316<table width="100%" cellpadding="2" cellspacing="0" border="0">
317  <tr>
318    <td class="md">
319      <table cellpadding="0" cellspacing="0" border="0">
320        <tr>
321          <td class="md" nowrap valign="top"> URLInputSource::URLInputSource </td>
322          <td class="md" valign="top">(&nbsp;</td>
323          <td class="md" nowrap valign="top">const XMLCh *const&nbsp;</td>
324          <td class="mdname" nowrap>&nbsp; <em>baseId</em>, </td>
325        </tr>
326        <tr>
327          <td></td>
328          <td></td>
329          <td class="md" nowrap>const char *const&nbsp;</td>
330          <td class="mdname" nowrap>&nbsp; <em>systemId</em>, </td>
331        </tr>
332        <tr>
333          <td></td>
334          <td></td>
335          <td class="md" nowrap>const char *const&nbsp;</td>
336          <td class="mdname" nowrap>&nbsp; <em>publicId</em>, </td>
337        </tr>
338        <tr>
339          <td></td>
340          <td></td>
341          <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&nbsp;</td>
342          <td class="mdname" nowrap>&nbsp; <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
343        </tr>
344        <tr>
345          <td></td>
346          <td class="md">)&nbsp;</td>
347          <td class="md" colspan="2"></td>
348        </tr>
349
350      </table>
351    </td>
352  </tr>
353</table>
354<table cellspacing=5 cellpadding=0 border=0>
355  <tr>
356    <td>
357      &nbsp;
358    </td>
359    <td>
360
361<p>
362This constructor is identical to the third constructor above, except that it accepts the relative and public ids as local code page strings and just transcodes them internally, as a convenience.
363<p>
364<dl compact><dt><b>
365Parameters: </b><dd>
366<table border=0 cellspacing=2 cellpadding=0>
367<tr><td valign=top><em>baseId</em>&nbsp;</td><td>
368The base system id URL which provides the base for any relative id part.</td></tr>
369<tr><td valign=top><em>systemId</em>&nbsp;</td><td>
370The possibly relative system id URL. If its relative its based on baseId, else its taken as is.</td></tr>
371<tr><td valign=top><em>publicId</em>&nbsp;</td><td>
372The optional public id to set. This is just passed on to the parent class for storage. on to the parent class for storage.</td></tr>
373<tr><td valign=top><em>manager</em>&nbsp;</td><td>
374Pointer to the memory manager to be used to allocate objects. </td></tr>
375</table>
376</dl>    </td>
377  </tr>
378</table>
379<a name="z228_0" doxytag="URLInputSource::~URLInputSource"></a><p>
380<table width="100%" cellpadding="2" cellspacing="0" border="0">
381  <tr>
382    <td class="md">
383      <table cellpadding="0" cellspacing="0" border="0">
384        <tr>
385          <td class="md" nowrap valign="top"> URLInputSource::~URLInputSource </td>
386          <td class="md" valign="top">(&nbsp;</td>
387          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
388          <td class="md" valign="top">)&nbsp;</td>
389          <td class="md" nowrap></td>
390        </tr>
391
392      </table>
393    </td>
394  </tr>
395</table>
396<table cellspacing=5 cellpadding=0 border=0>
397  <tr>
398    <td>
399      &nbsp;
400    </td>
401    <td>
402
403<p>
404    </td>
405  </tr>
406</table>
407<hr><h2>Member Function Documentation</h2>
408<a name="z229_0" doxytag="URLInputSource::makeStream"></a><p>
409<table width="100%" cellpadding="2" cellspacing="0" border="0">
410  <tr>
411    <td class="md">
412      <table cellpadding="0" cellspacing="0" border="0">
413        <tr>
414          <td class="md" nowrap valign="top"> <a class="el" href="classBinInputStream.html">BinInputStream</a>* URLInputSource::makeStream </td>
415          <td class="md" valign="top">(&nbsp;</td>
416          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
417          <td class="md" valign="top">)&nbsp;</td>
418          <td class="md" nowrap> const<code> [virtual]</code></td>
419        </tr>
420
421      </table>
422    </td>
423  </tr>
424</table>
425<table cellspacing=5 cellpadding=0 border=0>
426  <tr>
427    <td>
428      &nbsp;
429    </td>
430    <td>
431
432<p>
433This method will return a binary input stream derivative that will parse from the source refered to by the URL system id.
434<p>
435
436<p>
437Implements <a class="el" href="classInputSource.html#z434_0">InputSource</a>.    </td>
438  </tr>
439</table>
440<a name="z230_0" doxytag="URLInputSource::urlSrc"></a><p>
441<table width="100%" cellpadding="2" cellspacing="0" border="0">
442  <tr>
443    <td class="md">
444      <table cellpadding="0" cellspacing="0" border="0">
445        <tr>
446          <td class="md" nowrap valign="top"> const <a class="el" href="classXMLURL.html">XMLURL</a> &amp; URLInputSource::urlSrc </td>
447          <td class="md" valign="top">(&nbsp;</td>
448          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
449          <td class="md" valign="top">)&nbsp;</td>
450          <td class="md" nowrap> const</td>
451        </tr>
452
453      </table>
454    </td>
455  </tr>
456</table>
457<table cellspacing=5 cellpadding=0 border=0>
458  <tr>
459    <td>
460      &nbsp;
461    </td>
462    <td>
463
464<p>
465This method will return a const reference to the URL member which contains the system id in pre-parsed URL form.
466<p>
467If you just want the string format, call <a class="el" href="classInputSource.html#z435_2">getSystemId</a>() on the parent class.
468<p>
469<dl compact><dt><b>
470Returns: </b><dd>
471A const reference to a URL object that contains the current system id set for this input source. </dl>    </td>
472  </tr>
473</table>
474<hr>The documentation for this class was generated from the following file:<ul>
475<li><a class="el" href="URLInputSource_8hpp-source.html">URLInputSource.hpp</a></ul>
476    </FONT></TD></TR></TABLE><BR>
477</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>
478              Copyright &copy; 1994-2004 The Apache Software Foundation.
479              All Rights Reserved.
480            </I></FONT></TD></TR></TABLE></BODY></HTML>
Note: See TracBrowser for help on using the repository browser.