You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

675 lines
38 KiB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.9.1"/>
  7. <title>Xerces-C++: DOMLSInput Class Reference</title>
  8. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  9. <script type="text/javascript" src="jquery.js"></script>
  10. <script type="text/javascript" src="dynsections.js"></script>
  11. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  12. </head>
  13. <body>
  14. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  15. <div id="titlearea">
  16. <table cellspacing="0" cellpadding="0">
  17. <tbody>
  18. <tr style="height: 56px;">
  19. <td style="padding-left: 0.5em;">
  20. <div id="projectname">Xerces-C++
  21. &#160;<span id="projectnumber">3.1.2</span>
  22. </div>
  23. </td>
  24. </tr>
  25. </tbody>
  26. </table>
  27. </div>
  28. <!-- end header part -->
  29. <!-- Generated by Doxygen 1.8.9.1 -->
  30. <div id="navrow1" class="tabs">
  31. <ul class="tablist">
  32. <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  33. <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
  34. <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
  35. <li><a href="files.html"><span>Files</span></a></li>
  36. </ul>
  37. </div>
  38. <div id="navrow2" class="tabs2">
  39. <ul class="tablist">
  40. <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
  41. <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
  42. <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
  43. <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
  44. </ul>
  45. </div>
  46. </div><!-- top -->
  47. <div class="header">
  48. <div class="summary">
  49. <a href="classDOMLSInput-members.html">List of all members</a> </div>
  50. <div class="headertitle">
  51. <div class="title">DOMLSInput Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div>
  52. </div><!--header-->
  53. <div class="contents">
  54. <p>This interface represents a single input source for an XML entity.
  55. <a href="classDOMLSInput.html#details">More...</a></p>
  56. <div class="dynheader">
  57. Inheritance diagram for DOMLSInput:</div>
  58. <div class="dyncontent">
  59. <div class="center">
  60. <img src="classDOMLSInput.png" usemap="#DOMLSInput_map" alt=""/>
  61. <map id="DOMLSInput_map" name="DOMLSInput_map">
  62. <area href="classWrapper4InputSource.html" title="Wrap a SAX InputSource object and make it behave like DOMLSInput. " alt="Wrapper4InputSource" shape="rect" coords="0,56,136,80"/>
  63. </map>
  64. </div></div>
  65. <table class="memberdecls">
  66. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  67. Public Member Functions</h2></td></tr>
  68. <tr><td colspan="2"><div class="groupHeader">Destructor</div></td></tr>
  69. <tr class="memitem:a3b4e1ad6af4e5cb080513ebea9c60908"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMLSInput.html#a3b4e1ad6af4e5cb080513ebea9c60908">~DOMLSInput</a> ()</td></tr>
  70. <tr class="memdesc:a3b4e1ad6af4e5cb080513ebea9c60908"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <a href="#a3b4e1ad6af4e5cb080513ebea9c60908">More...</a><br /></td></tr>
  71. <tr class="separator:a3b4e1ad6af4e5cb080513ebea9c60908"><td class="memSeparator" colspan="2">&#160;</td></tr>
  72. <tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 3</div></td></tr>
  73. <tr class="memitem:aac3025da12408e53514c0019a33fc7cf"><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMLSInput.html#aac3025da12408e53514c0019a33fc7cf">getStringData</a> () const =0</td></tr>
  74. <tr class="memdesc:aac3025da12408e53514c0019a33fc7cf"><td class="mdescLeft">&#160;</td><td class="mdescRight">String data to parse. <a href="#aac3025da12408e53514c0019a33fc7cf">More...</a><br /></td></tr>
  75. <tr class="separator:aac3025da12408e53514c0019a33fc7cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
  76. <tr class="memitem:afe1cdd4c609c8e7fca5d82938a0e52ba"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classInputSource.html">InputSource</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMLSInput.html#afe1cdd4c609c8e7fca5d82938a0e52ba">getByteStream</a> () const =0</td></tr>
  77. <tr class="memdesc:afe1cdd4c609c8e7fca5d82938a0e52ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the byte stream for this input source. <a href="#afe1cdd4c609c8e7fca5d82938a0e52ba">More...</a><br /></td></tr>
  78. <tr class="separator:afe1cdd4c609c8e7fca5d82938a0e52ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
  79. <tr class="memitem:a1edacacf072ec629660c94ebb2a7f8ca"><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMLSInput.html#a1edacacf072ec629660c94ebb2a7f8ca">getEncoding</a> () const =0</td></tr>
  80. <tr class="memdesc:a1edacacf072ec629660c94ebb2a7f8ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">An input source can be set to force the parser to assume a particular encoding for the data that input source reprsents, via the <a class="el" href="classDOMLSInput.html#a486e636419cc78f9a5e8ab309871b508" title="Set the encoding which will be required for use with the XML text read via a stream opened by this in...">setEncoding()</a> method. <a href="#a1edacacf072ec629660c94ebb2a7f8ca">More...</a><br /></td></tr>
  81. <tr class="separator:a1edacacf072ec629660c94ebb2a7f8ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
  82. <tr class="memitem:a654cf42cf2820e1434fa6bd066453cb3"><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMLSInput.html#a654cf42cf2820e1434fa6bd066453cb3">getPublicId</a> () const =0</td></tr>
  83. <tr class="memdesc:a654cf42cf2820e1434fa6bd066453cb3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the public identifier for this input source. <a href="#a654cf42cf2820e1434fa6bd066453cb3">More...</a><br /></td></tr>
  84. <tr class="separator:a654cf42cf2820e1434fa6bd066453cb3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  85. <tr class="memitem:abd2dc514819aa9663326e94dbffb9188"><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMLSInput.html#abd2dc514819aa9663326e94dbffb9188">getSystemId</a> () const =0</td></tr>
  86. <tr class="memdesc:abd2dc514819aa9663326e94dbffb9188"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the system identifier for this input source. <a href="#abd2dc514819aa9663326e94dbffb9188">More...</a><br /></td></tr>
  87. <tr class="separator:abd2dc514819aa9663326e94dbffb9188"><td class="memSeparator" colspan="2">&#160;</td></tr>
  88. <tr class="memitem:a2937e0304778268dfcf6694b62159681"><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMLSInput.html#a2937e0304778268dfcf6694b62159681">getBaseURI</a> () const =0</td></tr>
  89. <tr class="memdesc:a2937e0304778268dfcf6694b62159681"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the base URI to be used for resolving relative URIs to absolute URIs. <a href="#a2937e0304778268dfcf6694b62159681">More...</a><br /></td></tr>
  90. <tr class="separator:a2937e0304778268dfcf6694b62159681"><td class="memSeparator" colspan="2">&#160;</td></tr>
  91. <tr class="memitem:a7683c9d4e6c1fe2e0ef43d64cfbf73cc"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMLSInput.html#a7683c9d4e6c1fe2e0ef43d64cfbf73cc">setStringData</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *data)=0</td></tr>
  92. <tr class="memdesc:a7683c9d4e6c1fe2e0ef43d64cfbf73cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the UTF-16 string for this input source. <a href="#a7683c9d4e6c1fe2e0ef43d64cfbf73cc">More...</a><br /></td></tr>
  93. <tr class="separator:a7683c9d4e6c1fe2e0ef43d64cfbf73cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  94. <tr class="memitem:a7222e17680417326db04c11c54378772"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMLSInput.html#a7222e17680417326db04c11c54378772">setByteStream</a> (<a class="el" href="classInputSource.html">InputSource</a> *stream)=0</td></tr>
  95. <tr class="memdesc:a7222e17680417326db04c11c54378772"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the byte stream for this input source. <a href="#a7222e17680417326db04c11c54378772">More...</a><br /></td></tr>
  96. <tr class="separator:a7222e17680417326db04c11c54378772"><td class="memSeparator" colspan="2">&#160;</td></tr>
  97. <tr class="memitem:a486e636419cc78f9a5e8ab309871b508"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMLSInput.html#a486e636419cc78f9a5e8ab309871b508">setEncoding</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const encodingStr)=0</td></tr>
  98. <tr class="memdesc:a486e636419cc78f9a5e8ab309871b508"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the encoding which will be required for use with the XML text read via a stream opened by this input source. <a href="#a486e636419cc78f9a5e8ab309871b508">More...</a><br /></td></tr>
  99. <tr class="separator:a486e636419cc78f9a5e8ab309871b508"><td class="memSeparator" colspan="2">&#160;</td></tr>
  100. <tr class="memitem:a82702784fef29ccba9f487bd0e8eb85f"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMLSInput.html#a82702784fef29ccba9f487bd0e8eb85f">setPublicId</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const publicId)=0</td></tr>
  101. <tr class="memdesc:a82702784fef29ccba9f487bd0e8eb85f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the public identifier for this input source. <a href="#a82702784fef29ccba9f487bd0e8eb85f">More...</a><br /></td></tr>
  102. <tr class="separator:a82702784fef29ccba9f487bd0e8eb85f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  103. <tr class="memitem:a7249fbe4cb01fca699869714a6341637"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMLSInput.html#a7249fbe4cb01fca699869714a6341637">setSystemId</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const systemId)=0</td></tr>
  104. <tr class="memdesc:a7249fbe4cb01fca699869714a6341637"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the system identifier for this input source. <a href="#a7249fbe4cb01fca699869714a6341637">More...</a><br /></td></tr>
  105. <tr class="separator:a7249fbe4cb01fca699869714a6341637"><td class="memSeparator" colspan="2">&#160;</td></tr>
  106. <tr class="memitem:a1abde210b55eb369a77bad6b1a0fd924"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMLSInput.html#a1abde210b55eb369a77bad6b1a0fd924">setBaseURI</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const baseURI)=0</td></tr>
  107. <tr class="memdesc:a1abde210b55eb369a77bad6b1a0fd924"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the base URI to be used for resolving relative URIs to absolute URIs. <a href="#a1abde210b55eb369a77bad6b1a0fd924">More...</a><br /></td></tr>
  108. <tr class="separator:a1abde210b55eb369a77bad6b1a0fd924"><td class="memSeparator" colspan="2">&#160;</td></tr>
  109. <tr><td colspan="2"><div class="groupHeader">Non-standard Extension</div></td></tr>
  110. <tr class="memitem:a0032e821e273fc1c97df2e0ec31b9467"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMLSInput.html#a0032e821e273fc1c97df2e0ec31b9467">setIssueFatalErrorIfNotFound</a> (bool flag)=0</td></tr>
  111. <tr class="memdesc:a0032e821e273fc1c97df2e0ec31b9467"><td class="mdescLeft">&#160;</td><td class="mdescRight">Indicates if the parser should issue fatal error if this input source is not found. <a href="#a0032e821e273fc1c97df2e0ec31b9467">More...</a><br /></td></tr>
  112. <tr class="separator:a0032e821e273fc1c97df2e0ec31b9467"><td class="memSeparator" colspan="2">&#160;</td></tr>
  113. <tr class="memitem:ab6a8feb584032e887d7ad457b94ddb20"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMLSInput.html#ab6a8feb584032e887d7ad457b94ddb20">getIssueFatalErrorIfNotFound</a> () const =0</td></tr>
  114. <tr class="memdesc:ab6a8feb584032e887d7ad457b94ddb20"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the flag that indicates if the parser should issue fatal error if this input source is not found. <a href="#ab6a8feb584032e887d7ad457b94ddb20">More...</a><br /></td></tr>
  115. <tr class="separator:ab6a8feb584032e887d7ad457b94ddb20"><td class="memSeparator" colspan="2">&#160;</td></tr>
  116. <tr class="memitem:aeca2b7a4721979fe0690ab1dc168f2f5"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMLSInput.html#aeca2b7a4721979fe0690ab1dc168f2f5">release</a> ()=0</td></tr>
  117. <tr class="memdesc:aeca2b7a4721979fe0690ab1dc168f2f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called to indicate that this <a class="el" href="classDOMLSInput.html" title="This interface represents a single input source for an XML entity. ">DOMLSInput</a> is no longer in use and that the implementation may relinquish any resources associated with it. <a href="#aeca2b7a4721979fe0690ab1dc168f2f5">More...</a><br /></td></tr>
  118. <tr class="separator:aeca2b7a4721979fe0690ab1dc168f2f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  119. </table><table class="memberdecls">
  120. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
  121. Protected Member Functions</h2></td></tr>
  122. <tr><td colspan="2"><div class="groupHeader">Hidden constructors</div></td></tr>
  123. <tr class="memitem:ad1c027e5f5170065d3d128250a558969"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMLSInput.html#ad1c027e5f5170065d3d128250a558969">DOMLSInput</a> ()</td></tr>
  124. <tr class="separator:ad1c027e5f5170065d3d128250a558969"><td class="memSeparator" colspan="2">&#160;</td></tr>
  125. </table>
  126. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  127. <div class="textblock"><p>This interface represents a single input source for an XML entity. </p>
  128. <p>This interface allows an application to encapsulate information about an input source in a single object, which may include a public identifier, a system identifier, a byte stream (possibly with a specified encoding), and/or a character stream.</p>
  129. <p>There are two places that the application will deliver this input source to the parser: as the argument to the parse method, or as the return value of the <a class="el" href="classDOMLSResourceResolver.html#aa9c47ea962fdddf40fc43ffdb7270160" title="Allow the application to resolve external resources. ">DOMLSResourceResolver.resolveResource</a> method.</p>
  130. <p>The <a class="el" href="classDOMLSParser.html" title="DOMLSParser provides an API for parsing XML documents and building the corresponding DOM document tre...">DOMLSParser</a> will use the <a class="el" href="classDOMLSInput.html" title="This interface represents a single input source for an XML entity. ">DOMLSInput</a> object to determine how to read XML input. If there is a character stream available, the parser will read that stream directly; if not, the parser will use a byte stream, if available; if neither a character stream nor a byte stream is available, the parser will attempt to open a URI connection to the resource identified by the system identifier.</p>
  131. <p>A <a class="el" href="classDOMLSInput.html" title="This interface represents a single input source for an XML entity. ">DOMLSInput</a> object belongs to the application: the parser shall never modify it in any way (it may modify a copy if necessary).</p>
  132. <dl class="section see"><dt>See also</dt><dd><a class="el" href="classDOMLSParser.html#a45ea6b19b11ffb1aebd2fa24ffed5026" title="Parse an XML document from a resource identified by a DOMLSInput. ">DOMLSParser::parse</a> </dd>
  133. <dd>
  134. <a class="el" href="classDOMLSResourceResolver.html#aa9c47ea962fdddf40fc43ffdb7270160" title="Allow the application to resolve external resources. ">DOMLSResourceResolver::resolveResource</a> </dd></dl>
  135. <dl class="section since"><dt>Since</dt><dd>DOM Level 3 </dd></dl>
  136. </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  137. <a class="anchor" id="ad1c027e5f5170065d3d128250a558969"></a>
  138. <div class="memitem">
  139. <div class="memproto">
  140. <table class="mlabels">
  141. <tr>
  142. <td class="mlabels-left">
  143. <table class="memname">
  144. <tr>
  145. <td class="memname">DOMLSInput::DOMLSInput </td>
  146. <td>(</td>
  147. <td class="paramname"></td><td>)</td>
  148. <td></td>
  149. </tr>
  150. </table>
  151. </td>
  152. <td class="mlabels-right">
  153. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  154. </tr>
  155. </table>
  156. </div><div class="memdoc">
  157. </div>
  158. </div>
  159. <a class="anchor" id="a3b4e1ad6af4e5cb080513ebea9c60908"></a>
  160. <div class="memitem">
  161. <div class="memproto">
  162. <table class="mlabels">
  163. <tr>
  164. <td class="mlabels-left">
  165. <table class="memname">
  166. <tr>
  167. <td class="memname">virtual DOMLSInput::~DOMLSInput </td>
  168. <td>(</td>
  169. <td class="paramname"></td><td>)</td>
  170. <td></td>
  171. </tr>
  172. </table>
  173. </td>
  174. <td class="mlabels-right">
  175. <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
  176. </tr>
  177. </table>
  178. </div><div class="memdoc">
  179. <p>Destructor. </p>
  180. </div>
  181. </div>
  182. <h2 class="groupheader">Member Function Documentation</h2>
  183. <a class="anchor" id="a2937e0304778268dfcf6694b62159681"></a>
  184. <div class="memitem">
  185. <div class="memproto">
  186. <table class="mlabels">
  187. <tr>
  188. <td class="mlabels-left">
  189. <table class="memname">
  190. <tr>
  191. <td class="memname">virtual const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* DOMLSInput::getBaseURI </td>
  192. <td>(</td>
  193. <td class="paramname"></td><td>)</td>
  194. <td> const</td>
  195. </tr>
  196. </table>
  197. </td>
  198. <td class="mlabels-right">
  199. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  200. </tr>
  201. </table>
  202. </div><div class="memdoc">
  203. <p>Get the base URI to be used for resolving relative URIs to absolute URIs. </p>
  204. <p>If the baseURI is itself a relative URI, the behavior is implementation dependent.</p>
  205. <dl class="section return"><dt>Returns</dt><dd>The base URI. </dd></dl>
  206. <dl class="section see"><dt>See also</dt><dd><a class="el" href="classDOMLSInput.html#a1abde210b55eb369a77bad6b1a0fd924" title="Set the base URI to be used for resolving relative URIs to absolute URIs. ">setBaseURI</a> </dd></dl>
  207. <dl class="section since"><dt>Since</dt><dd>DOM Level 3 </dd></dl>
  208. <p>Implemented in <a class="el" href="classWrapper4InputSource.html#aa6ce1aa6d741509b7eb4a77616960125">Wrapper4InputSource</a>.</p>
  209. </div>
  210. </div>
  211. <a class="anchor" id="afe1cdd4c609c8e7fca5d82938a0e52ba"></a>
  212. <div class="memitem">
  213. <div class="memproto">
  214. <table class="mlabels">
  215. <tr>
  216. <td class="mlabels-left">
  217. <table class="memname">
  218. <tr>
  219. <td class="memname">virtual <a class="el" href="classInputSource.html">InputSource</a>* DOMLSInput::getByteStream </td>
  220. <td>(</td>
  221. <td class="paramname"></td><td>)</td>
  222. <td> const</td>
  223. </tr>
  224. </table>
  225. </td>
  226. <td class="mlabels-right">
  227. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  228. </tr>
  229. </table>
  230. </div><div class="memdoc">
  231. <p>Returns the byte stream for this input source. </p>
  232. <dl class="section see"><dt>See also</dt><dd><a class="el" href="classInputSource.html" title="A single input source for an XML entity. ">InputSource</a> </dd></dl>
  233. <p>Implemented in <a class="el" href="classWrapper4InputSource.html#a080f6f0b6a5598403aa7b4996bbd1f0d">Wrapper4InputSource</a>.</p>
  234. </div>
  235. </div>
  236. <a class="anchor" id="a1edacacf072ec629660c94ebb2a7f8ca"></a>
  237. <div class="memitem">
  238. <div class="memproto">
  239. <table class="mlabels">
  240. <tr>
  241. <td class="mlabels-left">
  242. <table class="memname">
  243. <tr>
  244. <td class="memname">virtual const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* DOMLSInput::getEncoding </td>
  245. <td>(</td>
  246. <td class="paramname"></td><td>)</td>
  247. <td> const</td>
  248. </tr>
  249. </table>
  250. </td>
  251. <td class="mlabels-right">
  252. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  253. </tr>
  254. </table>
  255. </div><div class="memdoc">
  256. <p>An input source can be set to force the parser to assume a particular encoding for the data that input source reprsents, via the <a class="el" href="classDOMLSInput.html#a486e636419cc78f9a5e8ab309871b508" title="Set the encoding which will be required for use with the XML text read via a stream opened by this in...">setEncoding()</a> method. </p>
  257. <p>This method returns name of the encoding that is to be forced. If the encoding has never been forced, it returns a null pointer.</p>
  258. <dl class="section return"><dt>Returns</dt><dd>The forced encoding, or null if none was supplied. </dd></dl>
  259. <dl class="section see"><dt>See also</dt><dd><a class="el" href="classDOMLSInput.html#a486e636419cc78f9a5e8ab309871b508" title="Set the encoding which will be required for use with the XML text read via a stream opened by this in...">setEncoding</a> </dd></dl>
  260. <dl class="section since"><dt>Since</dt><dd>DOM Level 3 </dd></dl>
  261. <p>Implemented in <a class="el" href="classWrapper4InputSource.html#ae9409a558a87bf70976176262b903465">Wrapper4InputSource</a>.</p>
  262. </div>
  263. </div>
  264. <a class="anchor" id="ab6a8feb584032e887d7ad457b94ddb20"></a>
  265. <div class="memitem">
  266. <div class="memproto">
  267. <table class="mlabels">
  268. <tr>
  269. <td class="mlabels-left">
  270. <table class="memname">
  271. <tr>
  272. <td class="memname">virtual bool DOMLSInput::getIssueFatalErrorIfNotFound </td>
  273. <td>(</td>
  274. <td class="paramname"></td><td>)</td>
  275. <td> const</td>
  276. </tr>
  277. </table>
  278. </td>
  279. <td class="mlabels-right">
  280. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  281. </tr>
  282. </table>
  283. </div><div class="memdoc">
  284. <p>Get the flag that indicates if the parser should issue fatal error if this input source is not found. </p>
  285. <dl class="section return"><dt>Returns</dt><dd>True if the parser should issue fatal error if this input source is not found. False if the parser issue warning message instead. </dd></dl>
  286. <dl class="section see"><dt>See also</dt><dd><a class="el" href="classDOMLSInput.html#a0032e821e273fc1c97df2e0ec31b9467" title="Indicates if the parser should issue fatal error if this input source is not found. ">setIssueFatalErrorIfNotFound</a> </dd></dl>
  287. <p>Implemented in <a class="el" href="classWrapper4InputSource.html#acdde60aa8b64b4bb2091df9871d26283">Wrapper4InputSource</a>.</p>
  288. </div>
  289. </div>
  290. <a class="anchor" id="a654cf42cf2820e1434fa6bd066453cb3"></a>
  291. <div class="memitem">
  292. <div class="memproto">
  293. <table class="mlabels">
  294. <tr>
  295. <td class="mlabels-left">
  296. <table class="memname">
  297. <tr>
  298. <td class="memname">virtual const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* DOMLSInput::getPublicId </td>
  299. <td>(</td>
  300. <td class="paramname"></td><td>)</td>
  301. <td> const</td>
  302. </tr>
  303. </table>
  304. </td>
  305. <td class="mlabels-right">
  306. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  307. </tr>
  308. </table>
  309. </div><div class="memdoc">
  310. <p>Get the public identifier for this input source. </p>
  311. <dl class="section return"><dt>Returns</dt><dd>The public identifier, or null if none was supplied. </dd></dl>
  312. <dl class="section see"><dt>See also</dt><dd><a class="el" href="classDOMLSInput.html#a82702784fef29ccba9f487bd0e8eb85f" title="Set the public identifier for this input source. ">setPublicId</a> </dd></dl>
  313. <dl class="section since"><dt>Since</dt><dd>DOM Level 3 </dd></dl>
  314. <p>Implemented in <a class="el" href="classWrapper4InputSource.html#a271ec62b413bf74bcb30db52cbef9e35">Wrapper4InputSource</a>.</p>
  315. </div>
  316. </div>
  317. <a class="anchor" id="aac3025da12408e53514c0019a33fc7cf"></a>
  318. <div class="memitem">
  319. <div class="memproto">
  320. <table class="mlabels">
  321. <tr>
  322. <td class="mlabels-left">
  323. <table class="memname">
  324. <tr>
  325. <td class="memname">virtual const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* DOMLSInput::getStringData </td>
  326. <td>(</td>
  327. <td class="paramname"></td><td>)</td>
  328. <td> const</td>
  329. </tr>
  330. </table>
  331. </td>
  332. <td class="mlabels-right">
  333. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  334. </tr>
  335. </table>
  336. </div><div class="memdoc">
  337. <p>String data to parse. </p>
  338. <p>If provided, this will always be treated as a sequence of 16-bit units (UTF-16 encoded characters). It is not a requirement to have an XML declaration when using stringData. If an XML declaration is present, the value of the encoding attribute will be ignored. </p>
  339. <p>Implemented in <a class="el" href="classWrapper4InputSource.html#aa806349d14b4008beeb580fbfb63ac86">Wrapper4InputSource</a>.</p>
  340. </div>
  341. </div>
  342. <a class="anchor" id="abd2dc514819aa9663326e94dbffb9188"></a>
  343. <div class="memitem">
  344. <div class="memproto">
  345. <table class="mlabels">
  346. <tr>
  347. <td class="mlabels-left">
  348. <table class="memname">
  349. <tr>
  350. <td class="memname">virtual const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* DOMLSInput::getSystemId </td>
  351. <td>(</td>
  352. <td class="paramname"></td><td>)</td>
  353. <td> const</td>
  354. </tr>
  355. </table>
  356. </td>
  357. <td class="mlabels-right">
  358. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  359. </tr>
  360. </table>
  361. </div><div class="memdoc">
  362. <p>Get the system identifier for this input source. </p>
  363. <p>If the system ID is a URL, it will be fully resolved.</p>
  364. <dl class="section return"><dt>Returns</dt><dd>The system identifier. </dd></dl>
  365. <dl class="section see"><dt>See also</dt><dd><a class="el" href="classDOMLSInput.html#a7249fbe4cb01fca699869714a6341637" title="Set the system identifier for this input source. ">setSystemId</a> </dd></dl>
  366. <dl class="section since"><dt>Since</dt><dd>DOM Level 3 </dd></dl>
  367. <p>Implemented in <a class="el" href="classWrapper4InputSource.html#a45e5b53bc3ed14474b6bc9dc68edff7a">Wrapper4InputSource</a>.</p>
  368. </div>
  369. </div>
  370. <a class="anchor" id="aeca2b7a4721979fe0690ab1dc168f2f5"></a>
  371. <div class="memitem">
  372. <div class="memproto">
  373. <table class="mlabels">
  374. <tr>
  375. <td class="mlabels-left">
  376. <table class="memname">
  377. <tr>
  378. <td class="memname">virtual void DOMLSInput::release </td>
  379. <td>(</td>
  380. <td class="paramname"></td><td>)</td>
  381. <td></td>
  382. </tr>
  383. </table>
  384. </td>
  385. <td class="mlabels-right">
  386. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  387. </tr>
  388. </table>
  389. </div><div class="memdoc">
  390. <p>Called to indicate that this <a class="el" href="classDOMLSInput.html" title="This interface represents a single input source for an XML entity. ">DOMLSInput</a> is no longer in use and that the implementation may relinquish any resources associated with it. </p>
  391. <p>Access to a released object will lead to unexpected result. </p>
  392. <p>Implemented in <a class="el" href="classWrapper4InputSource.html#a81fa47dda41950e0f4055ca54e197398">Wrapper4InputSource</a>.</p>
  393. </div>
  394. </div>
  395. <a class="anchor" id="a1abde210b55eb369a77bad6b1a0fd924"></a>
  396. <div class="memitem">
  397. <div class="memproto">
  398. <table class="mlabels">
  399. <tr>
  400. <td class="mlabels-left">
  401. <table class="memname">
  402. <tr>
  403. <td class="memname">virtual void DOMLSInput::setBaseURI </td>
  404. <td>(</td>
  405. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
  406. <td class="paramname"><em>baseURI</em></td><td>)</td>
  407. <td></td>
  408. </tr>
  409. </table>
  410. </td>
  411. <td class="mlabels-right">
  412. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  413. </tr>
  414. </table>
  415. </div><div class="memdoc">
  416. <p>Set the base URI to be used for resolving relative URIs to absolute URIs. </p>
  417. <p>If the baseURI is itself a relative URI, the behavior is implementation dependent.</p>
  418. <dl class="params"><dt>Parameters</dt><dd>
  419. <table class="params">
  420. <tr><td class="paramname">baseURI</td><td>The base URI. </td></tr>
  421. </table>
  422. </dd>
  423. </dl>
  424. <dl class="section see"><dt>See also</dt><dd><a class="el" href="classDOMLSInput.html#a2937e0304778268dfcf6694b62159681" title="Get the base URI to be used for resolving relative URIs to absolute URIs. ">getBaseURI</a> </dd></dl>
  425. <dl class="section since"><dt>Since</dt><dd>DOM Level 3 </dd></dl>
  426. <p>Implemented in <a class="el" href="classWrapper4InputSource.html#aa36dcc3b5779af7f6e0b414ed7d9ccfc">Wrapper4InputSource</a>.</p>
  427. </div>
  428. </div>
  429. <a class="anchor" id="a7222e17680417326db04c11c54378772"></a>
  430. <div class="memitem">
  431. <div class="memproto">
  432. <table class="mlabels">
  433. <tr>
  434. <td class="mlabels-left">
  435. <table class="memname">
  436. <tr>
  437. <td class="memname">virtual void DOMLSInput::setByteStream </td>
  438. <td>(</td>
  439. <td class="paramtype"><a class="el" href="classInputSource.html">InputSource</a> *&#160;</td>
  440. <td class="paramname"><em>stream</em></td><td>)</td>
  441. <td></td>
  442. </tr>
  443. </table>
  444. </td>
  445. <td class="mlabels-right">
  446. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  447. </tr>
  448. </table>
  449. </div><div class="memdoc">
  450. <p>Sets the byte stream for this input source. </p>
  451. <dl class="section see"><dt>See also</dt><dd><a class="el" href="classBinInputStream.html">BinInputStream</a> </dd></dl>
  452. <p>Implemented in <a class="el" href="classWrapper4InputSource.html#a19339fc9ad81b84af5f790c95e93ed38">Wrapper4InputSource</a>.</p>
  453. </div>
  454. </div>
  455. <a class="anchor" id="a486e636419cc78f9a5e8ab309871b508"></a>
  456. <div class="memitem">
  457. <div class="memproto">
  458. <table class="mlabels">
  459. <tr>
  460. <td class="mlabels-left">
  461. <table class="memname">
  462. <tr>
  463. <td class="memname">virtual void DOMLSInput::setEncoding </td>
  464. <td>(</td>
  465. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
  466. <td class="paramname"><em>encodingStr</em></td><td>)</td>
  467. <td></td>
  468. </tr>
  469. </table>
  470. </td>
  471. <td class="mlabels-right">
  472. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  473. </tr>
  474. </table>
  475. </div><div class="memdoc">
  476. <p>Set the encoding which will be required for use with the XML text read via a stream opened by this input source. </p>
  477. <p>This is usually not set, allowing the encoding to be sensed in the usual XML way. However, in some cases, the encoding in the file is known to be incorrect because of intermediate transcoding, for instance encapsulation within a MIME document.</p>
  478. <dl class="params"><dt>Parameters</dt><dd>
  479. <table class="params">
  480. <tr><td class="paramname">encodingStr</td><td>The name of the encoding to force. </td></tr>
  481. </table>
  482. </dd>
  483. </dl>
  484. <dl class="section since"><dt>Since</dt><dd>DOM Level 3 </dd></dl>
  485. <p>Implemented in <a class="el" href="classWrapper4InputSource.html#a66130741b32fc7d3023891faf38bd7f8">Wrapper4InputSource</a>.</p>
  486. </div>
  487. </div>
  488. <a class="anchor" id="a0032e821e273fc1c97df2e0ec31b9467"></a>
  489. <div class="memitem">
  490. <div class="memproto">
  491. <table class="mlabels">
  492. <tr>
  493. <td class="mlabels-left">
  494. <table class="memname">
  495. <tr>
  496. <td class="memname">virtual void DOMLSInput::setIssueFatalErrorIfNotFound </td>
  497. <td>(</td>
  498. <td class="paramtype">bool&#160;</td>
  499. <td class="paramname"><em>flag</em></td><td>)</td>
  500. <td></td>
  501. </tr>
  502. </table>
  503. </td>
  504. <td class="mlabels-right">
  505. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  506. </tr>
  507. </table>
  508. </div><div class="memdoc">
  509. <p>Indicates if the parser should issue fatal error if this input source is not found. </p>
  510. <p>If set to false, the parser issue warning message instead.</p>
  511. <dl class="params"><dt>Parameters</dt><dd>
  512. <table class="params">
  513. <tr><td class="paramname">flag</td><td>True if the parser should issue fatal error if this input source is not found. If set to false, the parser issue warning message instead. (Default: true)</td></tr>
  514. </table>
  515. </dd>
  516. </dl>
  517. <dl class="section see"><dt>See also</dt><dd><a class="el" href="classDOMLSInput.html#ab6a8feb584032e887d7ad457b94ddb20" title="Get the flag that indicates if the parser should issue fatal error if this input source is not found...">getIssueFatalErrorIfNotFound</a> </dd></dl>
  518. <p>Implemented in <a class="el" href="classWrapper4InputSource.html#a8a0e5fc30baf1b407e872a9bf139430b">Wrapper4InputSource</a>.</p>
  519. </div>
  520. </div>
  521. <a class="anchor" id="a82702784fef29ccba9f487bd0e8eb85f"></a>
  522. <div class="memitem">
  523. <div class="memproto">
  524. <table class="mlabels">
  525. <tr>
  526. <td class="mlabels-left">
  527. <table class="memname">
  528. <tr>
  529. <td class="memname">virtual void DOMLSInput::setPublicId </td>
  530. <td>(</td>
  531. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
  532. <td class="paramname"><em>publicId</em></td><td>)</td>
  533. <td></td>
  534. </tr>
  535. </table>
  536. </td>
  537. <td class="mlabels-right">
  538. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  539. </tr>
  540. </table>
  541. </div><div class="memdoc">
  542. <p>Set the public identifier for this input source. </p>
  543. <p>The public identifier is always optional: if the application writer includes one, it will be provided as part of the location information.</p>
  544. <dl class="params"><dt>Parameters</dt><dd>
  545. <table class="params">
  546. <tr><td class="paramname">publicId</td><td>The public identifier as a string. </td></tr>
  547. </table>
  548. </dd>
  549. </dl>
  550. <dl class="section see"><dt>See also</dt><dd><a class="el" href="classDOMLSInput.html#a654cf42cf2820e1434fa6bd066453cb3" title="Get the public identifier for this input source. ">getPublicId</a> </dd></dl>
  551. <dl class="section since"><dt>Since</dt><dd>DOM Level 3 </dd></dl>
  552. <p>Implemented in <a class="el" href="classWrapper4InputSource.html#a95e29d7ef7de282e837e23976a898ef2">Wrapper4InputSource</a>.</p>
  553. </div>
  554. </div>
  555. <a class="anchor" id="a7683c9d4e6c1fe2e0ef43d64cfbf73cc"></a>
  556. <div class="memitem">
  557. <div class="memproto">
  558. <table class="mlabels">
  559. <tr>
  560. <td class="mlabels-left">
  561. <table class="memname">
  562. <tr>
  563. <td class="memname">virtual void DOMLSInput::setStringData </td>
  564. <td>(</td>
  565. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *&#160;</td>
  566. <td class="paramname"><em>data</em></td><td>)</td>
  567. <td></td>
  568. </tr>
  569. </table>
  570. </td>
  571. <td class="mlabels-right">
  572. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  573. </tr>
  574. </table>
  575. </div><div class="memdoc">
  576. <p>Sets the UTF-16 string for this input source. </p>
  577. <p>Implemented in <a class="el" href="classWrapper4InputSource.html#a6f2b18f505eea373cfcdde927d1b2c86">Wrapper4InputSource</a>.</p>
  578. </div>
  579. </div>
  580. <a class="anchor" id="a7249fbe4cb01fca699869714a6341637"></a>
  581. <div class="memitem">
  582. <div class="memproto">
  583. <table class="mlabels">
  584. <tr>
  585. <td class="mlabels-left">
  586. <table class="memname">
  587. <tr>
  588. <td class="memname">virtual void DOMLSInput::setSystemId </td>
  589. <td>(</td>
  590. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
  591. <td class="paramname"><em>systemId</em></td><td>)</td>
  592. <td></td>
  593. </tr>
  594. </table>
  595. </td>
  596. <td class="mlabels-right">
  597. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  598. </tr>
  599. </table>
  600. </div><div class="memdoc">
  601. <p>Set the system identifier for this input source. </p>
  602. <p>The system id is always required. The public id may be used to map to another system id, but the system id must always be present as a fall back.</p>
  603. <p>If the system ID is a URL, it must be fully resolved.</p>
  604. <dl class="params"><dt>Parameters</dt><dd>
  605. <table class="params">
  606. <tr><td class="paramname">systemId</td><td>The system identifier as a string. </td></tr>
  607. </table>
  608. </dd>
  609. </dl>
  610. <dl class="section see"><dt>See also</dt><dd><a class="el" href="classDOMLSInput.html#abd2dc514819aa9663326e94dbffb9188" title="Get the system identifier for this input source. ">getSystemId</a> </dd></dl>
  611. <dl class="section since"><dt>Since</dt><dd>DOM Level 3 </dd></dl>
  612. <p>Implemented in <a class="el" href="classWrapper4InputSource.html#aba257215181a3db653350565c4677cad">Wrapper4InputSource</a>.</p>
  613. </div>
  614. </div>
  615. <hr/>The documentation for this class was generated from the following file:<ul>
  616. <li><a class="el" href="DOMLSInput_8hpp_source.html">DOMLSInput.hpp</a></li>
  617. </ul>
  618. </div><!-- contents -->
  619. <!-- start footer part -->
  620. <hr class="footer"/><address class="footer"><small>
  621. Generated on Wed Mar 18 2015 10:43:38 for Xerces-C++ by &#160;<a href="http://www.doxygen.org/index.html">
  622. <img class="footer" src="doxygen.png" alt="doxygen"/>
  623. </a> 1.8.9.1
  624. </small></address>
  625. </body>
  626. </html>