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.

310 lines
16 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++: PSVIHandler 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="#pro-methods">Protected Member Functions</a> &#124;
  50. <a href="classPSVIHandler-members.html">List of all members</a> </div>
  51. <div class="headertitle">
  52. <div class="title">PSVIHandler Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div>
  53. </div><!--header-->
  54. <div class="contents">
  55. <p>This abstract class provides the interface for the scanner to return PSVI information to the application.
  56. <a href="classPSVIHandler.html#details">More...</a></p>
  57. <div class="dynheader">
  58. Inheritance diagram for PSVIHandler:</div>
  59. <div class="dyncontent">
  60. <div class="center">
  61. <img src="classPSVIHandler.png" usemap="#PSVIHandler_map" alt=""/>
  62. <map id="PSVIHandler_map" name="PSVIHandler_map">
  63. <area href="classAbstractDOMParser.html" title="This class implements the Document Object Model (DOM) interface. " alt="AbstractDOMParser" shape="rect" coords="0,56,127,80"/>
  64. <area href="classXercesDOMParser.html" title="This class implements the Document Object Model (DOM) interface. " alt="XercesDOMParser" shape="rect" coords="0,112,127,136"/>
  65. </map>
  66. </div></div>
  67. <table class="memberdecls">
  68. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  69. Public Member Functions</h2></td></tr>
  70. <tr><td colspan="2"><div class="groupHeader">Destructor</div></td></tr>
  71. <tr class="memitem:a5e5e294b87d00e71da386936fbcc216b"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPSVIHandler.html#a5e5e294b87d00e71da386936fbcc216b">~PSVIHandler</a> ()</td></tr>
  72. <tr class="separator:a5e5e294b87d00e71da386936fbcc216b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  73. <tr><td colspan="2"><div class="groupHeader">The PSVI handler interface</div></td></tr>
  74. <tr class="memitem:a46acb45860c9eaa73475bb7fda7f64a8"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPSVIHandler.html#a46acb45860c9eaa73475bb7fda7f64a8">handleElementPSVI</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const localName, const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const uri, <a class="el" href="classPSVIElement.html">PSVIElement</a> *elementInfo)=0</td></tr>
  75. <tr class="memdesc:a46acb45860c9eaa73475bb7fda7f64a8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Receive notification of the PSVI properties of an element. <a href="#a46acb45860c9eaa73475bb7fda7f64a8">More...</a><br /></td></tr>
  76. <tr class="separator:a46acb45860c9eaa73475bb7fda7f64a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  77. <tr class="memitem:acd004d71c09d8cdcdfe3f86a2c89c91a"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPSVIHandler.html#acd004d71c09d8cdcdfe3f86a2c89c91a">handlePartialElementPSVI</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const localName, const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const uri, <a class="el" href="classPSVIElement.html">PSVIElement</a> *elementInfo)</td></tr>
  78. <tr class="memdesc:acd004d71c09d8cdcdfe3f86a2c89c91a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Receive notification of partial PSVI properties of an element. <a href="#acd004d71c09d8cdcdfe3f86a2c89c91a">More...</a><br /></td></tr>
  79. <tr class="separator:acd004d71c09d8cdcdfe3f86a2c89c91a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  80. <tr class="memitem:a0a29cbe9bd41efdb73af2bb180511b46"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPSVIHandler.html#a0a29cbe9bd41efdb73af2bb180511b46">handleAttributesPSVI</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const localName, const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const uri, <a class="el" href="classPSVIAttributeList.html">PSVIAttributeList</a> *psviAttributes)=0</td></tr>
  81. <tr class="memdesc:a0a29cbe9bd41efdb73af2bb180511b46"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables PSVI information about attributes to be passed back to the application. <a href="#a0a29cbe9bd41efdb73af2bb180511b46">More...</a><br /></td></tr>
  82. <tr class="separator:a0a29cbe9bd41efdb73af2bb180511b46"><td class="memSeparator" colspan="2">&#160;</td></tr>
  83. </table><table class="memberdecls">
  84. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
  85. Protected Member Functions</h2></td></tr>
  86. <tr class="memitem:ab00bdb43a6716922069b4716b52179d1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPSVIHandler.html#ab00bdb43a6716922069b4716b52179d1">PSVIHandler</a> ()</td></tr>
  87. <tr class="separator:ab00bdb43a6716922069b4716b52179d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  88. </table>
  89. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  90. <div class="textblock"><p>This abstract class provides the interface for the scanner to return PSVI information to the application. </p>
  91. </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  92. <a class="anchor" id="a5e5e294b87d00e71da386936fbcc216b"></a>
  93. <div class="memitem">
  94. <div class="memproto">
  95. <table class="mlabels">
  96. <tr>
  97. <td class="mlabels-left">
  98. <table class="memname">
  99. <tr>
  100. <td class="memname">virtual PSVIHandler::~PSVIHandler </td>
  101. <td>(</td>
  102. <td class="paramname"></td><td>)</td>
  103. <td></td>
  104. </tr>
  105. </table>
  106. </td>
  107. <td class="mlabels-right">
  108. <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
  109. </tr>
  110. </table>
  111. </div><div class="memdoc">
  112. </div>
  113. </div>
  114. <a class="anchor" id="ab00bdb43a6716922069b4716b52179d1"></a>
  115. <div class="memitem">
  116. <div class="memproto">
  117. <table class="mlabels">
  118. <tr>
  119. <td class="mlabels-left">
  120. <table class="memname">
  121. <tr>
  122. <td class="memname">PSVIHandler::PSVIHandler </td>
  123. <td>(</td>
  124. <td class="paramname"></td><td>)</td>
  125. <td></td>
  126. </tr>
  127. </table>
  128. </td>
  129. <td class="mlabels-right">
  130. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  131. </tr>
  132. </table>
  133. </div><div class="memdoc">
  134. </div>
  135. </div>
  136. <h2 class="groupheader">Member Function Documentation</h2>
  137. <a class="anchor" id="a0a29cbe9bd41efdb73af2bb180511b46"></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">virtual void PSVIHandler::handleAttributesPSVI </td>
  146. <td>(</td>
  147. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
  148. <td class="paramname"><em>localName</em>, </td>
  149. </tr>
  150. <tr>
  151. <td class="paramkey"></td>
  152. <td></td>
  153. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
  154. <td class="paramname"><em>uri</em>, </td>
  155. </tr>
  156. <tr>
  157. <td class="paramkey"></td>
  158. <td></td>
  159. <td class="paramtype"><a class="el" href="classPSVIAttributeList.html">PSVIAttributeList</a> *&#160;</td>
  160. <td class="paramname"><em>psviAttributes</em>&#160;</td>
  161. </tr>
  162. <tr>
  163. <td></td>
  164. <td>)</td>
  165. <td></td><td></td>
  166. </tr>
  167. </table>
  168. </td>
  169. <td class="mlabels-right">
  170. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  171. </tr>
  172. </table>
  173. </div><div class="memdoc">
  174. <p>Enables PSVI information about attributes to be passed back to the application. </p>
  175. <p>This callback will be made on <em>all</em> elements; on elements with no attributes, the final parameter will be null. </p><dl class="params"><dt>Parameters</dt><dd>
  176. <table class="params">
  177. <tr><td class="paramname">localName</td><td>The name of the element upon which start tag these attributes were encountered. </td></tr>
  178. <tr><td class="paramname">uri</td><td>The namespace to which the element is bound </td></tr>
  179. <tr><td class="paramname">psviAttributes</td><td>Object containing the attributes' PSVI properties with information to identify them. </td></tr>
  180. </table>
  181. </dd>
  182. </dl>
  183. <p>Implemented in <a class="el" href="classAbstractDOMParser.html#ad54e996c4c87e1bb5ae4d27cb82c9648">AbstractDOMParser</a>.</p>
  184. </div>
  185. </div>
  186. <a class="anchor" id="a46acb45860c9eaa73475bb7fda7f64a8"></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">virtual void PSVIHandler::handleElementPSVI </td>
  195. <td>(</td>
  196. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
  197. <td class="paramname"><em>localName</em>, </td>
  198. </tr>
  199. <tr>
  200. <td class="paramkey"></td>
  201. <td></td>
  202. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
  203. <td class="paramname"><em>uri</em>, </td>
  204. </tr>
  205. <tr>
  206. <td class="paramkey"></td>
  207. <td></td>
  208. <td class="paramtype"><a class="el" href="classPSVIElement.html">PSVIElement</a> *&#160;</td>
  209. <td class="paramname"><em>elementInfo</em>&#160;</td>
  210. </tr>
  211. <tr>
  212. <td></td>
  213. <td>)</td>
  214. <td></td><td></td>
  215. </tr>
  216. </table>
  217. </td>
  218. <td class="mlabels-right">
  219. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  220. </tr>
  221. </table>
  222. </div><div class="memdoc">
  223. <p>Receive notification of the PSVI properties of an element. </p>
  224. <p>The scanner will issue this call after the <a class="el" href="classXMLDocumentHandler.html" title="This abstract class provides the interface for the scanner to return XML document information up to t...">XMLDocumentHandler</a> endElement call. Since the scanner will issue the psviAttributes call immediately after reading the start tag of an element, all element content will be effectively bracketed by these two calls. </p><dl class="params"><dt>Parameters</dt><dd>
  225. <table class="params">
  226. <tr><td class="paramname">localName</td><td>The name of the element whose end tag was just parsed. </td></tr>
  227. <tr><td class="paramname">uri</td><td>The namespace to which the element is bound </td></tr>
  228. <tr><td class="paramname">elementInfo</td><td>Object containing the element's PSVI properties </td></tr>
  229. </table>
  230. </dd>
  231. </dl>
  232. <p>Implemented in <a class="el" href="classAbstractDOMParser.html#a5b72f41be81accff5fc53872f5550b8a">AbstractDOMParser</a>.</p>
  233. </div>
  234. </div>
  235. <a class="anchor" id="acd004d71c09d8cdcdfe3f86a2c89c91a"></a>
  236. <div class="memitem">
  237. <div class="memproto">
  238. <table class="mlabels">
  239. <tr>
  240. <td class="mlabels-left">
  241. <table class="memname">
  242. <tr>
  243. <td class="memname">void PSVIHandler::handlePartialElementPSVI </td>
  244. <td>(</td>
  245. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
  246. <td class="paramname"><em>localName</em>, </td>
  247. </tr>
  248. <tr>
  249. <td class="paramkey"></td>
  250. <td></td>
  251. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
  252. <td class="paramname"><em>uri</em>, </td>
  253. </tr>
  254. <tr>
  255. <td class="paramkey"></td>
  256. <td></td>
  257. <td class="paramtype"><a class="el" href="classPSVIElement.html">PSVIElement</a> *&#160;</td>
  258. <td class="paramname"><em>elementInfo</em>&#160;</td>
  259. </tr>
  260. <tr>
  261. <td></td>
  262. <td>)</td>
  263. <td></td><td></td>
  264. </tr>
  265. </table>
  266. </td>
  267. <td class="mlabels-right">
  268. <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
  269. </tr>
  270. </table>
  271. </div><div class="memdoc">
  272. <p>Receive notification of partial PSVI properties of an element. </p>
  273. <p>This callback is made right after the psviAttributes call for non-empty element.</p>
  274. <p>The <a class="el" href="classPSVIElement.html">PSVIElement</a> passed in has all fields properly set and it can be safely accessed the same way as the one passed in handleElementPSVI. However, fields listed below always have default values.</p>
  275. <p>getValidity() <a class="el" href="classPSVIItem.html#aad79438ff031861ec9bea82451327480ade62be2d1c8ea2fb27f809b46ef7183f" title="Validity value indicating that validation has either not been performed or that a strict assessment o...">PSVIItem::VALIDITY_NOTKNOWN</a> getValidationAttemped() <a class="el" href="classPSVIItem.html#aea6ff50e0e6f9338259b2df990356e8aa758f6de74ba0c929be00c756af0975bb" title="Validation status indicating that schema validation has been performed and the element in question ha...">PSVIItem::VALIDATION_NONE</a> getMemberTypeDefinition() 0 getSchemaNormalizedValue() 0 getCanonicalRepresentation() 0 getNotationDeclaration() 0</p>
  276. <dl class="params"><dt>Parameters</dt><dd>
  277. <table class="params">
  278. <tr><td class="paramname">localName</td><td>The name of the element upon which start tag these attributes were encountered. </td></tr>
  279. <tr><td class="paramname">uri</td><td>The namespace to which the element is bound </td></tr>
  280. <tr><td class="paramname">elementInfo</td><td>Object containing the element's partial PSVI properties </td></tr>
  281. </table>
  282. </dd>
  283. </dl>
  284. <p>Reimplemented in <a class="el" href="classAbstractDOMParser.html#a24a1f1e55a52f3a8b0cc6ac92079a296">AbstractDOMParser</a>.</p>
  285. </div>
  286. </div>
  287. <hr/>The documentation for this class was generated from the following file:<ul>
  288. <li><a class="el" href="PSVIHandler_8hpp_source.html">PSVIHandler.hpp</a></li>
  289. </ul>
  290. </div><!-- contents -->
  291. <!-- start footer part -->
  292. <hr class="footer"/><address class="footer"><small>
  293. Generated on Wed Mar 18 2015 10:43:38 for Xerces-C++ by &#160;<a href="http://www.doxygen.org/index.html">
  294. <img class="footer" src="doxygen.png" alt="doxygen"/>
  295. </a> 1.8.9.1
  296. </small></address>
  297. </body>
  298. </html>