|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.9.1"/> <title>Xerces-C++: XMLUri.hpp Source File</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">Xerces-C++  <span id="projectnumber">3.1.2</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.9.1 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_901b4356d5f32ee418b4c714d07fb65a.html">src</a></li><li class="navelem"><a class="el" href="dir_477226ead712f319998d821c029f7620.html">xercesc</a></li><li class="navelem"><a class="el" href="dir_f02e54c5bd281853e16b6572a737d9ee.html">util</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">XMLUri.hpp</div> </div> </div><!--header--> <div class="contents"> <a href="XMLUri_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div> <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</span></div> <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * contributor license agreements. See the NOTICE file distributed with</span></div> <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * this work for additional information regarding copyright ownership.</span></div> <div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</span></div> <div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * (the "License"); you may not use this file except in compliance with</span></div> <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * the License. You may obtain a copy of the License at</span></div> <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * </span></div> <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span></div> <div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * </span></div> <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span></div> <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span></div> <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div> <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * See the License for the specific language governing permissions and</span></div> <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> * limitations under the License.</span></div> <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> */</span></div> <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div> <div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment">/*</span></div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> * $Id: XMLUri.hpp 557254 2007-07-18 13:28:54Z amassari $</span></div> <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> */</span></div> <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div> <div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#if !defined(XERCESC_INCLUDE_GUARD_XMLURI_HPP)</span></div> <div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#define XERCESC_INCLUDE_GUARD_XMLURI_HPP</span></div> <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div> <div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <<a class="code" href="XMemory_8hpp.html">xercesc/util/XMemory.hpp</a>></span></div> <div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <<a class="code" href="XMLString_8hpp.html">xercesc/util/XMLString.hpp</a>></span></div> <div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div> <div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include <xercesc/internal/XSerializable.hpp></span></div> <div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include <xercesc/framework/XMLBuffer.hpp></span></div> <div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div> <div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <a class="code" href="XercesDefs_8hpp.html#a43d74fa53d868d978f3e97cbb78b194d">XERCES_CPP_NAMESPACE_BEGIN</a></div> <div class="line"><a name="l00032"></a><span class="lineno"> 32</span> </div> <div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="comment">/*</span></div> <div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="comment"> * This class is a direct port of Java's URI class, to distinguish</span></div> <div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="comment"> * itself from the XMLURL, we use the name XMLUri instead of</span></div> <div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="comment"> * XMLURI.</span></div> <div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="comment"> *</span></div> <div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="comment"> * TODO: how to relate XMLUri and XMLURL since URL is part of URI.</span></div> <div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="comment"> *</span></div> <div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="comment"> */</span></div> <div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div> <div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="classXMLUri.html"> 42</a></span> <span class="keyword">class </span><a class="code" href="XercesDefs_8hpp.html#a97a524372e218133a8eb0aca39b4bd21">XMLUTIL_EXPORT</a> <a class="code" href="classXMLUri.html">XMLUri</a> : <span class="keyword">public</span> XSerializable, <span class="keyword">public</span> <a class="code" href="classXMemory.html">XMemory</a></div> <div class="line"><a name="l00043"></a><span class="lineno"> 43</span> {</div> <div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="keyword">public</span>:</div> <div class="line"><a name="l00045"></a><span class="lineno"> 45</span> </div> <div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="comment">// Constructors and Destructor</span></div> <div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00049"></a><span class="lineno"> 49</span> </div> <div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <a class="code" href="classXMLUri.html">XMLUri</a>(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> uriSpec,</div> <div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>);</div> <div class="line"><a name="l00080"></a><span class="lineno"> 80</span> </div> <div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <a class="code" href="classXMLUri.html">XMLUri</a>(<span class="keyword">const</span> <a class="code" href="classXMLUri.html">XMLUri</a>* <span class="keyword">const</span> baseURI</div> <div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> uriSpec</div> <div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>);</div> <div class="line"><a name="l00100"></a><span class="lineno"> 100</span> </div> <div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <a class="code" href="classXMLUri.html">XMLUri</a>(<span class="keyword">const</span> <a class="code" href="classXMLUri.html">XMLUri</a>& toCopy);</div> <div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <a class="code" href="classXMLUri.html">XMLUri</a>& operator=(<span class="keyword">const</span> <a class="code" href="classXMLUri.html">XMLUri</a>& toAssign);</div> <div class="line"><a name="l00106"></a><span class="lineno"> 106</span> </div> <div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="keyword">virtual</span> ~<a class="code" href="classXMLUri.html">XMLUri</a>();</div> <div class="line"><a name="l00108"></a><span class="lineno"> 108</span> </div> <div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <span class="comment">// Getter methods</span></div> <div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00117"></a><span class="lineno"> 117</span> <span class="comment"></span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* getUriText() <span class="keyword">const</span>;</div> <div class="line"><a name="l00118"></a><span class="lineno"> 118</span> </div> <div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* getScheme() <span class="keyword">const</span>;</div> <div class="line"><a name="l00125"></a><span class="lineno"> 125</span> </div> <div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* getUserInfo() <span class="keyword">const</span>;</div> <div class="line"><a name="l00132"></a><span class="lineno"> 132</span> </div> <div class="line"><a name="l00133"></a><span class="lineno"> 133</span> </div> <div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* getHost() <span class="keyword">const</span>;</div> <div class="line"><a name="l00140"></a><span class="lineno"> 140</span> </div> <div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <span class="keywordtype">int</span> getPort() <span class="keyword">const</span>;</div> <div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  </div> <div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* getRegBasedAuthority() <span class="keyword">const</span>;</div> <div class="line"><a name="l00154"></a><span class="lineno"> 154</span> </div> <div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* getPath() <span class="keyword">const</span>;</div> <div class="line"><a name="l00162"></a><span class="lineno"> 162</span> </div> <div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* getQueryString() <span class="keyword">const</span>;</div> <div class="line"><a name="l00171"></a><span class="lineno"> 171</span> </div> <div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* getFragment() <span class="keyword">const</span>;</div> <div class="line"><a name="l00180"></a><span class="lineno"> 180</span> </div> <div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <span class="comment">// Setter methods</span></div> <div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00184"></a><span class="lineno"> 184</span> </div> <div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <span class="keywordtype">void</span> setScheme(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> newScheme);</div> <div class="line"><a name="l00193"></a><span class="lineno"> 193</span> </div> <div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  <span class="keywordtype">void</span> setUserInfo(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> newUserInfo);</div> <div class="line"><a name="l00202"></a><span class="lineno"> 202</span> </div> <div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  <span class="keywordtype">void</span> setHost(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> newHost);</div> <div class="line"><a name="l00214"></a><span class="lineno"> 214</span> </div> <div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  <span class="keywordtype">void</span> setPort(<span class="keywordtype">int</span> newPort);</div> <div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  </div> <div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  <span class="keywordtype">void</span> setRegBasedAuthority(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> newRegAuth);</div> <div class="line"><a name="l00235"></a><span class="lineno"> 235</span> </div> <div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  <span class="keywordtype">void</span> setPath(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> newPath);</div> <div class="line"><a name="l00257"></a><span class="lineno"> 257</span> </div> <div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  <span class="keywordtype">void</span> setQueryString(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> newQueryString);</div> <div class="line"><a name="l00267"></a><span class="lineno"> 267</span> </div> <div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  <span class="keywordtype">void</span> setFragment(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> newFragment);</div> <div class="line"><a name="l00277"></a><span class="lineno"> 277</span> </div> <div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  <span class="comment">// Miscellaneous methods</span></div> <div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00281"></a><span class="lineno"> 281</span> </div> <div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> isURIString(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> uric);</div> <div class="line"><a name="l00290"></a><span class="lineno"> 290</span> </div> <div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> isValidURI( <span class="keyword">const</span> <a class="code" href="classXMLUri.html">XMLUri</a>* <span class="keyword">const</span> baseURI</div> <div class="line"><a name="l00295"></a><span class="lineno"> 295</span>  , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> uriStr</div> <div class="line"><a name="l00296"></a><span class="lineno"> 296</span>  , <span class="keywordtype">bool</span> bAllowSpaces=<span class="keyword">false</span>);</div> <div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> isValidURI( <span class="keywordtype">bool</span> haveBaseURI</div> <div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> uriStr</div> <div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  , <span class="keywordtype">bool</span> bAllowSpaces=<span class="keyword">false</span>);</div> <div class="line"><a name="l00303"></a><span class="lineno"> 303</span> </div> <div class="line"><a name="l00304"></a><span class="lineno"> 304</span> </div> <div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> normalizeURI(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> systemURI,</div> <div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  XMLBuffer& normalizedURI);</div> <div class="line"><a name="l00307"></a><span class="lineno"> 307</span> </div> <div class="line"><a name="l00308"></a><span class="lineno"> 308</span>  <span class="comment">/***</span></div> <div class="line"><a name="l00309"></a><span class="lineno"> 309</span> <span class="comment"> * Support for Serialization/De-serialization</span></div> <div class="line"><a name="l00310"></a><span class="lineno"> 310</span> <span class="comment"> ***/</span></div> <div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  DECL_XSERIALIZABLE(<a class="code" href="classXMLUri.html">XMLUri</a>)</div> <div class="line"><a name="l00312"></a><span class="lineno"> 312</span> </div> <div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  <a class="code" href="classXMLUri.html">XMLUri</a>(<a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>);</div> <div class="line"><a name="l00314"></a><span class="lineno"> 314</span> </div> <div class="line"><a name="l00315"></a><span class="lineno"> 315</span> <span class="keyword">private</span>:</div> <div class="line"><a name="l00316"></a><span class="lineno"> 316</span> </div> <div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> MARK_OR_RESERVED_CHARACTERS[];</div> <div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> RESERVED_CHARACTERS[];</div> <div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> MARK_CHARACTERS[];</div> <div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> SCHEME_CHARACTERS[];</div> <div class="line"><a name="l00321"></a><span class="lineno"> 321</span>  <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> USERINFO_CHARACTERS[];</div> <div class="line"><a name="l00322"></a><span class="lineno"> 322</span>  <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> REG_NAME_CHARACTERS[];</div> <div class="line"><a name="l00323"></a><span class="lineno"> 323</span>  <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> PATH_CHARACTERS[];</div> <div class="line"><a name="l00324"></a><span class="lineno"> 324</span> </div> <div class="line"><a name="l00325"></a><span class="lineno"> 325</span>  <span class="comment">//helper method for getUriText</span></div> <div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  <span class="keywordtype">void</span> buildFullText();</div> <div class="line"><a name="l00327"></a><span class="lineno"> 327</span> </div> <div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00329"></a><span class="lineno"> 329</span>  <span class="comment">// Private helper methods</span></div> <div class="line"><a name="l00330"></a><span class="lineno"> 330</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00331"></a><span class="lineno"> 331</span> </div> <div class="line"><a name="l00337"></a><span class="lineno"> 337</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> isReservedCharacter(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> theChar);</div> <div class="line"><a name="l00338"></a><span class="lineno"> 338</span>  </div> <div class="line"><a name="l00344"></a><span class="lineno"> 344</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> isPathCharacter(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> theChar);</div> <div class="line"><a name="l00345"></a><span class="lineno"> 345</span> </div> <div class="line"><a name="l00351"></a><span class="lineno"> 351</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> isUnreservedCharacter(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> theChar);</div> <div class="line"><a name="l00352"></a><span class="lineno"> 352</span> </div> <div class="line"><a name="l00358"></a><span class="lineno"> 358</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> isReservedOrUnreservedCharacter(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> theChar);</div> <div class="line"><a name="l00359"></a><span class="lineno"> 359</span> </div> <div class="line"><a name="l00367"></a><span class="lineno"> 367</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> isConformantSchemeName(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> scheme);</div> <div class="line"><a name="l00368"></a><span class="lineno"> 368</span> </div> <div class="line"><a name="l00374"></a><span class="lineno"> 374</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> isConformantUserInfo(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> userInfo</div> <div class="line"><a name="l00375"></a><span class="lineno"> 375</span>  , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager);</div> <div class="line"><a name="l00376"></a><span class="lineno"> 376</span>  </div> <div class="line"><a name="l00384"></a><span class="lineno"> 384</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> isValidServerBasedAuthority(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> host</div> <div class="line"><a name="l00385"></a><span class="lineno"> 385</span>  , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> hostLen</div> <div class="line"><a name="l00386"></a><span class="lineno"> 386</span>  , <span class="keyword">const</span> <span class="keywordtype">int</span> port</div> <div class="line"><a name="l00387"></a><span class="lineno"> 387</span>  , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> userinfo</div> <div class="line"><a name="l00388"></a><span class="lineno"> 388</span>  , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> userLen);</div> <div class="line"><a name="l00389"></a><span class="lineno"> 389</span>  </div> <div class="line"><a name="l00397"></a><span class="lineno"> 397</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> isValidServerBasedAuthority(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> host</div> <div class="line"><a name="l00398"></a><span class="lineno"> 398</span>  , <span class="keyword">const</span> <span class="keywordtype">int</span> port</div> <div class="line"><a name="l00399"></a><span class="lineno"> 399</span>  , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> userinfo</div> <div class="line"><a name="l00400"></a><span class="lineno"> 400</span>  , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager);</div> <div class="line"><a name="l00401"></a><span class="lineno"> 401</span>  </div> <div class="line"><a name="l00409"></a><span class="lineno"> 409</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> isValidRegistryBasedAuthority(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> authority</div> <div class="line"><a name="l00410"></a><span class="lineno"> 410</span>  , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> authLen);</div> <div class="line"><a name="l00411"></a><span class="lineno"> 411</span> </div> <div class="line"><a name="l00419"></a><span class="lineno"> 419</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> isValidRegistryBasedAuthority(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> authority);</div> <div class="line"><a name="l00420"></a><span class="lineno"> 420</span> </div> <div class="line"><a name="l00438"></a><span class="lineno"> 438</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> isWellFormedAddress(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> addr</div> <div class="line"><a name="l00439"></a><span class="lineno"> 439</span>  , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager);</div> <div class="line"><a name="l00440"></a><span class="lineno"> 440</span>  </div> <div class="line"><a name="l00450"></a><span class="lineno"> 450</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> isWellFormedIPv4Address(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> addr, <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> length);</div> <div class="line"><a name="l00451"></a><span class="lineno"> 451</span>  </div> <div class="line"><a name="l00465"></a><span class="lineno"> 465</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> isWellFormedIPv6Reference(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> addr, <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> length);</div> <div class="line"><a name="l00466"></a><span class="lineno"> 466</span>  </div> <div class="line"><a name="l00482"></a><span class="lineno"> 482</span>  <span class="keyword">static</span> <span class="keywordtype">int</span> scanHexSequence (<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> addr, <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> index, <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> end, <span class="keywordtype">int</span>& counter);</div> <div class="line"><a name="l00483"></a><span class="lineno"> 483</span> </div> <div class="line"><a name="l00491"></a><span class="lineno"> 491</span>  <span class="keywordtype">bool</span> isGenericURI();</div> <div class="line"><a name="l00492"></a><span class="lineno"> 492</span> </div> <div class="line"><a name="l00493"></a><span class="lineno"> 493</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00494"></a><span class="lineno"> 494</span>  <span class="comment">// Miscellaneous methods</span></div> <div class="line"><a name="l00495"></a><span class="lineno"> 495</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00496"></a><span class="lineno"> 496</span> </div> <div class="line"><a name="l00502"></a><span class="lineno"> 502</span>  <span class="keywordtype">void</span> initialize(<span class="keyword">const</span> <a class="code" href="classXMLUri.html">XMLUri</a>& toCopy);</div> <div class="line"><a name="l00503"></a><span class="lineno"> 503</span> </div> <div class="line"><a name="l00518"></a><span class="lineno"> 518</span>  <span class="keywordtype">void</span> initialize(<span class="keyword">const</span> <a class="code" href="classXMLUri.html">XMLUri</a>* <span class="keyword">const</span> baseURI</div> <div class="line"><a name="l00519"></a><span class="lineno"> 519</span>  , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> uriSpec);</div> <div class="line"><a name="l00520"></a><span class="lineno"> 520</span> </div> <div class="line"><a name="l00527"></a><span class="lineno"> 527</span>  <span class="keywordtype">void</span> initializeScheme(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> uriSpec);</div> <div class="line"><a name="l00528"></a><span class="lineno"> 528</span> </div> <div class="line"><a name="l00536"></a><span class="lineno"> 536</span>  <span class="keywordtype">void</span> initializeAuthority(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> uriSpec);</div> <div class="line"><a name="l00537"></a><span class="lineno"> 537</span> </div> <div class="line"><a name="l00544"></a><span class="lineno"> 544</span>  <span class="keywordtype">void</span> initializePath(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> uriSpec);</div> <div class="line"><a name="l00545"></a><span class="lineno"> 545</span> </div> <div class="line"><a name="l00550"></a><span class="lineno"> 550</span>  <span class="keywordtype">void</span> cleanUp();</div> <div class="line"><a name="l00551"></a><span class="lineno"> 551</span> </div> <div class="line"><a name="l00552"></a><span class="lineno"> 552</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> isConformantSchemeName(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> scheme,</div> <div class="line"><a name="l00553"></a><span class="lineno"> 553</span>  <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> schemeLen);</div> <div class="line"><a name="l00554"></a><span class="lineno"> 554</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> processScheme(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> uriStr, <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a>& index);</div> <div class="line"><a name="l00555"></a><span class="lineno"> 555</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> processAuthority(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> uriStr, <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> authLen);</div> <div class="line"><a name="l00556"></a><span class="lineno"> 556</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> isWellFormedAddress(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> addr, <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> addrLen);</div> <div class="line"><a name="l00557"></a><span class="lineno"> 557</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> processPath(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> pathStr, <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> pathStrLen,</div> <div class="line"><a name="l00558"></a><span class="lineno"> 558</span>  <span class="keyword">const</span> <span class="keywordtype">bool</span> isSchemePresent, <span class="keyword">const</span> <span class="keywordtype">bool</span> bAllowSpaces=<span class="keyword">false</span>);</div> <div class="line"><a name="l00559"></a><span class="lineno"> 559</span> </div> <div class="line"><a name="l00560"></a><span class="lineno"> 560</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00561"></a><span class="lineno"> 561</span>  <span class="comment">// Data members</span></div> <div class="line"><a name="l00562"></a><span class="lineno"> 562</span>  <span class="comment">//</span></div> <div class="line"><a name="l00563"></a><span class="lineno"> 563</span>  <span class="comment">// for all the data member, we own it,</span></div> <div class="line"><a name="l00564"></a><span class="lineno"> 564</span>  <span class="comment">// responsible for the creation and/or deletion for</span></div> <div class="line"><a name="l00565"></a><span class="lineno"> 565</span>  <span class="comment">// the memory allocated.</span></div> <div class="line"><a name="l00566"></a><span class="lineno"> 566</span>  <span class="comment">//</span></div> <div class="line"><a name="l00567"></a><span class="lineno"> 567</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00568"></a><span class="lineno"> 568</span>  <span class="keywordtype">int</span> fPort;</div> <div class="line"><a name="l00569"></a><span class="lineno"> 569</span>  <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* fScheme;</div> <div class="line"><a name="l00570"></a><span class="lineno"> 570</span>  <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* fUserInfo;</div> <div class="line"><a name="l00571"></a><span class="lineno"> 571</span>  <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* fHost;</div> <div class="line"><a name="l00572"></a><span class="lineno"> 572</span>  <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* fRegAuth;</div> <div class="line"><a name="l00573"></a><span class="lineno"> 573</span>  <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* fPath;</div> <div class="line"><a name="l00574"></a><span class="lineno"> 574</span>  <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* fQueryString;</div> <div class="line"><a name="l00575"></a><span class="lineno"> 575</span>  <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* fFragment;</div> <div class="line"><a name="l00576"></a><span class="lineno"> 576</span>  <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* fURIText;</div> <div class="line"><a name="l00577"></a><span class="lineno"> 577</span>  <a class="code" href="classMemoryManager.html">MemoryManager</a>* fMemoryManager;</div> <div class="line"><a name="l00578"></a><span class="lineno"> 578</span> };</div> <div class="line"><a name="l00579"></a><span class="lineno"> 579</span> </div> <div class="line"><a name="l00580"></a><span class="lineno"> 580</span> <span class="comment">// ---------------------------------------------------------------------------</span></div> <div class="line"><a name="l00581"></a><span class="lineno"> 581</span> <span class="comment">// XMLUri: Getter methods</span></div> <div class="line"><a name="l00582"></a><span class="lineno"> 582</span> <span class="comment">// ---------------------------------------------------------------------------</span></div> <div class="line"><a name="l00583"></a><span class="lineno"><a class="line" href="classXMLUri.html#adc7f1e2937100718f079635e742b92ed"> 583</a></span> <span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <a class="code" href="classXMLUri.html#adc7f1e2937100718f079635e742b92ed">XMLUri::getScheme</a>()<span class="keyword"> const</span></div> <div class="line"><a name="l00584"></a><span class="lineno"> 584</span> <span class="keyword"></span>{</div> <div class="line"><a name="l00585"></a><span class="lineno"> 585</span>  <span class="keywordflow">return</span> fScheme;</div> <div class="line"><a name="l00586"></a><span class="lineno"> 586</span> }</div> <div class="line"><a name="l00587"></a><span class="lineno"> 587</span> </div> <div class="line"><a name="l00588"></a><span class="lineno"><a class="line" href="classXMLUri.html#a8bc1fe4c424591b3305c1c3fe0ee41f9"> 588</a></span> <span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <a class="code" href="classXMLUri.html#a8bc1fe4c424591b3305c1c3fe0ee41f9">XMLUri::getUserInfo</a>()<span class="keyword"> const</span></div> <div class="line"><a name="l00589"></a><span class="lineno"> 589</span> <span class="keyword"></span>{</div> <div class="line"><a name="l00590"></a><span class="lineno"> 590</span>  <span class="keywordflow">return</span> fUserInfo;</div> <div class="line"><a name="l00591"></a><span class="lineno"> 591</span> }</div> <div class="line"><a name="l00592"></a><span class="lineno"> 592</span> </div> <div class="line"><a name="l00593"></a><span class="lineno"><a class="line" href="classXMLUri.html#a42105a5531c568f587a6e1df4339c1ec"> 593</a></span> <span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <a class="code" href="classXMLUri.html#a42105a5531c568f587a6e1df4339c1ec">XMLUri::getHost</a>()<span class="keyword"> const</span></div> <div class="line"><a name="l00594"></a><span class="lineno"> 594</span> <span class="keyword"></span>{</div> <div class="line"><a name="l00595"></a><span class="lineno"> 595</span>  <span class="keywordflow">return</span> fHost;</div> <div class="line"><a name="l00596"></a><span class="lineno"> 596</span> }</div> <div class="line"><a name="l00597"></a><span class="lineno"> 597</span> </div> <div class="line"><a name="l00598"></a><span class="lineno"><a class="line" href="classXMLUri.html#ae8a7376d22dbb897cb5790766deb9a69"> 598</a></span> <span class="keyword">inline</span> <span class="keywordtype">int</span> <a class="code" href="classXMLUri.html#ae8a7376d22dbb897cb5790766deb9a69">XMLUri::getPort</a>()<span class="keyword"> const</span></div> <div class="line"><a name="l00599"></a><span class="lineno"> 599</span> <span class="keyword"></span>{</div> <div class="line"><a name="l00600"></a><span class="lineno"> 600</span>  <span class="keywordflow">return</span> fPort;</div> <div class="line"><a name="l00601"></a><span class="lineno"> 601</span> }</div> <div class="line"><a name="l00602"></a><span class="lineno"> 602</span> </div> <div class="line"><a name="l00603"></a><span class="lineno"><a class="line" href="classXMLUri.html#ab1306e8b575f86bcec0c59a3c678ebf4"> 603</a></span> <span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <a class="code" href="classXMLUri.html#ab1306e8b575f86bcec0c59a3c678ebf4">XMLUri::getRegBasedAuthority</a>()<span class="keyword"> const</span></div> <div class="line"><a name="l00604"></a><span class="lineno"> 604</span> <span class="keyword"></span>{</div> <div class="line"><a name="l00605"></a><span class="lineno"> 605</span>  <span class="keywordflow">return</span> fRegAuth;</div> <div class="line"><a name="l00606"></a><span class="lineno"> 606</span> }</div> <div class="line"><a name="l00607"></a><span class="lineno"> 607</span> </div> <div class="line"><a name="l00608"></a><span class="lineno"><a class="line" href="classXMLUri.html#abe23d90317ad6366e0537231820a6dc6"> 608</a></span> <span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <a class="code" href="classXMLUri.html#abe23d90317ad6366e0537231820a6dc6">XMLUri::getPath</a>()<span class="keyword"> const</span></div> <div class="line"><a name="l00609"></a><span class="lineno"> 609</span> <span class="keyword"></span>{</div> <div class="line"><a name="l00610"></a><span class="lineno"> 610</span>  <span class="keywordflow">return</span> fPath;</div> <div class="line"><a name="l00611"></a><span class="lineno"> 611</span> }</div> <div class="line"><a name="l00612"></a><span class="lineno"> 612</span> </div> <div class="line"><a name="l00613"></a><span class="lineno"><a class="line" href="classXMLUri.html#a477400b973e2b51b7ec50e49c066aad4"> 613</a></span> <span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <a class="code" href="classXMLUri.html#a477400b973e2b51b7ec50e49c066aad4">XMLUri::getQueryString</a>()<span class="keyword"> const</span></div> <div class="line"><a name="l00614"></a><span class="lineno"> 614</span> <span class="keyword"></span>{</div> <div class="line"><a name="l00615"></a><span class="lineno"> 615</span>  <span class="keywordflow">return</span> fQueryString;</div> <div class="line"><a name="l00616"></a><span class="lineno"> 616</span> }</div> <div class="line"><a name="l00617"></a><span class="lineno"> 617</span> </div> <div class="line"><a name="l00618"></a><span class="lineno"><a class="line" href="classXMLUri.html#a77aac5245d5921c494fb217e20da3f70"> 618</a></span> <span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <a class="code" href="classXMLUri.html#a77aac5245d5921c494fb217e20da3f70">XMLUri::getFragment</a>()<span class="keyword"> const</span></div> <div class="line"><a name="l00619"></a><span class="lineno"> 619</span> <span class="keyword"></span>{</div> <div class="line"><a name="l00620"></a><span class="lineno"> 620</span>  <span class="keywordflow">return</span> fFragment;</div> <div class="line"><a name="l00621"></a><span class="lineno"> 621</span> }</div> <div class="line"><a name="l00622"></a><span class="lineno"> 622</span> </div> <div class="line"><a name="l00623"></a><span class="lineno"><a class="line" href="classXMLUri.html#a853e674cf82bffef9dce833d8b73aa79"> 623</a></span> <span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <a class="code" href="classXMLUri.html#a853e674cf82bffef9dce833d8b73aa79">XMLUri::getUriText</a>()<span class="keyword"> const</span></div> <div class="line"><a name="l00624"></a><span class="lineno"> 624</span> <span class="keyword"></span>{</div> <div class="line"><a name="l00625"></a><span class="lineno"> 625</span>  <span class="comment">//</span></div> <div class="line"><a name="l00626"></a><span class="lineno"> 626</span>  <span class="comment">// Fault it in if not already. Since this is a const method and we</span></div> <div class="line"><a name="l00627"></a><span class="lineno"> 627</span>  <span class="comment">// can't use mutable members due the compilers we have to support,</span></div> <div class="line"><a name="l00628"></a><span class="lineno"> 628</span>  <span class="comment">// we have to cast off the constness.</span></div> <div class="line"><a name="l00629"></a><span class="lineno"> 629</span>  <span class="comment">//</span></div> <div class="line"><a name="l00630"></a><span class="lineno"> 630</span>  <span class="keywordflow">if</span> (!fURIText)</div> <div class="line"><a name="l00631"></a><span class="lineno"> 631</span>  ((<a class="code" href="classXMLUri.html">XMLUri</a>*)<span class="keyword">this</span>)->buildFullText();</div> <div class="line"><a name="l00632"></a><span class="lineno"> 632</span> </div> <div class="line"><a name="l00633"></a><span class="lineno"> 633</span>  <span class="keywordflow">return</span> fURIText;</div> <div class="line"><a name="l00634"></a><span class="lineno"> 634</span> }</div> <div class="line"><a name="l00635"></a><span class="lineno"> 635</span> </div> <div class="line"><a name="l00636"></a><span class="lineno"> 636</span> <span class="comment">// ---------------------------------------------------------------------------</span></div> <div class="line"><a name="l00637"></a><span class="lineno"> 637</span> <span class="comment">// XMLUri: Helper methods</span></div> <div class="line"><a name="l00638"></a><span class="lineno"> 638</span> <span class="comment">// ---------------------------------------------------------------------------</span></div> <div class="line"><a name="l00639"></a><span class="lineno"> 639</span> <span class="keyword">inline</span> <span class="keywordtype">bool</span> XMLUri::isReservedOrUnreservedCharacter(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> theChar)</div> <div class="line"><a name="l00640"></a><span class="lineno"> 640</span> {</div> <div class="line"><a name="l00641"></a><span class="lineno"> 641</span>  <span class="keywordflow">return</span> (<a class="code" href="classXMLString.html#aaeee559a4e5e833076d8396154c23796">XMLString::isAlphaNum</a>(theChar) ||</div> <div class="line"><a name="l00642"></a><span class="lineno"> 642</span>  <a class="code" href="classXMLString.html#abe462dd38b0a1300d133a1a0b480e6bf">XMLString::indexOf</a>(MARK_OR_RESERVED_CHARACTERS, theChar) != -1);</div> <div class="line"><a name="l00643"></a><span class="lineno"> 643</span> }</div> <div class="line"><a name="l00644"></a><span class="lineno"> 644</span> </div> <div class="line"><a name="l00645"></a><span class="lineno"> 645</span> <span class="keyword">inline</span> <span class="keywordtype">bool</span> XMLUri::isReservedCharacter(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> theChar)</div> <div class="line"><a name="l00646"></a><span class="lineno"> 646</span> {</div> <div class="line"><a name="l00647"></a><span class="lineno"> 647</span>  <span class="keywordflow">return</span> (<a class="code" href="classXMLString.html#abe462dd38b0a1300d133a1a0b480e6bf">XMLString::indexOf</a>(RESERVED_CHARACTERS, theChar) != -1);</div> <div class="line"><a name="l00648"></a><span class="lineno"> 648</span> }</div> <div class="line"><a name="l00649"></a><span class="lineno"> 649</span> </div> <div class="line"><a name="l00650"></a><span class="lineno"> 650</span> <span class="keyword">inline</span> <span class="keywordtype">bool</span> XMLUri::isPathCharacter(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> theChar)</div> <div class="line"><a name="l00651"></a><span class="lineno"> 651</span> {</div> <div class="line"><a name="l00652"></a><span class="lineno"> 652</span>  <span class="keywordflow">return</span> (<a class="code" href="classXMLString.html#abe462dd38b0a1300d133a1a0b480e6bf">XMLString::indexOf</a>(PATH_CHARACTERS, theChar) != -1);</div> <div class="line"><a name="l00653"></a><span class="lineno"> 653</span> }</div> <div class="line"><a name="l00654"></a><span class="lineno"> 654</span> </div> <div class="line"><a name="l00655"></a><span class="lineno"> 655</span> <span class="keyword">inline</span> <span class="keywordtype">bool</span> XMLUri::isUnreservedCharacter(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> theChar)</div> <div class="line"><a name="l00656"></a><span class="lineno"> 656</span> {</div> <div class="line"><a name="l00657"></a><span class="lineno"> 657</span>  <span class="keywordflow">return</span> (<a class="code" href="classXMLString.html#aaeee559a4e5e833076d8396154c23796">XMLString::isAlphaNum</a>(theChar) ||</div> <div class="line"><a name="l00658"></a><span class="lineno"> 658</span>  <a class="code" href="classXMLString.html#abe462dd38b0a1300d133a1a0b480e6bf">XMLString::indexOf</a>(MARK_CHARACTERS, theChar) != -1);</div> <div class="line"><a name="l00659"></a><span class="lineno"> 659</span> }</div> <div class="line"><a name="l00660"></a><span class="lineno"> 660</span> </div> <div class="line"><a name="l00661"></a><span class="lineno"> 661</span> <a class="code" href="XercesDefs_8hpp.html#af03d5cb905763ef7a7bd22ab82718285">XERCES_CPP_NAMESPACE_END</a></div> <div class="line"><a name="l00662"></a><span class="lineno"> 662</span> </div> <div class="line"><a name="l00663"></a><span class="lineno"> 663</span> <span class="preprocessor">#endif</span></div> <div class="ttc" id="classXMLUri_html_ae8a7376d22dbb897cb5790766deb9a69"><div class="ttname"><a href="classXMLUri.html#ae8a7376d22dbb897cb5790766deb9a69">XMLUri::getPort</a></div><div class="ttdeci">int getPort() const </div><div class="ttdoc">Get the port for this URI. </div><div class="ttdef"><b>Definition:</b> XMLUri.hpp:598</div></div> <div class="ttc" id="classXMLUri_html_a477400b973e2b51b7ec50e49c066aad4"><div class="ttname"><a href="classXMLUri.html#a477400b973e2b51b7ec50e49c066aad4">XMLUri::getQueryString</a></div><div class="ttdeci">const XMLCh * getQueryString() const </div><div class="ttdoc">Get the query string for this URI. </div><div class="ttdef"><b>Definition:</b> XMLUri.hpp:613</div></div> <div class="ttc" id="classXMemory_html"><div class="ttname"><a href="classXMemory.html">XMemory</a></div><div class="ttdoc">This class makes it possible to override the C++ memory management by adding new/delete operators to ...</div><div class="ttdef"><b>Definition:</b> XMemory.hpp:40</div></div> <div class="ttc" id="classXMLPlatformUtils_html_a97eff0d9fff3567bea3acd3ca4d95252"><div class="ttname"><a href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></div><div class="ttdeci">static MemoryManager * fgMemoryManager</div><div class="ttdoc">The configurable memory manager. </div><div class="ttdef"><b>Definition:</b> PlatformUtils.hpp:121</div></div> <div class="ttc" id="classXMLUri_html_a42105a5531c568f587a6e1df4339c1ec"><div class="ttname"><a href="classXMLUri.html#a42105a5531c568f587a6e1df4339c1ec">XMLUri::getHost</a></div><div class="ttdeci">const XMLCh * getHost() const </div><div class="ttdoc">Get the host for this URI. </div><div class="ttdef"><b>Definition:</b> XMLUri.hpp:593</div></div> <div class="ttc" id="classXMLUri_html_ab1306e8b575f86bcec0c59a3c678ebf4"><div class="ttname"><a href="classXMLUri.html#ab1306e8b575f86bcec0c59a3c678ebf4">XMLUri::getRegBasedAuthority</a></div><div class="ttdeci">const XMLCh * getRegBasedAuthority() const </div><div class="ttdoc">Get the registry based authority for this URI. </div><div class="ttdef"><b>Definition:</b> XMLUri.hpp:603</div></div> <div class="ttc" id="classXMLUri_html_a853e674cf82bffef9dce833d8b73aa79"><div class="ttname"><a href="classXMLUri.html#a853e674cf82bffef9dce833d8b73aa79">XMLUri::getUriText</a></div><div class="ttdeci">const XMLCh * getUriText() const </div><div class="ttdoc">Get the URI as a string specification. </div><div class="ttdef"><b>Definition:</b> XMLUri.hpp:623</div></div> <div class="ttc" id="classXMLUri_html_abe23d90317ad6366e0537231820a6dc6"><div class="ttname"><a href="classXMLUri.html#abe23d90317ad6366e0537231820a6dc6">XMLUri::getPath</a></div><div class="ttdeci">const XMLCh * getPath() const </div><div class="ttdoc">Get the path for this URI. </div><div class="ttdef"><b>Definition:</b> XMLUri.hpp:608</div></div> <div class="ttc" id="classMemoryManager_html"><div class="ttname"><a href="classMemoryManager.html">MemoryManager</a></div><div class="ttdoc">Configurable memory manager. </div><div class="ttdef"><b>Definition:</b> MemoryManager.hpp:39</div></div> <div class="ttc" id="Xerces__autoconf__config_8borland_8hpp_html_ac0f7e36996cd03eb43bcee10321f77cd"><div class="ttname"><a href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a></div><div class="ttdeci">SIZE_T XMLSize_t</div><div class="ttdef"><b>Definition:</b> Xerces_autoconf_config.borland.hpp:86</div></div> <div class="ttc" id="classXMLString_html_aaeee559a4e5e833076d8396154c23796"><div class="ttname"><a href="classXMLString.html#aaeee559a4e5e833076d8396154c23796">XMLString::isAlphaNum</a></div><div class="ttdeci">static bool isAlphaNum(XMLCh const theChar)</div><div class="ttdoc">Checks whether a character is within [0-9a-zA-Z]. </div></div> <div class="ttc" id="XercesDefs_8hpp_html_a43d74fa53d868d978f3e97cbb78b194d"><div class="ttname"><a href="XercesDefs_8hpp.html#a43d74fa53d868d978f3e97cbb78b194d">XERCES_CPP_NAMESPACE_BEGIN</a></div><div class="ttdeci">#define XERCES_CPP_NAMESPACE_BEGIN</div><div class="ttdef"><b>Definition:</b> XercesDefs.hpp:112</div></div> <div class="ttc" id="Xerces__autoconf__config_8borland_8hpp_html_a8cb107980a360c490ad7661f5d27cc0e"><div class="ttname"><a href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a></div><div class="ttdeci">wchar_t XMLCh</div><div class="ttdef"><b>Definition:</b> Xerces_autoconf_config.borland.hpp:92</div></div> <div class="ttc" id="XMLString_8hpp_html"><div class="ttname"><a href="XMLString_8hpp.html">XMLString.hpp</a></div></div> <div class="ttc" id="XercesDefs_8hpp_html_a97a524372e218133a8eb0aca39b4bd21"><div class="ttname"><a href="XercesDefs_8hpp.html#a97a524372e218133a8eb0aca39b4bd21">XMLUTIL_EXPORT</a></div><div class="ttdeci">#define XMLUTIL_EXPORT</div><div class="ttdef"><b>Definition:</b> XercesDefs.hpp:162</div></div> <div class="ttc" id="XercesDefs_8hpp_html_af03d5cb905763ef7a7bd22ab82718285"><div class="ttname"><a href="XercesDefs_8hpp.html#af03d5cb905763ef7a7bd22ab82718285">XERCES_CPP_NAMESPACE_END</a></div><div class="ttdeci">#define XERCES_CPP_NAMESPACE_END</div><div class="ttdef"><b>Definition:</b> XercesDefs.hpp:113</div></div> <div class="ttc" id="classXMLUri_html"><div class="ttname"><a href="classXMLUri.html">XMLUri</a></div><div class="ttdef"><b>Definition:</b> XMLUri.hpp:42</div></div> <div class="ttc" id="classXMLUri_html_a8bc1fe4c424591b3305c1c3fe0ee41f9"><div class="ttname"><a href="classXMLUri.html#a8bc1fe4c424591b3305c1c3fe0ee41f9">XMLUri::getUserInfo</a></div><div class="ttdeci">const XMLCh * getUserInfo() const </div><div class="ttdoc">Get the userinfo for this URI. </div><div class="ttdef"><b>Definition:</b> XMLUri.hpp:588</div></div> <div class="ttc" id="classXMLString_html_abe462dd38b0a1300d133a1a0b480e6bf"><div class="ttname"><a href="classXMLString.html#abe462dd38b0a1300d133a1a0b480e6bf">XMLString::indexOf</a></div><div class="ttdeci">static int indexOf(const char *const toSearch, const char ch)</div><div class="ttdoc">Provides the index of the first occurrence of a character within a string. </div></div> <div class="ttc" id="classXMLUri_html_a77aac5245d5921c494fb217e20da3f70"><div class="ttname"><a href="classXMLUri.html#a77aac5245d5921c494fb217e20da3f70">XMLUri::getFragment</a></div><div class="ttdeci">const XMLCh * getFragment() const </div><div class="ttdoc">Get the fragment for this URI. </div><div class="ttdef"><b>Definition:</b> XMLUri.hpp:618</div></div> <div class="ttc" id="XMemory_8hpp_html"><div class="ttname"><a href="XMemory_8hpp.html">XMemory.hpp</a></div></div> <div class="ttc" id="classXMLUri_html_adc7f1e2937100718f079635e742b92ed"><div class="ttname"><a href="classXMLUri.html#adc7f1e2937100718f079635e742b92ed">XMLUri::getScheme</a></div><div class="ttdeci">const XMLCh * getScheme() const </div><div class="ttdoc">Get the scheme for this URI. </div><div class="ttdef"><b>Definition:</b> XMLUri.hpp:583</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Wed Mar 18 2015 10:43:37 for Xerces-C++ by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.9.1 </small></address> </body> </html>
|