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

Revision 358, 50.0 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>XMLUri 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>XMLUri  Class Reference</h1>Inheritance diagram for XMLUri:<p><center><img src="classXMLUri__inherit__graph.gif" border="0" usemap="#XMLUri__inherit__map" alt="Inheritance graph"></center>
45<map name="XMLUri__inherit__map">
46<area href="classXMemory.html" shape="rect" coords="7,36,76,17" alt="">
47</map>
48<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for XMLUri:<p><center><img src="classXMLUri__coll__graph.gif" border="0" usemap="#XMLUri__coll__map" alt="Collaboration graph"></center>
49<map name="XMLUri__coll__map">
50<area href="classXMemory.html" shape="rect" coords="7,36,76,17" alt="">
51<area href="classMemoryManager.html" shape="rect" coords="100,36,209,17" alt="">
52</map>
53<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classXMLUri-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
54<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
55<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classXMLUri.html#a0">XMLUri</a> (const XMLCh *const uriSpec, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
56<tr><td>&nbsp;</td><td><font size=-1><em>Construct a new URI from a URI specification string.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr>
57<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classXMLUri.html#a1">XMLUri</a> (const XMLUri *const baseURI, const XMLCh *const uriSpec, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
58<tr><td>&nbsp;</td><td><font size=-1><em>Construct a new URI from a base URI and a URI specification string.</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr>
59<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classXMLUri.html#a2">XMLUri</a> (const XMLUri &amp;toCopy)</td></tr>
60<tr><td>&nbsp;</td><td><font size=-1><em>Copy constructor.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr>
61<tr><td nowrap align=right valign=top>XMLUri &amp;&nbsp;</td><td valign=bottom><a class="el" href="classXMLUri.html#a3">operator=</a> (const XMLUri &amp;toAssign)</td></tr>
62<tr><td nowrap align=right valign=top>virtual&nbsp;</td><td valign=bottom><a class="el" href="classXMLUri.html#a4">~XMLUri</a> ()</td></tr>
63<tr><td nowrap align=right valign=top>const XMLCh *&nbsp;</td><td valign=bottom><a class="el" href="classXMLUri.html#a5">getUriText</a> () const</td></tr>
64<tr><td>&nbsp;</td><td><font size=-1><em>Get the URI as a string specification.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr>
65<tr><td nowrap align=right valign=top>const XMLCh *&nbsp;</td><td valign=bottom><a class="el" href="classXMLUri.html#a6">getScheme</a> () const</td></tr>
66<tr><td>&nbsp;</td><td><font size=-1><em>Get the scheme for this URI.</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr>
67<tr><td nowrap align=right valign=top>const XMLCh *&nbsp;</td><td valign=bottom><a class="el" href="classXMLUri.html#a7">getUserInfo</a> () const</td></tr>
68<tr><td>&nbsp;</td><td><font size=-1><em>Get the userinfo for this URI.</em> <a href="#a7">More...</a><em></em></font><br><br></td></tr>
69<tr><td nowrap align=right valign=top>const XMLCh *&nbsp;</td><td valign=bottom><a class="el" href="classXMLUri.html#a8">getHost</a> () const</td></tr>
70<tr><td>&nbsp;</td><td><font size=-1><em>Get the host for this URI.</em> <a href="#a8">More...</a><em></em></font><br><br></td></tr>
71<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classXMLUri.html#a9">getPort</a> () const</td></tr>
72<tr><td>&nbsp;</td><td><font size=-1><em>Get the port for this URI.</em> <a href="#a9">More...</a><em></em></font><br><br></td></tr>
73<tr><td nowrap align=right valign=top>const XMLCh *&nbsp;</td><td valign=bottom><a class="el" href="classXMLUri.html#a10">getRegBasedAuthority</a> () const</td></tr>
74<tr><td>&nbsp;</td><td><font size=-1><em>Get the registry based authority for this URI.</em> <a href="#a10">More...</a><em></em></font><br><br></td></tr>
75<tr><td nowrap align=right valign=top>const XMLCh *&nbsp;</td><td valign=bottom><a class="el" href="classXMLUri.html#a11">getPath</a> () const</td></tr>
76<tr><td>&nbsp;</td><td><font size=-1><em>Get the path for this URI.</em> <a href="#a11">More...</a><em></em></font><br><br></td></tr>
77<tr><td nowrap align=right valign=top>const XMLCh *&nbsp;</td><td valign=bottom><a class="el" href="classXMLUri.html#a12">getQueryString</a> () const</td></tr>
78<tr><td>&nbsp;</td><td><font size=-1><em>Get the query string for this URI.</em> <a href="#a12">More...</a><em></em></font><br><br></td></tr>
79<tr><td nowrap align=right valign=top>const XMLCh *&nbsp;</td><td valign=bottom><a class="el" href="classXMLUri.html#a13">getFragment</a> () const</td></tr>
80<tr><td>&nbsp;</td><td><font size=-1><em>Get the fragment for this URI.</em> <a href="#a13">More...</a><em></em></font><br><br></td></tr>
81<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classXMLUri.html#a14">setScheme</a> (const XMLCh *const newScheme)</td></tr>
82<tr><td>&nbsp;</td><td><font size=-1><em>Set the scheme for this URI.</em> <a href="#a14">More...</a><em></em></font><br><br></td></tr>
83<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classXMLUri.html#a15">setUserInfo</a> (const XMLCh *const newUserInfo)</td></tr>
84<tr><td>&nbsp;</td><td><font size=-1><em>Set the userinfo for this URI.</em> <a href="#a15">More...</a><em></em></font><br><br></td></tr>
85<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classXMLUri.html#a16">setHost</a> (const XMLCh *const newHost)</td></tr>
86<tr><td>&nbsp;</td><td><font size=-1><em>Set the host for this URI.</em> <a href="#a16">More...</a><em></em></font><br><br></td></tr>
87<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classXMLUri.html#a17">setPort</a> (int newPort)</td></tr>
88<tr><td>&nbsp;</td><td><font size=-1><em>Set the port for this URI.</em> <a href="#a17">More...</a><em></em></font><br><br></td></tr>
89<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classXMLUri.html#a18">setRegBasedAuthority</a> (const XMLCh *const newRegAuth)</td></tr>
90<tr><td>&nbsp;</td><td><font size=-1><em>Sets the registry based authority for this URI.</em> <a href="#a18">More...</a><em></em></font><br><br></td></tr>
91<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classXMLUri.html#a19">setPath</a> (const XMLCh *const newPath)</td></tr>
92<tr><td>&nbsp;</td><td><font size=-1><em>Set the path for this URI.</em> <a href="#a19">More...</a><em></em></font><br><br></td></tr>
93<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classXMLUri.html#a20">setQueryString</a> (const XMLCh *const newQueryString)</td></tr>
94<tr><td>&nbsp;</td><td><font size=-1><em>Set the query string for this URI.</em> <a href="#a20">More...</a><em></em></font><br><br></td></tr>
95<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classXMLUri.html#a21">setFragment</a> (const XMLCh *const newFragment)</td></tr>
96<tr><td>&nbsp;</td><td><font size=-1><em>Set the fragment for this URI.</em> <a href="#a21">More...</a><em></em></font><br><br></td></tr>
97<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classXMLUri.html#a22">XMLUri</a> (<a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
98<tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr>
99<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classXMLUri.html#d0">isURIString</a> (const XMLCh *const uric)</td></tr>
100<tr><td>&nbsp;</td><td><font size=-1><em>Determine whether a given string contains only URI characters (also called "uric" in RFC 2396).</em> <a href="#d0">More...</a><em></em></font><br><br></td></tr>
101<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classXMLUri.html#d1">isValidURI</a> (const XMLUri *const baseURI, const XMLCh *const uriStr)</td></tr>
102<tr><td>&nbsp;</td><td><font size=-1><em>Determine whether a given string is a valid URI.</em> <a href="#d1">More...</a><em></em></font><br><br></td></tr>
103<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classXMLUri.html#d2">isValidURI</a> (bool haveBaseURI, const XMLCh *const uriStr)</td></tr>
104<tr><td>&nbsp;</td><td><font size=-1><em>Determine whether a given string is a valid URI.</em> <a href="#d2">More...</a><em></em></font><br><br></td></tr>
105<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classXMLUri.html#d3">normalizeURI</a> (const XMLCh *const systemURI, XMLBuffer &amp;normalizedURI)</td></tr>
106</table>
107<hr><h2>Constructor &amp; Destructor Documentation</h2>
108<a name="a0" doxytag="XMLUri::XMLUri"></a><p>
109<table width="100%" cellpadding="2" cellspacing="0" border="0">
110  <tr>
111    <td class="md">
112      <table cellpadding="0" cellspacing="0" border="0">
113        <tr>
114          <td class="md" nowrap valign="top"> XMLUri::XMLUri </td>
115          <td class="md" valign="top">(&nbsp;</td>
116          <td class="md" nowrap valign="top">const XMLCh *const&nbsp;</td>
117          <td class="mdname" nowrap>&nbsp; <em>uriSpec</em>, </td>
118        </tr>
119        <tr>
120          <td></td>
121          <td></td>
122          <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&nbsp;</td>
123          <td class="mdname" nowrap>&nbsp; <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
124        </tr>
125        <tr>
126          <td></td>
127          <td class="md">)&nbsp;</td>
128          <td class="md" colspan="2"></td>
129        </tr>
130
131      </table>
132    </td>
133  </tr>
134</table>
135<table cellspacing=5 cellpadding=0 border=0>
136  <tr>
137    <td>
138      &nbsp;
139    </td>
140    <td>
141
142<p>
143Construct a new URI from a URI specification string.
144<p>
145If the specification follows the "generic URI" syntax, (two slashes following the first colon), the specification will be parsed accordingly - setting the scheme, userinfo, host, port, path, querystring and fragment fields as necessary.
146<p>
147If the specification does not follow the "generic URI" syntax, the specification is parsed into a scheme and scheme-specific part (stored as the path) only.<dl compact><dt><b>
148Parameters: </b><dd>
149<table border=0 cellspacing=2 cellpadding=0>
150<tr><td valign=top><em>uriSpec</em>&nbsp;</td><td>
151the URI specification string (cannot be null or empty)</td></tr>
152<tr><td valign=top><em>manager</em>&nbsp;</td><td>
153Pointer to the memory manager to be used to allocate objects.</td></tr>
154</table>
155</dl>ctor# 2     </td>
156  </tr>
157</table>
158<a name="a1" doxytag="XMLUri::XMLUri"></a><p>
159<table width="100%" cellpadding="2" cellspacing="0" border="0">
160  <tr>
161    <td class="md">
162      <table cellpadding="0" cellspacing="0" border="0">
163        <tr>
164          <td class="md" nowrap valign="top"> XMLUri::XMLUri </td>
165          <td class="md" valign="top">(&nbsp;</td>
166          <td class="md" nowrap valign="top">const XMLUri *const&nbsp;</td>
167          <td class="mdname" nowrap>&nbsp; <em>baseURI</em>, </td>
168        </tr>
169        <tr>
170          <td></td>
171          <td></td>
172          <td class="md" nowrap>const XMLCh *const&nbsp;</td>
173          <td class="mdname" nowrap>&nbsp; <em>uriSpec</em>, </td>
174        </tr>
175        <tr>
176          <td></td>
177          <td></td>
178          <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&nbsp;</td>
179          <td class="mdname" nowrap>&nbsp; <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
180        </tr>
181        <tr>
182          <td></td>
183          <td class="md">)&nbsp;</td>
184          <td class="md" colspan="2"></td>
185        </tr>
186
187      </table>
188    </td>
189  </tr>
190</table>
191<table cellspacing=5 cellpadding=0 border=0>
192  <tr>
193    <td>
194      &nbsp;
195    </td>
196    <td>
197
198<p>
199Construct a new URI from a base URI and a URI specification string.
200<p>
201The URI specification string may be a relative URI.<dl compact><dt><b>
202Parameters: </b><dd>
203<table border=0 cellspacing=2 cellpadding=0>
204<tr><td valign=top><em>baseURI</em>&nbsp;</td><td>
205the base URI (cannot be null if uriSpec is null or empty)</td></tr>
206<tr><td valign=top><em>uriSpec</em>&nbsp;</td><td>
207the URI specification string (cannot be null or empty if base is null)</td></tr>
208<tr><td valign=top><em>manager</em>&nbsp;</td><td>
209Pointer to the memory manager to be used to allocate objects.</td></tr>
210</table>
211</dl>ctor# 7 relative ctor     </td>
212  </tr>
213</table>
214<a name="a2" doxytag="XMLUri::XMLUri"></a><p>
215<table width="100%" cellpadding="2" cellspacing="0" border="0">
216  <tr>
217    <td class="md">
218      <table cellpadding="0" cellspacing="0" border="0">
219        <tr>
220          <td class="md" nowrap valign="top"> XMLUri::XMLUri </td>
221          <td class="md" valign="top">(&nbsp;</td>
222          <td class="md" nowrap valign="top">const XMLUri &amp;&nbsp;</td>
223          <td class="mdname1" valign="top" nowrap>&nbsp; <em>toCopy</em>          </td>
224          <td class="md" valign="top">)&nbsp;</td>
225          <td class="md" nowrap></td>
226        </tr>
227
228      </table>
229    </td>
230  </tr>
231</table>
232<table cellspacing=5 cellpadding=0 border=0>
233  <tr>
234    <td>
235      &nbsp;
236    </td>
237    <td>
238
239<p>
240Copy constructor.
241<p>
242    </td>
243  </tr>
244</table>
245<a name="a4" doxytag="XMLUri::~XMLUri"></a><p>
246<table width="100%" cellpadding="2" cellspacing="0" border="0">
247  <tr>
248    <td class="md">
249      <table cellpadding="0" cellspacing="0" border="0">
250        <tr>
251          <td class="md" nowrap valign="top"> virtual XMLUri::~XMLUri </td>
252          <td class="md" valign="top">(&nbsp;</td>
253          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
254          <td class="md" valign="top">)&nbsp;</td>
255          <td class="md" nowrap><code> [virtual]</code></td>
256        </tr>
257
258      </table>
259    </td>
260  </tr>
261</table>
262<table cellspacing=5 cellpadding=0 border=0>
263  <tr>
264    <td>
265      &nbsp;
266    </td>
267    <td>
268
269<p>
270    </td>
271  </tr>
272</table>
273<a name="a22" doxytag="XMLUri::XMLUri"></a><p>
274<table width="100%" cellpadding="2" cellspacing="0" border="0">
275  <tr>
276    <td class="md">
277      <table cellpadding="0" cellspacing="0" border="0">
278        <tr>
279          <td class="md" nowrap valign="top"> XMLUri::XMLUri </td>
280          <td class="md" valign="top">(&nbsp;</td>
281          <td class="md" nowrap valign="top"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&nbsp;</td>
282          <td class="mdname1" valign="top" nowrap>&nbsp; <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>          </td>
283          <td class="md" valign="top">)&nbsp;</td>
284          <td class="md" nowrap></td>
285        </tr>
286
287      </table>
288    </td>
289  </tr>
290</table>
291<table cellspacing=5 cellpadding=0 border=0>
292  <tr>
293    <td>
294      &nbsp;
295    </td>
296    <td>
297
298<p>
299    </td>
300  </tr>
301</table>
302<hr><h2>Member Function Documentation</h2>
303<a name="a13" doxytag="XMLUri::getFragment"></a><p>
304<table width="100%" cellpadding="2" cellspacing="0" border="0">
305  <tr>
306    <td class="md">
307      <table cellpadding="0" cellspacing="0" border="0">
308        <tr>
309          <td class="md" nowrap valign="top"> const XMLCh * XMLUri::getFragment </td>
310          <td class="md" valign="top">(&nbsp;</td>
311          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
312          <td class="md" valign="top">)&nbsp;</td>
313          <td class="md" nowrap> const</td>
314        </tr>
315
316      </table>
317    </td>
318  </tr>
319</table>
320<table cellspacing=5 cellpadding=0 border=0>
321  <tr>
322    <td>
323      &nbsp;
324    </td>
325    <td>
326
327<p>
328Get the fragment for this URI.
329<p>
330<dl compact><dt><b>
331Returns: </b><dd>
332the fragment for this URI. Null is returned if there was no "#" in the URI spec, empty string if there was a "#" but no fragment following it. </dl>    </td>
333  </tr>
334</table>
335<a name="a8" doxytag="XMLUri::getHost"></a><p>
336<table width="100%" cellpadding="2" cellspacing="0" border="0">
337  <tr>
338    <td class="md">
339      <table cellpadding="0" cellspacing="0" border="0">
340        <tr>
341          <td class="md" nowrap valign="top"> const XMLCh * XMLUri::getHost </td>
342          <td class="md" valign="top">(&nbsp;</td>
343          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
344          <td class="md" valign="top">)&nbsp;</td>
345          <td class="md" nowrap> const</td>
346        </tr>
347
348      </table>
349    </td>
350  </tr>
351</table>
352<table cellspacing=5 cellpadding=0 border=0>
353  <tr>
354    <td>
355      &nbsp;
356    </td>
357    <td>
358
359<p>
360Get the host for this URI.
361<p>
362<dl compact><dt><b>
363Returns: </b><dd>
364the host for this URI (null if not specified). </dl>    </td>
365  </tr>
366</table>
367<a name="a11" doxytag="XMLUri::getPath"></a><p>
368<table width="100%" cellpadding="2" cellspacing="0" border="0">
369  <tr>
370    <td class="md">
371      <table cellpadding="0" cellspacing="0" border="0">
372        <tr>
373          <td class="md" nowrap valign="top"> const XMLCh * XMLUri::getPath </td>
374          <td class="md" valign="top">(&nbsp;</td>
375          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
376          <td class="md" valign="top">)&nbsp;</td>
377          <td class="md" nowrap> const</td>
378        </tr>
379
380      </table>
381    </td>
382  </tr>
383</table>
384<table cellspacing=5 cellpadding=0 border=0>
385  <tr>
386    <td>
387      &nbsp;
388    </td>
389    <td>
390
391<p>
392Get the path for this URI.
393<p>
394Note that the value returned is the path only and does not include the query string or fragment.
395<p>
396<dl compact><dt><b>
397Returns: </b><dd>
398the path for this URI. </dl>    </td>
399  </tr>
400</table>
401<a name="a9" doxytag="XMLUri::getPort"></a><p>
402<table width="100%" cellpadding="2" cellspacing="0" border="0">
403  <tr>
404    <td class="md">
405      <table cellpadding="0" cellspacing="0" border="0">
406        <tr>
407          <td class="md" nowrap valign="top"> int XMLUri::getPort </td>
408          <td class="md" valign="top">(&nbsp;</td>
409          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
410          <td class="md" valign="top">)&nbsp;</td>
411          <td class="md" nowrap> const</td>
412        </tr>
413
414      </table>
415    </td>
416  </tr>
417</table>
418<table cellspacing=5 cellpadding=0 border=0>
419  <tr>
420    <td>
421      &nbsp;
422    </td>
423    <td>
424
425<p>
426Get the port for this URI.
427<p>
428<dl compact><dt><b>
429Returns: </b><dd>
430the port for this URI (-1 if not specified). </dl>    </td>
431  </tr>
432</table>
433<a name="a12" doxytag="XMLUri::getQueryString"></a><p>
434<table width="100%" cellpadding="2" cellspacing="0" border="0">
435  <tr>
436    <td class="md">
437      <table cellpadding="0" cellspacing="0" border="0">
438        <tr>
439          <td class="md" nowrap valign="top"> const XMLCh * XMLUri::getQueryString </td>
440          <td class="md" valign="top">(&nbsp;</td>
441          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
442          <td class="md" valign="top">)&nbsp;</td>
443          <td class="md" nowrap> const</td>
444        </tr>
445
446      </table>
447    </td>
448  </tr>
449</table>
450<table cellspacing=5 cellpadding=0 border=0>
451  <tr>
452    <td>
453      &nbsp;
454    </td>
455    <td>
456
457<p>
458Get the query string for this URI.
459<p>
460<dl compact><dt><b>
461Returns: </b><dd>
462the query string for this URI. Null is returned if there was no "?" in the URI spec, empty string if there was a "?" but no query string following it. </dl>    </td>
463  </tr>
464</table>
465<a name="a10" doxytag="XMLUri::getRegBasedAuthority"></a><p>
466<table width="100%" cellpadding="2" cellspacing="0" border="0">
467  <tr>
468    <td class="md">
469      <table cellpadding="0" cellspacing="0" border="0">
470        <tr>
471          <td class="md" nowrap valign="top"> const XMLCh * XMLUri::getRegBasedAuthority </td>
472          <td class="md" valign="top">(&nbsp;</td>
473          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
474          <td class="md" valign="top">)&nbsp;</td>
475          <td class="md" nowrap> const</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>
490Get the registry based authority for this URI.
491<p>
492<dl compact><dt><b>
493Returns: </b><dd>
494the registry based authority (null if not specified). </dl>    </td>
495  </tr>
496</table>
497<a name="a6" doxytag="XMLUri::getScheme"></a><p>
498<table width="100%" cellpadding="2" cellspacing="0" border="0">
499  <tr>
500    <td class="md">
501      <table cellpadding="0" cellspacing="0" border="0">
502        <tr>
503          <td class="md" nowrap valign="top"> const XMLCh * XMLUri::getScheme </td>
504          <td class="md" valign="top">(&nbsp;</td>
505          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
506          <td class="md" valign="top">)&nbsp;</td>
507          <td class="md" nowrap> const</td>
508        </tr>
509
510      </table>
511    </td>
512  </tr>
513</table>
514<table cellspacing=5 cellpadding=0 border=0>
515  <tr>
516    <td>
517      &nbsp;
518    </td>
519    <td>
520
521<p>
522Get the scheme for this URI.
523<p>
524<dl compact><dt><b>
525Returns: </b><dd>
526the scheme for this URI </dl>    </td>
527  </tr>
528</table>
529<a name="a5" doxytag="XMLUri::getUriText"></a><p>
530<table width="100%" cellpadding="2" cellspacing="0" border="0">
531  <tr>
532    <td class="md">
533      <table cellpadding="0" cellspacing="0" border="0">
534        <tr>
535          <td class="md" nowrap valign="top"> const XMLCh * XMLUri::getUriText </td>
536          <td class="md" valign="top">(&nbsp;</td>
537          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
538          <td class="md" valign="top">)&nbsp;</td>
539          <td class="md" nowrap> const</td>
540        </tr>
541
542      </table>
543    </td>
544  </tr>
545</table>
546<table cellspacing=5 cellpadding=0 border=0>
547  <tr>
548    <td>
549      &nbsp;
550    </td>
551    <td>
552
553<p>
554Get the URI as a string specification.
555<p>
556See RFC 2396 Section 5.2.
557<p>
558<dl compact><dt><b>
559Returns: </b><dd>
560the URI string specification </dl>    </td>
561  </tr>
562</table>
563<a name="a7" doxytag="XMLUri::getUserInfo"></a><p>
564<table width="100%" cellpadding="2" cellspacing="0" border="0">
565  <tr>
566    <td class="md">
567      <table cellpadding="0" cellspacing="0" border="0">
568        <tr>
569          <td class="md" nowrap valign="top"> const XMLCh * XMLUri::getUserInfo </td>
570          <td class="md" valign="top">(&nbsp;</td>
571          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
572          <td class="md" valign="top">)&nbsp;</td>
573          <td class="md" nowrap> const</td>
574        </tr>
575
576      </table>
577    </td>
578  </tr>
579</table>
580<table cellspacing=5 cellpadding=0 border=0>
581  <tr>
582    <td>
583      &nbsp;
584    </td>
585    <td>
586
587<p>
588Get the userinfo for this URI.
589<p>
590<dl compact><dt><b>
591Returns: </b><dd>
592the userinfo for this URI (null if not specified). </dl>    </td>
593  </tr>
594</table>
595<a name="d0" doxytag="XMLUri::isURIString"></a><p>
596<table width="100%" cellpadding="2" cellspacing="0" border="0">
597  <tr>
598    <td class="md">
599      <table cellpadding="0" cellspacing="0" border="0">
600        <tr>
601          <td class="md" nowrap valign="top"> bool XMLUri::isURIString </td>
602          <td class="md" valign="top">(&nbsp;</td>
603          <td class="md" nowrap valign="top">const XMLCh *const&nbsp;</td>
604          <td class="mdname1" valign="top" nowrap>&nbsp; <em>uric</em>          </td>
605          <td class="md" valign="top">)&nbsp;</td>
606          <td class="md" nowrap><code> [static]</code></td>
607        </tr>
608
609      </table>
610    </td>
611  </tr>
612</table>
613<table cellspacing=5 cellpadding=0 border=0>
614  <tr>
615    <td>
616      &nbsp;
617    </td>
618    <td>
619
620<p>
621Determine whether a given string contains only URI characters (also called "uric" in RFC 2396).
622<p>
623uric consist of all reserved characters, unreserved characters and escaped characters.
624<p>
625<dl compact><dt><b>
626Returns: </b><dd>
627true if the string is comprised of uric, false otherwise </dl>    </td>
628  </tr>
629</table>
630<a name="d2" doxytag="XMLUri::isValidURI"></a><p>
631<table width="100%" cellpadding="2" cellspacing="0" border="0">
632  <tr>
633    <td class="md">
634      <table cellpadding="0" cellspacing="0" border="0">
635        <tr>
636          <td class="md" nowrap valign="top"> bool XMLUri::isValidURI </td>
637          <td class="md" valign="top">(&nbsp;</td>
638          <td class="md" nowrap valign="top">bool&nbsp;</td>
639          <td class="mdname" nowrap>&nbsp; <em>haveBaseURI</em>, </td>
640        </tr>
641        <tr>
642          <td></td>
643          <td></td>
644          <td class="md" nowrap>const XMLCh *const&nbsp;</td>
645          <td class="mdname" nowrap>&nbsp; <em>uriStr</em></td>
646        </tr>
647        <tr>
648          <td></td>
649          <td class="md">)&nbsp;</td>
650          <td class="md" colspan="2"><code> [static]</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>
665Determine whether a given string is a valid URI.
666<p>
667    </td>
668  </tr>
669</table>
670<a name="d1" doxytag="XMLUri::isValidURI"></a><p>
671<table width="100%" cellpadding="2" cellspacing="0" border="0">
672  <tr>
673    <td class="md">
674      <table cellpadding="0" cellspacing="0" border="0">
675        <tr>
676          <td class="md" nowrap valign="top"> bool XMLUri::isValidURI </td>
677          <td class="md" valign="top">(&nbsp;</td>
678          <td class="md" nowrap valign="top">const XMLUri *const&nbsp;</td>
679          <td class="mdname" nowrap>&nbsp; <em>baseURI</em>, </td>
680        </tr>
681        <tr>
682          <td></td>
683          <td></td>
684          <td class="md" nowrap>const XMLCh *const&nbsp;</td>
685          <td class="mdname" nowrap>&nbsp; <em>uriStr</em></td>
686        </tr>
687        <tr>
688          <td></td>
689          <td class="md">)&nbsp;</td>
690          <td class="md" colspan="2"><code> [static]</code></td>
691        </tr>
692
693      </table>
694    </td>
695  </tr>
696</table>
697<table cellspacing=5 cellpadding=0 border=0>
698  <tr>
699    <td>
700      &nbsp;
701    </td>
702    <td>
703
704<p>
705Determine whether a given string is a valid URI.
706<p>
707    </td>
708  </tr>
709</table>
710<a name="d3" doxytag="XMLUri::normalizeURI"></a><p>
711<table width="100%" cellpadding="2" cellspacing="0" border="0">
712  <tr>
713    <td class="md">
714      <table cellpadding="0" cellspacing="0" border="0">
715        <tr>
716          <td class="md" nowrap valign="top"> void XMLUri::normalizeURI </td>
717          <td class="md" valign="top">(&nbsp;</td>
718          <td class="md" nowrap valign="top">const XMLCh *const&nbsp;</td>
719          <td class="mdname" nowrap>&nbsp; <em>systemURI</em>, </td>
720        </tr>
721        <tr>
722          <td></td>
723          <td></td>
724          <td class="md" nowrap>XMLBuffer &amp;&nbsp;</td>
725          <td class="mdname" nowrap>&nbsp; <em>normalizedURI</em></td>
726        </tr>
727        <tr>
728          <td></td>
729          <td class="md">)&nbsp;</td>
730          <td class="md" colspan="2"><code> [static]</code></td>
731        </tr>
732
733      </table>
734    </td>
735  </tr>
736</table>
737<table cellspacing=5 cellpadding=0 border=0>
738  <tr>
739    <td>
740      &nbsp;
741    </td>
742    <td>
743
744<p>
745    </td>
746  </tr>
747</table>
748<a name="a3" doxytag="XMLUri::operator="></a><p>
749<table width="100%" cellpadding="2" cellspacing="0" border="0">
750  <tr>
751    <td class="md">
752      <table cellpadding="0" cellspacing="0" border="0">
753        <tr>
754          <td class="md" nowrap valign="top"> XMLUri&amp; XMLUri::operator= </td>
755          <td class="md" valign="top">(&nbsp;</td>
756          <td class="md" nowrap valign="top">const XMLUri &amp;&nbsp;</td>
757          <td class="mdname1" valign="top" nowrap>&nbsp; <em>toAssign</em>          </td>
758          <td class="md" valign="top">)&nbsp;</td>
759          <td class="md" nowrap></td>
760        </tr>
761
762      </table>
763    </td>
764  </tr>
765</table>
766<table cellspacing=5 cellpadding=0 border=0>
767  <tr>
768    <td>
769      &nbsp;
770    </td>
771    <td>
772
773<p>
774    </td>
775  </tr>
776</table>
777<a name="a21" doxytag="XMLUri::setFragment"></a><p>
778<table width="100%" cellpadding="2" cellspacing="0" border="0">
779  <tr>
780    <td class="md">
781      <table cellpadding="0" cellspacing="0" border="0">
782        <tr>
783          <td class="md" nowrap valign="top"> void XMLUri::setFragment </td>
784          <td class="md" valign="top">(&nbsp;</td>
785          <td class="md" nowrap valign="top">const XMLCh *const&nbsp;</td>
786          <td class="mdname1" valign="top" nowrap>&nbsp; <em>newFragment</em>          </td>
787          <td class="md" valign="top">)&nbsp;</td>
788          <td class="md" nowrap></td>
789        </tr>
790
791      </table>
792    </td>
793  </tr>
794</table>
795<table cellspacing=5 cellpadding=0 border=0>
796  <tr>
797    <td>
798      &nbsp;
799    </td>
800    <td>
801
802<p>
803Set the fragment for this URI.
804<p>
805A non-null value is valid only if this is a URI conforming to the generic URI syntax and the path value is not null.<dl compact><dt><b>
806Parameters: </b><dd>
807<table border=0 cellspacing=2 cellpadding=0>
808<tr><td valign=top><em>newFragment</em>&nbsp;</td><td>
809the fragment for this URI </td></tr>
810</table>
811</dl>    </td>
812  </tr>
813</table>
814<a name="a16" doxytag="XMLUri::setHost"></a><p>
815<table width="100%" cellpadding="2" cellspacing="0" border="0">
816  <tr>
817    <td class="md">
818      <table cellpadding="0" cellspacing="0" border="0">
819        <tr>
820          <td class="md" nowrap valign="top"> void XMLUri::setHost </td>
821          <td class="md" valign="top">(&nbsp;</td>
822          <td class="md" nowrap valign="top">const XMLCh *const&nbsp;</td>
823          <td class="mdname1" valign="top" nowrap>&nbsp; <em>newHost</em>          </td>
824          <td class="md" valign="top">)&nbsp;</td>
825          <td class="md" nowrap></td>
826        </tr>
827
828      </table>
829    </td>
830  </tr>
831</table>
832<table cellspacing=5 cellpadding=0 border=0>
833  <tr>
834    <td>
835      &nbsp;
836    </td>
837    <td>
838
839<p>
840Set the host for this URI.
841<p>
842If null is passed in, the userinfo field is also set to null and the port is set to -1.
843<p>
844Note: This method overwrites registry based authority if it previously existed in this URI.<dl compact><dt><b>
845Parameters: </b><dd>
846<table border=0 cellspacing=2 cellpadding=0>
847<tr><td valign=top><em>newHost</em>&nbsp;</td><td>
848the host for this URI </td></tr>
849</table>
850</dl>    </td>
851  </tr>
852</table>
853<a name="a19" doxytag="XMLUri::setPath"></a><p>
854<table width="100%" cellpadding="2" cellspacing="0" border="0">
855  <tr>
856    <td class="md">
857      <table cellpadding="0" cellspacing="0" border="0">
858        <tr>
859          <td class="md" nowrap valign="top"> void XMLUri::setPath </td>
860          <td class="md" valign="top">(&nbsp;</td>
861          <td class="md" nowrap valign="top">const XMLCh *const&nbsp;</td>
862          <td class="mdname1" valign="top" nowrap>&nbsp; <em>newPath</em>          </td>
863          <td class="md" valign="top">)&nbsp;</td>
864          <td class="md" nowrap></td>
865        </tr>
866
867      </table>
868    </td>
869  </tr>
870</table>
871<table cellspacing=5 cellpadding=0 border=0>
872  <tr>
873    <td>
874      &nbsp;
875    </td>
876    <td>
877
878<p>
879Set the path for this URI.
880<p>
881If the supplied path is null, then the query string and fragment are set to null as well.
882<p>
883If the supplied path includes a query string and/or fragment, these fields will be parsed and set as well.
884<p>
885Note:
886<p>
887For URIs following the "generic URI" syntax, the path specified should start with a slash.
888<p>
889For URIs that do not follow the generic URI syntax, this method sets the scheme-specific part.<dl compact><dt><b>
890Parameters: </b><dd>
891<table border=0 cellspacing=2 cellpadding=0>
892<tr><td valign=top><em>newPath</em>&nbsp;</td><td>
893the path for this URI (may be null) </td></tr>
894</table>
895</dl>    </td>
896  </tr>
897</table>
898<a name="a17" doxytag="XMLUri::setPort"></a><p>
899<table width="100%" cellpadding="2" cellspacing="0" border="0">
900  <tr>
901    <td class="md">
902      <table cellpadding="0" cellspacing="0" border="0">
903        <tr>
904          <td class="md" nowrap valign="top"> void XMLUri::setPort </td>
905          <td class="md" valign="top">(&nbsp;</td>
906          <td class="md" nowrap valign="top">int&nbsp;</td>
907          <td class="mdname1" valign="top" nowrap>&nbsp; <em>newPort</em>          </td>
908          <td class="md" valign="top">)&nbsp;</td>
909          <td class="md" nowrap></td>
910        </tr>
911
912      </table>
913    </td>
914  </tr>
915</table>
916<table cellspacing=5 cellpadding=0 border=0>
917  <tr>
918    <td>
919      &nbsp;
920    </td>
921    <td>
922
923<p>
924Set the port for this URI.
925<p>
926-1 is used to indicate that the port is not specified, otherwise valid port numbers are between 0 and 65535. If a valid port number is passed in and the host field is null, an exception is thrown.<dl compact><dt><b>
927Parameters: </b><dd>
928<table border=0 cellspacing=2 cellpadding=0>
929<tr><td valign=top><em>newPort</em>&nbsp;</td><td>
930the port number for this URI </td></tr>
931</table>
932</dl>    </td>
933  </tr>
934</table>
935<a name="a20" doxytag="XMLUri::setQueryString"></a><p>
936<table width="100%" cellpadding="2" cellspacing="0" border="0">
937  <tr>
938    <td class="md">
939      <table cellpadding="0" cellspacing="0" border="0">
940        <tr>
941          <td class="md" nowrap valign="top"> void XMLUri::setQueryString </td>
942          <td class="md" valign="top">(&nbsp;</td>
943          <td class="md" nowrap valign="top">const XMLCh *const&nbsp;</td>
944          <td class="mdname1" valign="top" nowrap>&nbsp; <em>newQueryString</em>          </td>
945          <td class="md" valign="top">)&nbsp;</td>
946          <td class="md" nowrap></td>
947        </tr>
948
949      </table>
950    </td>
951  </tr>
952</table>
953<table cellspacing=5 cellpadding=0 border=0>
954  <tr>
955    <td>
956      &nbsp;
957    </td>
958    <td>
959
960<p>
961Set the query string for this URI.
962<p>
963A non-null value is valid only if this is an URI conforming to the generic URI syntax and the path value is not null.<dl compact><dt><b>
964Parameters: </b><dd>
965<table border=0 cellspacing=2 cellpadding=0>
966<tr><td valign=top><em>newQueryString</em>&nbsp;</td><td>
967the query string for this URI </td></tr>
968</table>
969</dl>    </td>
970  </tr>
971</table>
972<a name="a18" doxytag="XMLUri::setRegBasedAuthority"></a><p>
973<table width="100%" cellpadding="2" cellspacing="0" border="0">
974  <tr>
975    <td class="md">
976      <table cellpadding="0" cellspacing="0" border="0">
977        <tr>
978          <td class="md" nowrap valign="top"> void XMLUri::setRegBasedAuthority </td>
979          <td class="md" valign="top">(&nbsp;</td>
980          <td class="md" nowrap valign="top">const XMLCh *const&nbsp;</td>
981          <td class="mdname1" valign="top" nowrap>&nbsp; <em>newRegAuth</em>          </td>
982          <td class="md" valign="top">)&nbsp;</td>
983          <td class="md" nowrap></td>
984        </tr>
985
986      </table>
987    </td>
988  </tr>
989</table>
990<table cellspacing=5 cellpadding=0 border=0>
991  <tr>
992    <td>
993      &nbsp;
994    </td>
995    <td>
996
997<p>
998Sets the registry based authority for this URI.
999<p>
1000Note: This method overwrites server based authority if it previously existed in this URI.<dl compact><dt><b>
1001Parameters: </b><dd>
1002<table border=0 cellspacing=2 cellpadding=0>
1003<tr><td valign=top><em>newRegAuth</em>&nbsp;</td><td>
1004the registry based authority for this URI </td></tr>
1005</table>
1006</dl>    </td>
1007  </tr>
1008</table>
1009<a name="a14" doxytag="XMLUri::setScheme"></a><p>
1010<table width="100%" cellpadding="2" cellspacing="0" border="0">
1011  <tr>
1012    <td class="md">
1013      <table cellpadding="0" cellspacing="0" border="0">
1014        <tr>
1015          <td class="md" nowrap valign="top"> void XMLUri::setScheme </td>
1016          <td class="md" valign="top">(&nbsp;</td>
1017          <td class="md" nowrap valign="top">const XMLCh *const&nbsp;</td>
1018          <td class="mdname1" valign="top" nowrap>&nbsp; <em>newScheme</em>          </td>
1019          <td class="md" valign="top">)&nbsp;</td>
1020          <td class="md" nowrap></td>
1021        </tr>
1022
1023      </table>
1024    </td>
1025  </tr>
1026</table>
1027<table cellspacing=5 cellpadding=0 border=0>
1028  <tr>
1029    <td>
1030      &nbsp;
1031    </td>
1032    <td>
1033
1034<p>
1035Set the scheme for this URI.
1036<p>
1037The scheme is converted to lowercase before it is set.<dl compact><dt><b>
1038Parameters: </b><dd>
1039<table border=0 cellspacing=2 cellpadding=0>
1040<tr><td valign=top><em>newScheme</em>&nbsp;</td><td>
1041the scheme for this URI (cannot be null) </td></tr>
1042</table>
1043</dl>    </td>
1044  </tr>
1045</table>
1046<a name="a15" doxytag="XMLUri::setUserInfo"></a><p>
1047<table width="100%" cellpadding="2" cellspacing="0" border="0">
1048  <tr>
1049    <td class="md">
1050      <table cellpadding="0" cellspacing="0" border="0">
1051        <tr>
1052          <td class="md" nowrap valign="top"> void XMLUri::setUserInfo </td>
1053          <td class="md" valign="top">(&nbsp;</td>
1054          <td class="md" nowrap valign="top">const XMLCh *const&nbsp;</td>
1055          <td class="mdname1" valign="top" nowrap>&nbsp; <em>newUserInfo</em>          </td>
1056          <td class="md" valign="top">)&nbsp;</td>
1057          <td class="md" nowrap></td>
1058        </tr>
1059
1060      </table>
1061    </td>
1062  </tr>
1063</table>
1064<table cellspacing=5 cellpadding=0 border=0>
1065  <tr>
1066    <td>
1067      &nbsp;
1068    </td>
1069    <td>
1070
1071<p>
1072Set the userinfo for this URI.
1073<p>
1074If a non-null value is passed in and the host value is null, then an exception is thrown.<dl compact><dt><b>
1075Parameters: </b><dd>
1076<table border=0 cellspacing=2 cellpadding=0>
1077<tr><td valign=top><em>newUserInfo</em>&nbsp;</td><td>
1078the userinfo for this URI </td></tr>
1079</table>
1080</dl>    </td>
1081  </tr>
1082</table>
1083<hr>The documentation for this class was generated from the following file:<ul>
1084<li><a class="el" href="XMLUri_8hpp-source.html">XMLUri.hpp</a></ul>
1085    </FONT></TD></TR></TABLE><BR>
1086</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>
1087              Copyright &copy; 1994-2004 The Apache Software Foundation.
1088              All Rights Reserved.
1089            </I></FONT></TD></TR></TABLE></BODY></HTML>
Note: See TracBrowser for help on using the repository browser.