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.

728 lines
47 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++: InputSource 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="classInputSource-members.html">List of all members</a> </div>
  50. <div class="headertitle">
  51. <div class="title">InputSource Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div>
  52. </div><!--header-->
  53. <div class="contents">
  54. <p>A single input source for an XML entity.
  55. <a href="classInputSource.html#details">More...</a></p>
  56. <div class="dynheader">
  57. Inheritance diagram for InputSource:</div>
  58. <div class="dyncontent">
  59. <div class="center">
  60. <img src="classInputSource.png" usemap="#InputSource_map" alt=""/>
  61. <map id="InputSource_map" name="InputSource_map">
  62. <area href="classXMemory.html" title="This class makes it possible to override the C++ memory management by adding new/delete operators to ..." alt="XMemory" shape="rect" coords="300,0,440,24"/>
  63. <area href="classLocalFileInputSource.html" title="This class is a derivative of the standard InputSource class. " alt="LocalFileInputSource" shape="rect" coords="0,112,140,136"/>
  64. <area href="classMemBufInputSource.html" title="This class is a derivative of the standard InputSource class. " alt="MemBufInputSource" shape="rect" coords="150,112,290,136"/>
  65. <area href="classStdInInputSource.html" title="This class is a derivative of the standard InputSource class. " alt="StdInInputSource" shape="rect" coords="300,112,440,136"/>
  66. <area href="classURLInputSource.html" title="This class is a derivative of the standard InputSource class. " alt="URLInputSource" shape="rect" coords="450,112,590,136"/>
  67. <area href="classWrapper4DOMLSInput.html" title="Wrap a DOMLSInput object and make it behave like a SAX InputSource. " alt="Wrapper4DOMLSInput" shape="rect" coords="600,112,740,136"/>
  68. </map>
  69. </div></div>
  70. <table class="memberdecls">
  71. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  72. Public Member Functions</h2></td></tr>
  73. <tr><td colspan="2"><div class="groupHeader">Destructor</div></td></tr>
  74. <tr class="memitem:a09958a0275a39a619a5b64b3e86e76ed"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classInputSource.html#a09958a0275a39a619a5b64b3e86e76ed">~InputSource</a> ()</td></tr>
  75. <tr class="memdesc:a09958a0275a39a619a5b64b3e86e76ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <a href="#a09958a0275a39a619a5b64b3e86e76ed">More...</a><br /></td></tr>
  76. <tr class="separator:a09958a0275a39a619a5b64b3e86e76ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
  77. <tr><td colspan="2"><div class="groupHeader">Virtual input source interface</div></td></tr>
  78. <tr class="memitem:af0722ef511e91e7b290528b3fd13be09"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classBinInputStream.html">BinInputStream</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classInputSource.html#af0722ef511e91e7b290528b3fd13be09">makeStream</a> () const =0</td></tr>
  79. <tr class="memdesc:af0722ef511e91e7b290528b3fd13be09"><td class="mdescLeft">&#160;</td><td class="mdescRight">Makes the byte stream for this input source. <a href="#af0722ef511e91e7b290528b3fd13be09">More...</a><br /></td></tr>
  80. <tr class="separator:af0722ef511e91e7b290528b3fd13be09"><td class="memSeparator" colspan="2">&#160;</td></tr>
  81. <tr><td colspan="2"><div class="groupHeader">Getter methods</div></td></tr>
  82. <tr class="memitem:a70b363bf9af9aa831b40f4cceebd1d75"><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="classInputSource.html#a70b363bf9af9aa831b40f4cceebd1d75">getEncoding</a> () const </td></tr>
  83. <tr class="memdesc:a70b363bf9af9aa831b40f4cceebd1d75"><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 represents, via the <a class="el" href="classInputSource.html#a7604c9a16a6104bfae0a185f8879c74b" 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="#a70b363bf9af9aa831b40f4cceebd1d75">More...</a><br /></td></tr>
  84. <tr class="separator:a70b363bf9af9aa831b40f4cceebd1d75"><td class="memSeparator" colspan="2">&#160;</td></tr>
  85. <tr class="memitem:a394888614a429622bf936b8253542cfb"><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="classInputSource.html#a394888614a429622bf936b8253542cfb">getPublicId</a> () const </td></tr>
  86. <tr class="memdesc:a394888614a429622bf936b8253542cfb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the public identifier for this input source. <a href="#a394888614a429622bf936b8253542cfb">More...</a><br /></td></tr>
  87. <tr class="separator:a394888614a429622bf936b8253542cfb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  88. <tr class="memitem:a0ab7381f8cf189abc2b97fe22dacb31e"><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="classInputSource.html#a0ab7381f8cf189abc2b97fe22dacb31e">getSystemId</a> () const </td></tr>
  89. <tr class="memdesc:a0ab7381f8cf189abc2b97fe22dacb31e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the system identifier for this input source. <a href="#a0ab7381f8cf189abc2b97fe22dacb31e">More...</a><br /></td></tr>
  90. <tr class="separator:a0ab7381f8cf189abc2b97fe22dacb31e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  91. <tr class="memitem:a4b8eee7896615e4e2ddb9acbc72543ed"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classInputSource.html#a4b8eee7896615e4e2ddb9acbc72543ed">getIssueFatalErrorIfNotFound</a> () const </td></tr>
  92. <tr class="memdesc:a4b8eee7896615e4e2ddb9acbc72543ed"><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="#a4b8eee7896615e4e2ddb9acbc72543ed">More...</a><br /></td></tr>
  93. <tr class="separator:a4b8eee7896615e4e2ddb9acbc72543ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
  94. <tr class="memitem:a8abf186a8be413a303fc9847268c3446"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classMemoryManager.html">MemoryManager</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classInputSource.html#a8abf186a8be413a303fc9847268c3446">getMemoryManager</a> () const </td></tr>
  95. <tr class="separator:a8abf186a8be413a303fc9847268c3446"><td class="memSeparator" colspan="2">&#160;</td></tr>
  96. <tr><td colspan="2"><div class="groupHeader">Setter methods</div></td></tr>
  97. <tr class="memitem:a7604c9a16a6104bfae0a185f8879c74b"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classInputSource.html#a7604c9a16a6104bfae0a185f8879c74b">setEncoding</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const encodingStr)</td></tr>
  98. <tr class="memdesc:a7604c9a16a6104bfae0a185f8879c74b"><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="#a7604c9a16a6104bfae0a185f8879c74b">More...</a><br /></td></tr>
  99. <tr class="separator:a7604c9a16a6104bfae0a185f8879c74b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  100. <tr class="memitem:a4cb3a625fac37721b2c719183e124792"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classInputSource.html#a4cb3a625fac37721b2c719183e124792">setPublicId</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const publicId)</td></tr>
  101. <tr class="memdesc:a4cb3a625fac37721b2c719183e124792"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the public identifier for this input source. <a href="#a4cb3a625fac37721b2c719183e124792">More...</a><br /></td></tr>
  102. <tr class="separator:a4cb3a625fac37721b2c719183e124792"><td class="memSeparator" colspan="2">&#160;</td></tr>
  103. <tr class="memitem:a08045f4fc62d1b4ba2da457365073d3e"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classInputSource.html#a08045f4fc62d1b4ba2da457365073d3e">setSystemId</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const systemId)</td></tr>
  104. <tr class="memdesc:a08045f4fc62d1b4ba2da457365073d3e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the system identifier for this input source. <a href="#a08045f4fc62d1b4ba2da457365073d3e">More...</a><br /></td></tr>
  105. <tr class="separator:a08045f4fc62d1b4ba2da457365073d3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  106. <tr class="memitem:a7fc1468bd6a6bb15111273c45e81a9b6"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classInputSource.html#a7fc1468bd6a6bb15111273c45e81a9b6">setIssueFatalErrorIfNotFound</a> (const bool flag)</td></tr>
  107. <tr class="memdesc:a7fc1468bd6a6bb15111273c45e81a9b6"><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="#a7fc1468bd6a6bb15111273c45e81a9b6">More...</a><br /></td></tr>
  108. <tr class="separator:a7fc1468bd6a6bb15111273c45e81a9b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  109. <tr class="inherit_header pub_methods_classXMemory"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classXMemory')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classXMemory.html">XMemory</a></td></tr>
  110. <tr class="memitem:a717678d9deadc627a41fe0dddede9f7f inherit pub_methods_classXMemory"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMemory.html#a717678d9deadc627a41fe0dddede9f7f">operator new</a> (size_t size)</td></tr>
  111. <tr class="memdesc:a717678d9deadc627a41fe0dddede9f7f inherit pub_methods_classXMemory"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method overrides operator new. <a href="#a717678d9deadc627a41fe0dddede9f7f">More...</a><br /></td></tr>
  112. <tr class="separator:a717678d9deadc627a41fe0dddede9f7f inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
  113. <tr class="memitem:ac3022fcc968c684a31c1e6a9ede83c10 inherit pub_methods_classXMemory"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMemory.html#ac3022fcc968c684a31c1e6a9ede83c10">operator new</a> (size_t size, <a class="el" href="classMemoryManager.html">MemoryManager</a> *memMgr)</td></tr>
  114. <tr class="memdesc:ac3022fcc968c684a31c1e6a9ede83c10 inherit pub_methods_classXMemory"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method defines a custom operator new, that will use the provided memory manager to perform the allocation. <a href="#ac3022fcc968c684a31c1e6a9ede83c10">More...</a><br /></td></tr>
  115. <tr class="separator:ac3022fcc968c684a31c1e6a9ede83c10 inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
  116. <tr class="memitem:aeaad885b799ac2188ffd28f76182339c inherit pub_methods_classXMemory"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMemory.html#aeaad885b799ac2188ffd28f76182339c">operator new</a> (size_t size, void *ptr)</td></tr>
  117. <tr class="memdesc:aeaad885b799ac2188ffd28f76182339c inherit pub_methods_classXMemory"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method overrides placement operator new. <a href="#aeaad885b799ac2188ffd28f76182339c">More...</a><br /></td></tr>
  118. <tr class="separator:aeaad885b799ac2188ffd28f76182339c inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
  119. <tr class="memitem:a9da30f1601ea458908cbf150fc2f8f8b inherit pub_methods_classXMemory"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMemory.html#a9da30f1601ea458908cbf150fc2f8f8b">operator delete</a> (void *p)</td></tr>
  120. <tr class="memdesc:a9da30f1601ea458908cbf150fc2f8f8b inherit pub_methods_classXMemory"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method overrides operator delete. <a href="#a9da30f1601ea458908cbf150fc2f8f8b">More...</a><br /></td></tr>
  121. <tr class="separator:a9da30f1601ea458908cbf150fc2f8f8b inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
  122. <tr class="memitem:a22efbc6459bdbe79f83b7791bba4d1f6 inherit pub_methods_classXMemory"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMemory.html#a22efbc6459bdbe79f83b7791bba4d1f6">operator delete</a> (void *p, <a class="el" href="classMemoryManager.html">MemoryManager</a> *memMgr)</td></tr>
  123. <tr class="memdesc:a22efbc6459bdbe79f83b7791bba4d1f6 inherit pub_methods_classXMemory"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method provides a matching delete for the custom operator new. <a href="#a22efbc6459bdbe79f83b7791bba4d1f6">More...</a><br /></td></tr>
  124. <tr class="separator:a22efbc6459bdbe79f83b7791bba4d1f6 inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
  125. <tr class="memitem:a32ee38b70d412e12f669cfbd86adf623 inherit pub_methods_classXMemory"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMemory.html#a32ee38b70d412e12f669cfbd86adf623">operator delete</a> (void *p, void *ptr)</td></tr>
  126. <tr class="memdesc:a32ee38b70d412e12f669cfbd86adf623 inherit pub_methods_classXMemory"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method provides a matching delete for the placement new. <a href="#a32ee38b70d412e12f669cfbd86adf623">More...</a><br /></td></tr>
  127. <tr class="separator:a32ee38b70d412e12f669cfbd86adf623 inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
  128. </table><table class="memberdecls">
  129. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
  130. Protected Member Functions</h2></td></tr>
  131. <tr><td colspan="2"><div class="groupHeader">Constructors and Destructor</div></td></tr>
  132. <tr class="memitem:a601a7aa7124e2d8e9664eda9aea6b622"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classInputSource.html#a601a7aa7124e2d8e9664eda9aea6b622">InputSource</a> (<a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
  133. <tr class="memdesc:a601a7aa7124e2d8e9664eda9aea6b622"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor. <a href="#a601a7aa7124e2d8e9664eda9aea6b622">More...</a><br /></td></tr>
  134. <tr class="separator:a601a7aa7124e2d8e9664eda9aea6b622"><td class="memSeparator" colspan="2">&#160;</td></tr>
  135. <tr class="memitem:a6ac39778219ca114471e60459a829aee"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classInputSource.html#a6ac39778219ca114471e60459a829aee">InputSource</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const systemId, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
  136. <tr class="memdesc:a6ac39778219ca114471e60459a829aee"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor with a system identifier as XMLCh type. <a href="#a6ac39778219ca114471e60459a829aee">More...</a><br /></td></tr>
  137. <tr class="separator:a6ac39778219ca114471e60459a829aee"><td class="memSeparator" colspan="2">&#160;</td></tr>
  138. <tr class="memitem:ae001a9f156d185c83c30574992b7e388"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classInputSource.html#ae001a9f156d185c83c30574992b7e388">InputSource</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const systemId, const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const publicId, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
  139. <tr class="memdesc:ae001a9f156d185c83c30574992b7e388"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor with a system and public identifiers. <a href="#ae001a9f156d185c83c30574992b7e388">More...</a><br /></td></tr>
  140. <tr class="separator:ae001a9f156d185c83c30574992b7e388"><td class="memSeparator" colspan="2">&#160;</td></tr>
  141. <tr class="memitem:aaba282a5740ad84b756f698465557318"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classInputSource.html#aaba282a5740ad84b756f698465557318">InputSource</a> (const char *const systemId, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
  142. <tr class="memdesc:aaba282a5740ad84b756f698465557318"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor witha system identifier as string. <a href="#aaba282a5740ad84b756f698465557318">More...</a><br /></td></tr>
  143. <tr class="separator:aaba282a5740ad84b756f698465557318"><td class="memSeparator" colspan="2">&#160;</td></tr>
  144. <tr class="memitem:ad507e9f25ec6dac7f07d23a8ee0dcc45"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classInputSource.html#ad507e9f25ec6dac7f07d23a8ee0dcc45">InputSource</a> (const char *const systemId, const char *const publicId, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
  145. <tr class="memdesc:ad507e9f25ec6dac7f07d23a8ee0dcc45"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor witha system and public identifiers. <a href="#ad507e9f25ec6dac7f07d23a8ee0dcc45">More...</a><br /></td></tr>
  146. <tr class="separator:ad507e9f25ec6dac7f07d23a8ee0dcc45"><td class="memSeparator" colspan="2">&#160;</td></tr>
  147. <tr class="inherit_header pro_methods_classXMemory"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classXMemory')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classXMemory.html">XMemory</a></td></tr>
  148. <tr class="memitem:ae5b8adaa10d5d9276b42823f47e06858 inherit pro_methods_classXMemory"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMemory.html#ae5b8adaa10d5d9276b42823f47e06858">XMemory</a> ()</td></tr>
  149. <tr class="memdesc:ae5b8adaa10d5d9276b42823f47e06858 inherit pro_methods_classXMemory"><td class="mdescLeft">&#160;</td><td class="mdescRight">Protected default constructor. <a href="#ae5b8adaa10d5d9276b42823f47e06858">More...</a><br /></td></tr>
  150. <tr class="separator:ae5b8adaa10d5d9276b42823f47e06858 inherit pro_methods_classXMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
  151. </table>
  152. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  153. <div class="textblock"><p>A single input source for an XML entity. </p>
  154. <p>This class encapsulates information about an input source in a single object, which may include a public identifier or a system identifier</p>
  155. <p>There are two places that the application will deliver this input source to the parser: as the argument to the <a class="el" href="classParser.html#a624fc687a49b917c11ef632367568b60" title="Parse an XML document. ">Parser::parse</a> method, or as the return value of the <a class="el" href="classEntityResolver.html#af6e630429ea35de71acda7287846911e" title="Allow the application to resolve external entities. ">EntityResolver::resolveEntity</a> method.</p>
  156. <p><a class="el" href="classInputSource.html" title="A single input source for an XML entity. ">InputSource</a> is never used directly, but is the base class for a number of derived classes for particular types of input sources. Derivatives are provided (in the framework/ directory) for URL input sources, memory buffer input sources, and so on.</p>
  157. <p>When it is time to parse the input described by an input source, it will be asked to create a binary stream for that source. That stream will be used to input the data of the source. The derived class provides the implementation of the <a class="el" href="classInputSource.html#af0722ef511e91e7b290528b3fd13be09" title="Makes the byte stream for this input source. ">makeStream()</a> method, and provides a type of stream of the correct type for the input source it represents.</p>
  158. <p>An <a class="el" href="classInputSource.html" title="A single input source for an XML entity. ">InputSource</a> object belongs to the application: the parser never modifies them in any way. They are always passed by const reference so the parser will make a copy of any input sources that it must keep around beyond the call.</p>
  159. <dl class="section see"><dt>See also</dt><dd><a class="el" href="classParser.html#a624fc687a49b917c11ef632367568b60" title="Parse an XML document. ">Parser::parse</a> </dd>
  160. <dd>
  161. <a class="el" href="classEntityResolver.html#af6e630429ea35de71acda7287846911e" title="Allow the application to resolve external entities. ">EntityResolver::resolveEntity</a> </dd></dl>
  162. </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  163. <a class="anchor" id="a09958a0275a39a619a5b64b3e86e76ed"></a>
  164. <div class="memitem">
  165. <div class="memproto">
  166. <table class="mlabels">
  167. <tr>
  168. <td class="mlabels-left">
  169. <table class="memname">
  170. <tr>
  171. <td class="memname">virtual InputSource::~InputSource </td>
  172. <td>(</td>
  173. <td class="paramname"></td><td>)</td>
  174. <td></td>
  175. </tr>
  176. </table>
  177. </td>
  178. <td class="mlabels-right">
  179. <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
  180. </tr>
  181. </table>
  182. </div><div class="memdoc">
  183. <p>Destructor. </p>
  184. </div>
  185. </div>
  186. <a class="anchor" id="a601a7aa7124e2d8e9664eda9aea6b622"></a>
  187. <div class="memitem">
  188. <div class="memproto">
  189. <table class="mlabels">
  190. <tr>
  191. <td class="mlabels-left">
  192. <table class="memname">
  193. <tr>
  194. <td class="memname">InputSource::InputSource </td>
  195. <td>(</td>
  196. <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&#160;</td>
  197. <td class="paramname"><em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code></td><td>)</td>
  198. <td></td>
  199. </tr>
  200. </table>
  201. </td>
  202. <td class="mlabels-right">
  203. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  204. </tr>
  205. </table>
  206. </div><div class="memdoc">
  207. <p>Default constructor. </p>
  208. </div>
  209. </div>
  210. <a class="anchor" id="a6ac39778219ca114471e60459a829aee"></a>
  211. <div class="memitem">
  212. <div class="memproto">
  213. <table class="mlabels">
  214. <tr>
  215. <td class="mlabels-left">
  216. <table class="memname">
  217. <tr>
  218. <td class="memname">InputSource::InputSource </td>
  219. <td>(</td>
  220. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
  221. <td class="paramname"><em>systemId</em>, </td>
  222. </tr>
  223. <tr>
  224. <td class="paramkey"></td>
  225. <td></td>
  226. <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&#160;</td>
  227. <td class="paramname"><em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code>&#160;</td>
  228. </tr>
  229. <tr>
  230. <td></td>
  231. <td>)</td>
  232. <td></td><td></td>
  233. </tr>
  234. </table>
  235. </td>
  236. <td class="mlabels-right">
  237. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  238. </tr>
  239. </table>
  240. </div><div class="memdoc">
  241. <p>Constructor with a system identifier as XMLCh type. </p>
  242. <dl class="params"><dt>Parameters</dt><dd>
  243. <table class="params">
  244. <tr><td class="paramname">systemId</td><td>The system identifier (URI). </td></tr>
  245. <tr><td class="paramname">manager</td><td>Pointer to the memory manager to be used to allocate objects. </td></tr>
  246. </table>
  247. </dd>
  248. </dl>
  249. </div>
  250. </div>
  251. <a class="anchor" id="ae001a9f156d185c83c30574992b7e388"></a>
  252. <div class="memitem">
  253. <div class="memproto">
  254. <table class="mlabels">
  255. <tr>
  256. <td class="mlabels-left">
  257. <table class="memname">
  258. <tr>
  259. <td class="memname">InputSource::InputSource </td>
  260. <td>(</td>
  261. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
  262. <td class="paramname"><em>systemId</em>, </td>
  263. </tr>
  264. <tr>
  265. <td class="paramkey"></td>
  266. <td></td>
  267. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
  268. <td class="paramname"><em>publicId</em>, </td>
  269. </tr>
  270. <tr>
  271. <td class="paramkey"></td>
  272. <td></td>
  273. <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&#160;</td>
  274. <td class="paramname"><em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code>&#160;</td>
  275. </tr>
  276. <tr>
  277. <td></td>
  278. <td>)</td>
  279. <td></td><td></td>
  280. </tr>
  281. </table>
  282. </td>
  283. <td class="mlabels-right">
  284. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  285. </tr>
  286. </table>
  287. </div><div class="memdoc">
  288. <p>Constructor with a system and public identifiers. </p>
  289. <dl class="params"><dt>Parameters</dt><dd>
  290. <table class="params">
  291. <tr><td class="paramname">systemId</td><td>The system identifier (URI). </td></tr>
  292. <tr><td class="paramname">publicId</td><td>The public identifier as in the entity definition. </td></tr>
  293. <tr><td class="paramname">manager</td><td>Pointer to the memory manager to be used to allocate objects. </td></tr>
  294. </table>
  295. </dd>
  296. </dl>
  297. </div>
  298. </div>
  299. <a class="anchor" id="aaba282a5740ad84b756f698465557318"></a>
  300. <div class="memitem">
  301. <div class="memproto">
  302. <table class="mlabels">
  303. <tr>
  304. <td class="mlabels-left">
  305. <table class="memname">
  306. <tr>
  307. <td class="memname">InputSource::InputSource </td>
  308. <td>(</td>
  309. <td class="paramtype">const char *const&#160;</td>
  310. <td class="paramname"><em>systemId</em>, </td>
  311. </tr>
  312. <tr>
  313. <td class="paramkey"></td>
  314. <td></td>
  315. <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&#160;</td>
  316. <td class="paramname"><em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code>&#160;</td>
  317. </tr>
  318. <tr>
  319. <td></td>
  320. <td>)</td>
  321. <td></td><td></td>
  322. </tr>
  323. </table>
  324. </td>
  325. <td class="mlabels-right">
  326. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  327. </tr>
  328. </table>
  329. </div><div class="memdoc">
  330. <p>Constructor witha system identifier as string. </p>
  331. <dl class="params"><dt>Parameters</dt><dd>
  332. <table class="params">
  333. <tr><td class="paramname">systemId</td><td>The system identifier (URI). </td></tr>
  334. <tr><td class="paramname">manager</td><td>Pointer to the memory manager to be used to allocate objects. </td></tr>
  335. </table>
  336. </dd>
  337. </dl>
  338. </div>
  339. </div>
  340. <a class="anchor" id="ad507e9f25ec6dac7f07d23a8ee0dcc45"></a>
  341. <div class="memitem">
  342. <div class="memproto">
  343. <table class="mlabels">
  344. <tr>
  345. <td class="mlabels-left">
  346. <table class="memname">
  347. <tr>
  348. <td class="memname">InputSource::InputSource </td>
  349. <td>(</td>
  350. <td class="paramtype">const char *const&#160;</td>
  351. <td class="paramname"><em>systemId</em>, </td>
  352. </tr>
  353. <tr>
  354. <td class="paramkey"></td>
  355. <td></td>
  356. <td class="paramtype">const char *const&#160;</td>
  357. <td class="paramname"><em>publicId</em>, </td>
  358. </tr>
  359. <tr>
  360. <td class="paramkey"></td>
  361. <td></td>
  362. <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&#160;</td>
  363. <td class="paramname"><em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code>&#160;</td>
  364. </tr>
  365. <tr>
  366. <td></td>
  367. <td>)</td>
  368. <td></td><td></td>
  369. </tr>
  370. </table>
  371. </td>
  372. <td class="mlabels-right">
  373. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  374. </tr>
  375. </table>
  376. </div><div class="memdoc">
  377. <p>Constructor witha system and public identifiers. </p>
  378. <p>Both as string </p><dl class="params"><dt>Parameters</dt><dd>
  379. <table class="params">
  380. <tr><td class="paramname">systemId</td><td>The system identifier (URI). </td></tr>
  381. <tr><td class="paramname">publicId</td><td>The public identifier as in the entity definition. </td></tr>
  382. <tr><td class="paramname">manager</td><td>Pointer to the memory manager to be used to allocate objects. </td></tr>
  383. </table>
  384. </dd>
  385. </dl>
  386. </div>
  387. </div>
  388. <h2 class="groupheader">Member Function Documentation</h2>
  389. <a class="anchor" id="a70b363bf9af9aa831b40f4cceebd1d75"></a>
  390. <div class="memitem">
  391. <div class="memproto">
  392. <table class="mlabels">
  393. <tr>
  394. <td class="mlabels-left">
  395. <table class="memname">
  396. <tr>
  397. <td class="memname">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> * InputSource::getEncoding </td>
  398. <td>(</td>
  399. <td class="paramname"></td><td>)</td>
  400. <td> const</td>
  401. </tr>
  402. </table>
  403. </td>
  404. <td class="mlabels-right">
  405. <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
  406. </tr>
  407. </table>
  408. </div><div class="memdoc">
  409. <p>An input source can be set to force the parser to assume a particular encoding for the data that input source represents, via the <a class="el" href="classInputSource.html#a7604c9a16a6104bfae0a185f8879c74b" 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>
  410. <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>
  411. <dl class="section return"><dt>Returns</dt><dd>The forced encoding, or null if none was supplied. </dd></dl>
  412. <dl class="section see"><dt>See also</dt><dd><a class="el" href="classInputSource.html#a7604c9a16a6104bfae0a185f8879c74b" 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>
  413. <p>Reimplemented in <a class="el" href="classWrapper4DOMLSInput.html#a24b4742a986483c5a19a274c3c99db08">Wrapper4DOMLSInput</a>.</p>
  414. </div>
  415. </div>
  416. <a class="anchor" id="a4b8eee7896615e4e2ddb9acbc72543ed"></a>
  417. <div class="memitem">
  418. <div class="memproto">
  419. <table class="mlabels">
  420. <tr>
  421. <td class="mlabels-left">
  422. <table class="memname">
  423. <tr>
  424. <td class="memname">bool InputSource::getIssueFatalErrorIfNotFound </td>
  425. <td>(</td>
  426. <td class="paramname"></td><td>)</td>
  427. <td> const</td>
  428. </tr>
  429. </table>
  430. </td>
  431. <td class="mlabels-right">
  432. <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
  433. </tr>
  434. </table>
  435. </div><div class="memdoc">
  436. <p>Get the flag that indicates if the parser should issue fatal error if this input source is not found. </p>
  437. <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>
  438. <dl class="section see"><dt>See also</dt><dd><a class="el" href="classInputSource.html#a7fc1468bd6a6bb15111273c45e81a9b6" title="Indicates if the parser should issue fatal error if this input source is not found. ">setIssueFatalErrorIfNotFound</a> </dd></dl>
  439. <p>Reimplemented in <a class="el" href="classWrapper4DOMLSInput.html#ae3ecdecabf6e1221224cf9748031bb17">Wrapper4DOMLSInput</a>.</p>
  440. </div>
  441. </div>
  442. <a class="anchor" id="a8abf186a8be413a303fc9847268c3446"></a>
  443. <div class="memitem">
  444. <div class="memproto">
  445. <table class="memname">
  446. <tr>
  447. <td class="memname"><a class="el" href="classMemoryManager.html">MemoryManager</a> * InputSource::getMemoryManager </td>
  448. <td>(</td>
  449. <td class="paramname"></td><td>)</td>
  450. <td> const</td>
  451. </tr>
  452. </table>
  453. </div><div class="memdoc">
  454. </div>
  455. </div>
  456. <a class="anchor" id="a394888614a429622bf936b8253542cfb"></a>
  457. <div class="memitem">
  458. <div class="memproto">
  459. <table class="mlabels">
  460. <tr>
  461. <td class="mlabels-left">
  462. <table class="memname">
  463. <tr>
  464. <td class="memname">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> * InputSource::getPublicId </td>
  465. <td>(</td>
  466. <td class="paramname"></td><td>)</td>
  467. <td> const</td>
  468. </tr>
  469. </table>
  470. </td>
  471. <td class="mlabels-right">
  472. <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
  473. </tr>
  474. </table>
  475. </div><div class="memdoc">
  476. <p>Get the public identifier for this input source. </p>
  477. <dl class="section return"><dt>Returns</dt><dd>The public identifier, or null if none was supplied. </dd></dl>
  478. <dl class="section see"><dt>See also</dt><dd><a class="el" href="classInputSource.html#a4cb3a625fac37721b2c719183e124792" title="Set the public identifier for this input source. ">setPublicId</a> </dd></dl>
  479. <p>Reimplemented in <a class="el" href="classWrapper4DOMLSInput.html#a817ad17d2e098c55599b9c5501618611">Wrapper4DOMLSInput</a>.</p>
  480. </div>
  481. </div>
  482. <a class="anchor" id="a0ab7381f8cf189abc2b97fe22dacb31e"></a>
  483. <div class="memitem">
  484. <div class="memproto">
  485. <table class="mlabels">
  486. <tr>
  487. <td class="mlabels-left">
  488. <table class="memname">
  489. <tr>
  490. <td class="memname">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> * InputSource::getSystemId </td>
  491. <td>(</td>
  492. <td class="paramname"></td><td>)</td>
  493. <td> const</td>
  494. </tr>
  495. </table>
  496. </td>
  497. <td class="mlabels-right">
  498. <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
  499. </tr>
  500. </table>
  501. </div><div class="memdoc">
  502. <p>Get the system identifier for this input source. </p>
  503. <p>If the system ID is a URL, it will be fully resolved.</p>
  504. <dl class="section return"><dt>Returns</dt><dd>The system identifier. </dd></dl>
  505. <dl class="section see"><dt>See also</dt><dd><a class="el" href="classInputSource.html#a08045f4fc62d1b4ba2da457365073d3e" title="Set the system identifier for this input source. ">setSystemId</a> </dd></dl>
  506. <p>Reimplemented in <a class="el" href="classWrapper4DOMLSInput.html#ad1422fe4385451d660166536e42bf0bc">Wrapper4DOMLSInput</a>.</p>
  507. </div>
  508. </div>
  509. <a class="anchor" id="af0722ef511e91e7b290528b3fd13be09"></a>
  510. <div class="memitem">
  511. <div class="memproto">
  512. <table class="mlabels">
  513. <tr>
  514. <td class="mlabels-left">
  515. <table class="memname">
  516. <tr>
  517. <td class="memname">virtual <a class="el" href="classBinInputStream.html">BinInputStream</a>* InputSource::makeStream </td>
  518. <td>(</td>
  519. <td class="paramname"></td><td>)</td>
  520. <td> const</td>
  521. </tr>
  522. </table>
  523. </td>
  524. <td class="mlabels-right">
  525. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  526. </tr>
  527. </table>
  528. </div><div class="memdoc">
  529. <p>Makes the byte stream for this input source. </p>
  530. <p>The derived class must create and return a binary input stream of an appropriate type for its kind of data source. The returned stream must be dynamically allocated and becomes the parser's property. </p>
  531. <dl class="section see"><dt>See also</dt><dd><a class="el" href="classBinInputStream.html">BinInputStream</a> </dd></dl>
  532. <p>Implemented in <a class="el" href="classURLInputSource.html#abe64ab1b64137f5a045fedd074b3d77f">URLInputSource</a>, <a class="el" href="classMemBufInputSource.html#a379bcdf65aba95c480f2eb5adf41e108">MemBufInputSource</a>, <a class="el" href="classLocalFileInputSource.html#a936dd02371dd1888ebd62f995b1a4004">LocalFileInputSource</a>, <a class="el" href="classStdInInputSource.html#a4f259440552e17f7480435d63d2a33ba">StdInInputSource</a>, and <a class="el" href="classWrapper4DOMLSInput.html#a30f706bdd33fcfb25e369add74518298">Wrapper4DOMLSInput</a>.</p>
  533. </div>
  534. </div>
  535. <a class="anchor" id="a7604c9a16a6104bfae0a185f8879c74b"></a>
  536. <div class="memitem">
  537. <div class="memproto">
  538. <table class="mlabels">
  539. <tr>
  540. <td class="mlabels-left">
  541. <table class="memname">
  542. <tr>
  543. <td class="memname">virtual void InputSource::setEncoding </td>
  544. <td>(</td>
  545. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
  546. <td class="paramname"><em>encodingStr</em></td><td>)</td>
  547. <td></td>
  548. </tr>
  549. </table>
  550. </td>
  551. <td class="mlabels-right">
  552. <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
  553. </tr>
  554. </table>
  555. </div><div class="memdoc">
  556. <p>Set the encoding which will be required for use with the XML text read via a stream opened by this input source. </p>
  557. <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>
  558. <dl class="params"><dt>Parameters</dt><dd>
  559. <table class="params">
  560. <tr><td class="paramname">encodingStr</td><td>The name of the encoding to force. </td></tr>
  561. </table>
  562. </dd>
  563. </dl>
  564. <p>Reimplemented in <a class="el" href="classWrapper4DOMLSInput.html#acab5fc674771d9fc5e2d43efe119362a">Wrapper4DOMLSInput</a>.</p>
  565. </div>
  566. </div>
  567. <a class="anchor" id="a7fc1468bd6a6bb15111273c45e81a9b6"></a>
  568. <div class="memitem">
  569. <div class="memproto">
  570. <table class="mlabels">
  571. <tr>
  572. <td class="mlabels-left">
  573. <table class="memname">
  574. <tr>
  575. <td class="memname">void InputSource::setIssueFatalErrorIfNotFound </td>
  576. <td>(</td>
  577. <td class="paramtype">const bool&#160;</td>
  578. <td class="paramname"><em>flag</em></td><td>)</td>
  579. <td></td>
  580. </tr>
  581. </table>
  582. </td>
  583. <td class="mlabels-right">
  584. <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
  585. </tr>
  586. </table>
  587. </div><div class="memdoc">
  588. <p>Indicates if the parser should issue fatal error if this input source is not found. </p>
  589. <p>If set to false, the parser issue warning message instead.</p>
  590. <dl class="params"><dt>Parameters</dt><dd>
  591. <table class="params">
  592. <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>
  593. </table>
  594. </dd>
  595. </dl>
  596. <dl class="section see"><dt>See also</dt><dd><a class="el" href="classInputSource.html#a4b8eee7896615e4e2ddb9acbc72543ed" title="Get the flag that indicates if the parser should issue fatal error if this input source is not found...">getIssueFatalErrorIfNotFound</a> </dd></dl>
  597. <p>Reimplemented in <a class="el" href="classWrapper4DOMLSInput.html#a49ee5562cea9f400d66e1f8a9eb098b7">Wrapper4DOMLSInput</a>.</p>
  598. </div>
  599. </div>
  600. <a class="anchor" id="a4cb3a625fac37721b2c719183e124792"></a>
  601. <div class="memitem">
  602. <div class="memproto">
  603. <table class="mlabels">
  604. <tr>
  605. <td class="mlabels-left">
  606. <table class="memname">
  607. <tr>
  608. <td class="memname">virtual void InputSource::setPublicId </td>
  609. <td>(</td>
  610. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
  611. <td class="paramname"><em>publicId</em></td><td>)</td>
  612. <td></td>
  613. </tr>
  614. </table>
  615. </td>
  616. <td class="mlabels-right">
  617. <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
  618. </tr>
  619. </table>
  620. </div><div class="memdoc">
  621. <p>Set the public identifier for this input source. </p>
  622. <p>The public identifier is always optional: if the application writer includes one, it will be provided as part of the location information.</p>
  623. <dl class="params"><dt>Parameters</dt><dd>
  624. <table class="params">
  625. <tr><td class="paramname">publicId</td><td>The public identifier as a string. </td></tr>
  626. </table>
  627. </dd>
  628. </dl>
  629. <dl class="section see"><dt>See also</dt><dd><a class="el" href="classLocator.html#a907679d51b2c8b606a29a09dd0b234ac" title="Return the public identifier for the current document event. ">Locator::getPublicId</a> </dd>
  630. <dd>
  631. <a class="el" href="classSAXParseException.html#a25334797e270de1ff8acc1c73c4b3d7b" title="Get the public identifier of the entity where the exception occurred. ">SAXParseException::getPublicId</a> </dd>
  632. <dd>
  633. <a class="el" href="classInputSource.html#a394888614a429622bf936b8253542cfb" title="Get the public identifier for this input source. ">getPublicId</a> </dd></dl>
  634. <p>Reimplemented in <a class="el" href="classWrapper4DOMLSInput.html#a11265d4627b7a1fee2b58becc061978d">Wrapper4DOMLSInput</a>.</p>
  635. </div>
  636. </div>
  637. <a class="anchor" id="a08045f4fc62d1b4ba2da457365073d3e"></a>
  638. <div class="memitem">
  639. <div class="memproto">
  640. <table class="mlabels">
  641. <tr>
  642. <td class="mlabels-left">
  643. <table class="memname">
  644. <tr>
  645. <td class="memname">virtual void InputSource::setSystemId </td>
  646. <td>(</td>
  647. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
  648. <td class="paramname"><em>systemId</em></td><td>)</td>
  649. <td></td>
  650. </tr>
  651. </table>
  652. </td>
  653. <td class="mlabels-right">
  654. <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
  655. </tr>
  656. </table>
  657. </div><div class="memdoc">
  658. <p>Set the system identifier for this input source. </p>
  659. <p>Set the system identifier for this input source.</p>
  660. <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>
  661. <p>If the system ID is a URL, it must be fully resolved.</p>
  662. <dl class="params"><dt>Parameters</dt><dd>
  663. <table class="params">
  664. <tr><td class="paramname">systemId</td><td>The system identifier as a string. </td></tr>
  665. </table>
  666. </dd>
  667. </dl>
  668. <dl class="section see"><dt>See also</dt><dd><a class="el" href="classInputSource.html#a0ab7381f8cf189abc2b97fe22dacb31e" title="Get the system identifier for this input source. ">getSystemId</a> </dd>
  669. <dd>
  670. <a class="el" href="classLocator.html#aa9c43733fdf27000a867c3824f8ed5c5" title="Return the system identifier for the current document event. ">Locator::getSystemId</a> </dd>
  671. <dd>
  672. <a class="el" href="classSAXParseException.html#a8eca07709a189e218149e642f8636c55" title="Get the system identifier of the entity where the exception occurred. ">SAXParseException::getSystemId</a> </dd></dl>
  673. <p>Reimplemented in <a class="el" href="classWrapper4DOMLSInput.html#aa792e9edbe115417ac925e02fc192f9e">Wrapper4DOMLSInput</a>.</p>
  674. </div>
  675. </div>
  676. <hr/>The documentation for this class was generated from the following file:<ul>
  677. <li><a class="el" href="InputSource_8hpp_source.html">InputSource.hpp</a></li>
  678. </ul>
  679. </div><!-- contents -->
  680. <!-- start footer part -->
  681. <hr class="footer"/><address class="footer"><small>
  682. Generated on Wed Mar 18 2015 10:43:38 for Xerces-C++ by &#160;<a href="http://www.doxygen.org/index.html">
  683. <img class="footer" src="doxygen.png" alt="doxygen"/>
  684. </a> 1.8.9.1
  685. </small></address>
  686. </body>
  687. </html>