PageRenderTime 116ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 0ms

/XQilla-2.2.4/docs/dom3-api/DOMUserDataHandler_8hpp_source.html

#
HTML | 107 lines | 106 code | 0 blank | 1 comment | 0 complexity | 11c2ad9d48bec38b9be8bf573ebc9d09 MD5 | raw file
Possible License(s): Apache-2.0
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
  3. <title>XQilla DOM3 API Documentation</title>
  4. <link href="doxygen.css" rel="stylesheet" type="text/css">
  5. <link href="tabs.css" rel="stylesheet" type="text/css">
  6. </head><body>
  7. <a style="float:right;" href="http://sourceforge.net/projects/xqilla"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=152021&amp;type=2" border="0" alt="SourceForge.net Logo" /></a>
  8. <!-- Generated by Doxygen 1.6.1 -->
  9. <div class="navigation" id="top">
  10. <div class="tabs">
  11. <ul>
  12. <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
  13. <li><a href="namespaces.html"><span>Namespaces</span></a></li>
  14. <li><a href="annotated.html"><span>Classes</span></a></li>
  15. <li class="current"><a href="files.html"><span>Files</span></a></li>
  16. <li><a href="examples.html"><span>Examples</span></a></li>
  17. </ul>
  18. </div>
  19. <div class="tabs">
  20. <ul>
  21. <li><a href="files.html"><span>File&nbsp;List</span></a></li>
  22. <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
  23. </ul>
  24. </div>
  25. <h1>DOMUserDataHandler.hpp</h1><a href="DOMUserDataHandler_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
  26. <a name="l00002"></a>00002 <span class="comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</span>
  27. <a name="l00003"></a>00003 <span class="comment"> * contributor license agreements. See the NOTICE file distributed with</span>
  28. <a name="l00004"></a>00004 <span class="comment"> * this work for additional information regarding copyright ownership.</span>
  29. <a name="l00005"></a>00005 <span class="comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</span>
  30. <a name="l00006"></a>00006 <span class="comment"> * (the &quot;License&quot;); you may not use this file except in compliance with</span>
  31. <a name="l00007"></a>00007 <span class="comment"> * the License. You may obtain a copy of the License at</span>
  32. <a name="l00008"></a>00008 <span class="comment"> * </span>
  33. <a name="l00009"></a>00009 <span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span>
  34. <a name="l00010"></a>00010 <span class="comment"> * </span>
  35. <a name="l00011"></a>00011 <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span>
  36. <a name="l00012"></a>00012 <span class="comment"> * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,</span>
  37. <a name="l00013"></a>00013 <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
  38. <a name="l00014"></a>00014 <span class="comment"> * See the License for the specific language governing permissions and</span>
  39. <a name="l00015"></a>00015 <span class="comment"> * limitations under the License.</span>
  40. <a name="l00016"></a>00016 <span class="comment"> */</span>
  41. <a name="l00017"></a>00017
  42. <a name="l00018"></a>00018 <span class="comment">/*</span>
  43. <a name="l00019"></a>00019 <span class="comment"> * $Id: DOMUserDataHandler.hpp 527149 2007-04-10 14:56:39Z amassari $</span>
  44. <a name="l00020"></a>00020 <span class="comment"> */</span>
  45. <a name="l00021"></a>00021
  46. <a name="l00022"></a>00022 <span class="preprocessor">#if !defined(XERCESC_INCLUDE_GUARD_DOMUSERDATAHANDLER_HPP)</span>
  47. <a name="l00023"></a><a class="code" href="DOMUserDataHandler_8hpp.html#a2bcf836509bfb659f2ea1eecaa71afb2">00023</a> <span class="preprocessor"></span><span class="preprocessor">#define XERCESC_INCLUDE_GUARD_DOMUSERDATAHANDLER_HPP</span>
  48. <a name="l00024"></a>00024 <span class="preprocessor"></span>
  49. <a name="l00025"></a>00025 <span class="preprocessor">#include &lt;xercesc/util/XercesDefs.hpp&gt;</span>
  50. <a name="l00026"></a>00026 <span class="preprocessor">#include &lt;<a class="code" href="DOMNode_8hpp.html">xercesc/dom/DOMNode.hpp</a>&gt;</span>
  51. <a name="l00027"></a>00027
  52. <a name="l00028"></a>00028 XERCES_CPP_NAMESPACE_BEGIN
  53. <a name="l00029"></a>00029
  54. <a name="l00040"></a><a class="code" href="classxercesc_1_1DOMUserDataHandler.html">00040</a> <span class="keyword">class </span>CDOM_EXPORT <a class="code" href="classxercesc_1_1DOMUserDataHandler.html" title="When associating an object to a key on a node using setUserData the application can...">DOMUserDataHandler</a> {
  55. <a name="l00041"></a>00041 <span class="keyword">protected</span>:
  56. <a name="l00042"></a>00042 <span class="comment">// -----------------------------------------------------------------------</span>
  57. <a name="l00043"></a>00043 <span class="comment">// Hidden constructors</span>
  58. <a name="l00044"></a>00044 <span class="comment">// -----------------------------------------------------------------------</span>
  59. <a name="l00047"></a><a class="code" href="classxercesc_1_1DOMUserDataHandler.html#aff6525ba538cf9826d8f744b4d49a021">00047</a> <span class="comment"></span> <a class="code" href="classxercesc_1_1DOMUserDataHandler.html#aff6525ba538cf9826d8f744b4d49a021">DOMUserDataHandler</a>() {};
  60. <a name="l00049"></a>00049
  61. <a name="l00050"></a>00050 <span class="keyword">private</span>:
  62. <a name="l00051"></a>00051 <span class="comment">// -----------------------------------------------------------------------</span>
  63. <a name="l00052"></a>00052 <span class="comment">// Unimplemented constructors and operators</span>
  64. <a name="l00053"></a>00053 <span class="comment">// -----------------------------------------------------------------------</span>
  65. <a name="l00056"></a>00056 <span class="comment"></span> <a class="code" href="classxercesc_1_1DOMUserDataHandler.html" title="When associating an object to a key on a node using setUserData the application can...">DOMUserDataHandler</a>(<span class="keyword">const</span> <a class="code" href="classxercesc_1_1DOMUserDataHandler.html" title="When associating an object to a key on a node using setUserData the application can...">DOMUserDataHandler</a> &amp;);
  66. <a name="l00057"></a>00057 <a class="code" href="classxercesc_1_1DOMUserDataHandler.html" title="When associating an object to a key on a node using setUserData the application can...">DOMUserDataHandler</a> &amp; operator = (<span class="keyword">const</span> <a class="code" href="classxercesc_1_1DOMUserDataHandler.html" title="When associating an object to a key on a node using setUserData the application can...">DOMUserDataHandler</a> &amp;);
  67. <a name="l00059"></a>00059
  68. <a name="l00060"></a>00060 <span class="keyword">public</span>:
  69. <a name="l00061"></a>00061 <span class="comment">// -----------------------------------------------------------------------</span>
  70. <a name="l00062"></a>00062 <span class="comment">// All constructors are hidden, just the destructor is available</span>
  71. <a name="l00063"></a>00063 <span class="comment">// -----------------------------------------------------------------------</span>
  72. <a name="l00070"></a><a class="code" href="classxercesc_1_1DOMUserDataHandler.html#aee363b85529d781f1c0f697350f0f97d">00070</a> <span class="comment"></span> <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMUserDataHandler.html#aee363b85529d781f1c0f697350f0f97d" title="Destructor.">~DOMUserDataHandler</a>() {};
  73. <a name="l00072"></a>00072
  74. <a name="l00073"></a>00073 <span class="comment">// -----------------------------------------------------------------------</span>
  75. <a name="l00074"></a>00074 <span class="comment">// Class Types</span>
  76. <a name="l00075"></a>00075 <span class="comment">// -----------------------------------------------------------------------</span>
  77. <a name="l00098"></a><a class="code" href="classxercesc_1_1DOMUserDataHandler.html#a8e8bc2ef5f72e1bdae75adcc6d4ced9e">00098</a> <span class="comment"></span> <span class="keyword">enum</span> <a class="code" href="classxercesc_1_1DOMUserDataHandler.html#a8e8bc2ef5f72e1bdae75adcc6d4ced9e" title="Operation Type.">DOMOperationType</a> {
  78. <a name="l00099"></a><a class="code" href="classxercesc_1_1DOMUserDataHandler.html#a8e8bc2ef5f72e1bdae75adcc6d4ced9eadfea26fa9d70e0642b5831e98bd3c934">00099</a> NODE_CLONED = 1,
  79. <a name="l00100"></a><a class="code" href="classxercesc_1_1DOMUserDataHandler.html#a8e8bc2ef5f72e1bdae75adcc6d4ced9ead4a891edec81bedddb7f467d8a647896">00100</a> NODE_IMPORTED = 2,
  80. <a name="l00101"></a><a class="code" href="classxercesc_1_1DOMUserDataHandler.html#a8e8bc2ef5f72e1bdae75adcc6d4ced9ea8c5452a7aae23386814bbba70b0e5e5b">00101</a> NODE_DELETED = 3,
  81. <a name="l00102"></a><a class="code" href="classxercesc_1_1DOMUserDataHandler.html#a8e8bc2ef5f72e1bdae75adcc6d4ced9ea7036c145125545102ef872aa86808ed5">00102</a> NODE_RENAMED = 4,
  82. <a name="l00103"></a><a class="code" href="classxercesc_1_1DOMUserDataHandler.html#a8e8bc2ef5f72e1bdae75adcc6d4ced9eaf55343c465ff0e891ab389f958d52a1e">00103</a> NODE_ADOPTED = 5
  83. <a name="l00104"></a>00104 };
  84. <a name="l00106"></a>00106
  85. <a name="l00107"></a>00107
  86. <a name="l00108"></a>00108 <span class="comment">// -----------------------------------------------------------------------</span>
  87. <a name="l00109"></a>00109 <span class="comment">// Virtual DOMUserDataHandler interface</span>
  88. <a name="l00110"></a>00110 <span class="comment">// -----------------------------------------------------------------------</span>
  89. <a name="l00127"></a>00127 <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> handle(DOMOperationType operation,
  90. <a name="l00128"></a>00128 <span class="keyword">const</span> XMLCh* <span class="keyword">const</span> key,
  91. <a name="l00129"></a>00129 <span class="keywordtype">void</span>* data,
  92. <a name="l00130"></a>00130 <span class="keyword">const</span> <a class="code" href="classxercesc_1_1DOMNode.html" title="The DOMNode interface is the primary datatype for the entire Document Object Model...">DOMNode</a>* src,
  93. <a name="l00131"></a>00131 <a class="code" href="classxercesc_1_1DOMNode.html" title="The DOMNode interface is the primary datatype for the entire Document Object Model...">DOMNode</a>* dst) = 0;
  94. <a name="l00132"></a>00132
  95. <a name="l00134"></a>00134
  96. <a name="l00135"></a>00135 };
  97. <a name="l00136"></a>00136
  98. <a name="l00137"></a>00137 XERCES_CPP_NAMESPACE_END
  99. <a name="l00138"></a>00138
  100. <a name="l00139"></a>00139 <span class="preprocessor">#endif</span>
  101. <a name="l00140"></a>00140 <span class="preprocessor"></span>
  102. </pre></div></div>
  103. <hr size="1"/><address style="text-align: right;"><small>Generated on Mon Mar 1 21:16:20 2010 for XQilla DOM Level 3 API by&nbsp;
  104. <a href="http://www.doxygen.org/index.html">
  105. <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
  106. </body>
  107. </html>