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.

803 lines
54 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++: XMLAttr 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="classXMLAttr-members.html">List of all members</a> </div>
  50. <div class="headertitle">
  51. <div class="title">XMLAttr Class Reference</div> </div>
  52. </div><!--header-->
  53. <div class="contents">
  54. <p>This class defines the information about an attribute that will come out of the scanner during parsing.
  55. <a href="classXMLAttr.html#details">More...</a></p>
  56. <div class="dynheader">
  57. Inheritance diagram for XMLAttr:</div>
  58. <div class="dyncontent">
  59. <div class="center">
  60. <img src="classXMLAttr.png" usemap="#XMLAttr_map" alt=""/>
  61. <map id="XMLAttr_map" name="XMLAttr_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="0,0,67,24"/>
  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">Constructors</div></td></tr>
  69. <tr class="memitem:aa7b581799fd76ad6f8be148d40ae2b26"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttr.html#aa7b581799fd76ad6f8be148d40ae2b26">XMLAttr</a> (<a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
  70. <tr class="memdesc:aa7b581799fd76ad6f8be148d40ae2b26"><td class="mdescLeft">&#160;</td><td class="mdescRight">The default constructor just setsup an empty attribute to be filled in the later. <a href="#aa7b581799fd76ad6f8be148d40ae2b26">More...</a><br /></td></tr>
  71. <tr class="separator:aa7b581799fd76ad6f8be148d40ae2b26"><td class="memSeparator" colspan="2">&#160;</td></tr>
  72. <tr class="memitem:aecc3539c6a366aa608d37acbae416154"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttr.html#aecc3539c6a366aa608d37acbae416154">XMLAttr</a> (const unsigned int uriId, const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const attrName, const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const attrPrefix, const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const attrValue, const <a class="el" href="classXMLAttDef.html#ad029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a> type=<a class="el" href="classXMLAttDef.html#ad029f037065bfaeb991ab7855de79255ae77a76f18e1eea5d67911599b13ce76d">XMLAttDef::CData</a>, const bool specified=true, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>, DatatypeValidator *datatypeValidator=0, const bool isSchema=false)</td></tr>
  73. <tr class="memdesc:aecc3539c6a366aa608d37acbae416154"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is the primary constructor which takes all of the information required to construct a complete attribute object. <a href="#aecc3539c6a366aa608d37acbae416154">More...</a><br /></td></tr>
  74. <tr class="separator:aecc3539c6a366aa608d37acbae416154"><td class="memSeparator" colspan="2">&#160;</td></tr>
  75. <tr class="memitem:a1d4e3a00d66293fb1bc87f0722db8dbf"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttr.html#a1d4e3a00d66293fb1bc87f0722db8dbf">XMLAttr</a> (const unsigned int uriId, const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const rawName, const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const attrValue, const <a class="el" href="classXMLAttDef.html#ad029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a> type=<a class="el" href="classXMLAttDef.html#ad029f037065bfaeb991ab7855de79255ae77a76f18e1eea5d67911599b13ce76d">XMLAttDef::CData</a>, const bool specified=true, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>, DatatypeValidator *datatypeValidator=0, const bool isSchema=false)</td></tr>
  76. <tr class="memdesc:a1d4e3a00d66293fb1bc87f0722db8dbf"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is the primary constructor which takes all of the information required to construct a complete attribute object. <a href="#a1d4e3a00d66293fb1bc87f0722db8dbf">More...</a><br /></td></tr>
  77. <tr class="separator:a1d4e3a00d66293fb1bc87f0722db8dbf"><td class="memSeparator" colspan="2">&#160;</td></tr>
  78. <tr><td colspan="2"><div class="groupHeader">Destructor</div></td></tr>
  79. <tr class="memitem:a90f5c37effbb18503302ed88048eedcd"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttr.html#a90f5c37effbb18503302ed88048eedcd">~XMLAttr</a> ()</td></tr>
  80. <tr class="separator:a90f5c37effbb18503302ed88048eedcd"><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:ad1f6f75fb9ba0f7ea90145a839cae1c8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQName.html">QName</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttr.html#ad1f6f75fb9ba0f7ea90145a839cae1c8">getAttName</a> () const </td></tr>
  83. <tr class="memdesc:ad1f6f75fb9ba0f7ea90145a839cae1c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method returns the attribute name in a <a class="el" href="classQName.html">QName</a> format. <a href="#ad1f6f75fb9ba0f7ea90145a839cae1c8">More...</a><br /></td></tr>
  84. <tr class="separator:ad1f6f75fb9ba0f7ea90145a839cae1c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  85. <tr class="memitem:a18927ce8e8ea49d622fd20016cec01ec"><td class="memItemLeft" align="right" valign="top">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="classXMLAttr.html#a18927ce8e8ea49d622fd20016cec01ec">getName</a> () const </td></tr>
  86. <tr class="memdesc:a18927ce8e8ea49d622fd20016cec01ec"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method gets a const pointer to the name of the attribute. <a href="#a18927ce8e8ea49d622fd20016cec01ec">More...</a><br /></td></tr>
  87. <tr class="separator:a18927ce8e8ea49d622fd20016cec01ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
  88. <tr class="memitem:aaacdcbc48f8db0149eed17d3f3607107"><td class="memItemLeft" align="right" valign="top">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="classXMLAttr.html#aaacdcbc48f8db0149eed17d3f3607107">getPrefix</a> () const </td></tr>
  89. <tr class="memdesc:aaacdcbc48f8db0149eed17d3f3607107"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method will get a const pointer to the prefix string of this attribute. <a href="#aaacdcbc48f8db0149eed17d3f3607107">More...</a><br /></td></tr>
  90. <tr class="separator:aaacdcbc48f8db0149eed17d3f3607107"><td class="memSeparator" colspan="2">&#160;</td></tr>
  91. <tr class="memitem:a8c22a37ae1a502bd48336a8f6df231e0"><td class="memItemLeft" align="right" valign="top">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="classXMLAttr.html#a8c22a37ae1a502bd48336a8f6df231e0">getQName</a> () const </td></tr>
  92. <tr class="memdesc:a8c22a37ae1a502bd48336a8f6df231e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method will get the <a class="el" href="classQName.html">QName</a> of this attribute, which will be the prefix if any, then a colon, then the base name. <a href="#a8c22a37ae1a502bd48336a8f6df231e0">More...</a><br /></td></tr>
  93. <tr class="separator:a8c22a37ae1a502bd48336a8f6df231e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  94. <tr class="memitem:ae7cffa5ffbef189b265e072a95e4d9e2"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttr.html#ae7cffa5ffbef189b265e072a95e4d9e2">getSpecified</a> () const </td></tr>
  95. <tr class="memdesc:ae7cffa5ffbef189b265e072a95e4d9e2"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method will get the specified flag, which indicates whether the attribute was explicitly specified or just faulted in. <a href="#ae7cffa5ffbef189b265e072a95e4d9e2">More...</a><br /></td></tr>
  96. <tr class="separator:ae7cffa5ffbef189b265e072a95e4d9e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  97. <tr class="memitem:a694b2c0c63c6c7b121721552d9ac34b5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classXMLAttDef.html#ad029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttr.html#a694b2c0c63c6c7b121721552d9ac34b5">getType</a> () const </td></tr>
  98. <tr class="memdesc:a694b2c0c63c6c7b121721552d9ac34b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method will get the type of the attribute. <a href="#a694b2c0c63c6c7b121721552d9ac34b5">More...</a><br /></td></tr>
  99. <tr class="separator:a694b2c0c63c6c7b121721552d9ac34b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  100. <tr class="memitem:a5ea30a1754f474cf1bf779043c2b4006"><td class="memItemLeft" align="right" valign="top">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="classXMLAttr.html#a5ea30a1754f474cf1bf779043c2b4006">getValue</a> () const </td></tr>
  101. <tr class="memdesc:a5ea30a1754f474cf1bf779043c2b4006"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method will get the value of the attribute. <a href="#a5ea30a1754f474cf1bf779043c2b4006">More...</a><br /></td></tr>
  102. <tr class="separator:a5ea30a1754f474cf1bf779043c2b4006"><td class="memSeparator" colspan="2">&#160;</td></tr>
  103. <tr class="memitem:ac84cf41c14530df46e67dbd50bfee73f"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttr.html#ac84cf41c14530df46e67dbd50bfee73f">getURIId</a> () const </td></tr>
  104. <tr class="memdesc:ac84cf41c14530df46e67dbd50bfee73f"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method will get the id of the URI that this attribute's prefix mapped to. <a href="#ac84cf41c14530df46e67dbd50bfee73f">More...</a><br /></td></tr>
  105. <tr class="separator:ac84cf41c14530df46e67dbd50bfee73f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  106. <tr><td colspan="2"><div class="groupHeader">Setter methods</div></td></tr>
  107. <tr class="memitem:a6a98e671429336dc8977c5f9d006015f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttr.html#a6a98e671429336dc8977c5f9d006015f">set</a> (const unsigned int uriId, const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const attrName, const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const attrPrefix, const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const attrValue, const <a class="el" href="classXMLAttDef.html#ad029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a> type=<a class="el" href="classXMLAttDef.html#ad029f037065bfaeb991ab7855de79255ae77a76f18e1eea5d67911599b13ce76d">XMLAttDef::CData</a>, DatatypeValidator *datatypeValidator=0, const bool isSchema=false)</td></tr>
  108. <tr class="memdesc:a6a98e671429336dc8977c5f9d006015f"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method is called to set up a default constructed object after the fact, or to reuse a previously used object. <a href="#a6a98e671429336dc8977c5f9d006015f">More...</a><br /></td></tr>
  109. <tr class="separator:a6a98e671429336dc8977c5f9d006015f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  110. <tr class="memitem:aba7a02bce97156df3d98a18e3918ea3c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttr.html#aba7a02bce97156df3d98a18e3918ea3c">set</a> (const unsigned int uriId, const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const attrRawName, const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const attrValue, const <a class="el" href="classXMLAttDef.html#ad029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a> type=<a class="el" href="classXMLAttDef.html#ad029f037065bfaeb991ab7855de79255ae77a76f18e1eea5d67911599b13ce76d">XMLAttDef::CData</a>, DatatypeValidator *datatypeValidator=0, const bool isSchema=false)</td></tr>
  111. <tr class="memdesc:aba7a02bce97156df3d98a18e3918ea3c"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method is called to set up a default constructed object after the fact, or to reuse a previously used object. <a href="#aba7a02bce97156df3d98a18e3918ea3c">More...</a><br /></td></tr>
  112. <tr class="separator:aba7a02bce97156df3d98a18e3918ea3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  113. <tr class="memitem:a708531d9c9560950238da954db12d11a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttr.html#a708531d9c9560950238da954db12d11a">setName</a> (const unsigned int uriId, const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const attrName, const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const attrPrefix)</td></tr>
  114. <tr class="memdesc:a708531d9c9560950238da954db12d11a"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method will update just the name related fields of the attribute object. <a href="#a708531d9c9560950238da954db12d11a">More...</a><br /></td></tr>
  115. <tr class="separator:a708531d9c9560950238da954db12d11a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  116. <tr class="memitem:a8a992e66559d9373b32cb57d3b79226a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttr.html#a8a992e66559d9373b32cb57d3b79226a">setSpecified</a> (const bool newValue)</td></tr>
  117. <tr class="memdesc:a8a992e66559d9373b32cb57d3b79226a"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method will update the specified state of the object. <a href="#a8a992e66559d9373b32cb57d3b79226a">More...</a><br /></td></tr>
  118. <tr class="separator:a8a992e66559d9373b32cb57d3b79226a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  119. <tr class="memitem:a2e2723f34fb7cf393ccdf9f1d73b93d4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttr.html#a2e2723f34fb7cf393ccdf9f1d73b93d4">setType</a> (const <a class="el" href="classXMLAttDef.html#ad029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a> newType)</td></tr>
  120. <tr class="memdesc:a2e2723f34fb7cf393ccdf9f1d73b93d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method will update the attribute type of the object. <a href="#a2e2723f34fb7cf393ccdf9f1d73b93d4">More...</a><br /></td></tr>
  121. <tr class="separator:a2e2723f34fb7cf393ccdf9f1d73b93d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  122. <tr class="memitem:ac4623468c53c1776545371558c7c7667"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttr.html#ac4623468c53c1776545371558c7c7667">setValue</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const newValue)</td></tr>
  123. <tr class="memdesc:ac4623468c53c1776545371558c7c7667"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method will update the value field of the attribute. <a href="#ac4623468c53c1776545371558c7c7667">More...</a><br /></td></tr>
  124. <tr class="separator:ac4623468c53c1776545371558c7c7667"><td class="memSeparator" colspan="2">&#160;</td></tr>
  125. <tr class="memitem:a94691449a9b8f8a945bc584b29d917a3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttr.html#a94691449a9b8f8a945bc584b29d917a3">setURIId</a> (const unsigned int uriId)</td></tr>
  126. <tr class="memdesc:a94691449a9b8f8a945bc584b29d917a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method will set the URI id field of this attribute. <a href="#a94691449a9b8f8a945bc584b29d917a3">More...</a><br /></td></tr>
  127. <tr class="separator:a94691449a9b8f8a945bc584b29d917a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  128. <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>
  129. <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>
  130. <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>
  131. <tr class="separator:a717678d9deadc627a41fe0dddede9f7f inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
  132. <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>
  133. <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>
  134. <tr class="separator:ac3022fcc968c684a31c1e6a9ede83c10 inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
  135. <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>
  136. <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>
  137. <tr class="separator:aeaad885b799ac2188ffd28f76182339c inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
  138. <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>
  139. <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>
  140. <tr class="separator:a9da30f1601ea458908cbf150fc2f8f8b inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
  141. <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>
  142. <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>
  143. <tr class="separator:a22efbc6459bdbe79f83b7791bba4d1f6 inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
  144. <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>
  145. <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>
  146. <tr class="separator:a32ee38b70d412e12f669cfbd86adf623 inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
  147. </table><table class="memberdecls">
  148. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
  149. Additional Inherited Members</h2></td></tr>
  150. <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>
  151. <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>
  152. <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>
  153. <tr class="separator:ae5b8adaa10d5d9276b42823f47e06858 inherit pro_methods_classXMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
  154. </table>
  155. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  156. <div class="textblock"><p>This class defines the information about an attribute that will come out of the scanner during parsing. </p>
  157. <p>This information does not depend upon the type of validator because it is not tied to any scheme/DTD type info. Its just the raw XML 1.0 information that will be reported about an attribute in the startElement() callback method of 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> class. Hence it is not intended to be extended or derived from. Its designed to be used as is.</p>
  158. <p>The 'specified' field of this class indicates whether the attribute was actually present or whether it was faulted in because it had a fixed or default value.</p>
  159. <p>The code receiving this information can ask its validator for more info about the attribute, i.e. get its declaration from the DTD/Schema info.</p>
  160. <p>Because of the heavy use (and reuse) of instances of this class, and the number of string members it has, this class takes pains to not reallocate string members unless it has to. It keeps up with how long each buffer is and only reallocates if the new value won't fit. </p>
  161. </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  162. <a class="anchor" id="aa7b581799fd76ad6f8be148d40ae2b26"></a>
  163. <div class="memitem">
  164. <div class="memproto">
  165. <table class="memname">
  166. <tr>
  167. <td class="memname">XMLAttr::XMLAttr </td>
  168. <td>(</td>
  169. <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&#160;</td>
  170. <td class="paramname"><em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code></td><td>)</td>
  171. <td></td>
  172. </tr>
  173. </table>
  174. </div><div class="memdoc">
  175. <p>The default constructor just setsup an empty attribute to be filled in the later. </p>
  176. <p>Though the initial state is a reasonable one, it is not documented because it should not be depended on.</p>
  177. <dl class="params"><dt>Parameters</dt><dd>
  178. <table class="params">
  179. <tr><td class="paramname">manager</td><td>The configurable memory manager </td></tr>
  180. </table>
  181. </dd>
  182. </dl>
  183. </div>
  184. </div>
  185. <a class="anchor" id="aecc3539c6a366aa608d37acbae416154"></a>
  186. <div class="memitem">
  187. <div class="memproto">
  188. <table class="memname">
  189. <tr>
  190. <td class="memname">XMLAttr::XMLAttr </td>
  191. <td>(</td>
  192. <td class="paramtype">const unsigned int&#160;</td>
  193. <td class="paramname"><em>uriId</em>, </td>
  194. </tr>
  195. <tr>
  196. <td class="paramkey"></td>
  197. <td></td>
  198. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
  199. <td class="paramname"><em>attrName</em>, </td>
  200. </tr>
  201. <tr>
  202. <td class="paramkey"></td>
  203. <td></td>
  204. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
  205. <td class="paramname"><em>attrPrefix</em>, </td>
  206. </tr>
  207. <tr>
  208. <td class="paramkey"></td>
  209. <td></td>
  210. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
  211. <td class="paramname"><em>attrValue</em>, </td>
  212. </tr>
  213. <tr>
  214. <td class="paramkey"></td>
  215. <td></td>
  216. <td class="paramtype">const <a class="el" href="classXMLAttDef.html#ad029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a>&#160;</td>
  217. <td class="paramname"><em>type</em> = <code><a class="el" href="classXMLAttDef.html#ad029f037065bfaeb991ab7855de79255ae77a76f18e1eea5d67911599b13ce76d">XMLAttDef::CData</a></code>, </td>
  218. </tr>
  219. <tr>
  220. <td class="paramkey"></td>
  221. <td></td>
  222. <td class="paramtype">const bool&#160;</td>
  223. <td class="paramname"><em>specified</em> = <code>true</code>, </td>
  224. </tr>
  225. <tr>
  226. <td class="paramkey"></td>
  227. <td></td>
  228. <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&#160;</td>
  229. <td class="paramname"><em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code>, </td>
  230. </tr>
  231. <tr>
  232. <td class="paramkey"></td>
  233. <td></td>
  234. <td class="paramtype">DatatypeValidator *&#160;</td>
  235. <td class="paramname"><em>datatypeValidator</em> = <code>0</code>, </td>
  236. </tr>
  237. <tr>
  238. <td class="paramkey"></td>
  239. <td></td>
  240. <td class="paramtype">const bool&#160;</td>
  241. <td class="paramname"><em>isSchema</em> = <code>false</code>&#160;</td>
  242. </tr>
  243. <tr>
  244. <td></td>
  245. <td>)</td>
  246. <td></td><td></td>
  247. </tr>
  248. </table>
  249. </div><div class="memdoc">
  250. <p>This is the primary constructor which takes all of the information required to construct a complete attribute object. </p>
  251. <dl class="params"><dt>Parameters</dt><dd>
  252. <table class="params">
  253. <tr><td class="paramname">uriId</td><td>The id into the validator's URI pool of the URI that the prefix mapped to. Only used if namespaces are enabled/supported.</td></tr>
  254. <tr><td class="paramname">attrName</td><td>The base name of the attribute, i.e. the part after any prefix.</td></tr>
  255. <tr><td class="paramname">attrPrefix</td><td>The prefix, if any, of this attribute's name. If this is empty, then uriID is meaningless as well.</td></tr>
  256. <tr><td class="paramname">attrValue</td><td>The value string of the attribute, which should be fully normalized by XML rules!</td></tr>
  257. <tr><td class="paramname">type</td><td>The type of the attribute. This will indicate the type of normalization done and constrains the value content. Make sure that the value set meets the constraints!</td></tr>
  258. <tr><td class="paramname">specified</td><td>Indicates whether the attribute was explicitly specified or not. If not, then it was faulted in from a FIXED or DEFAULT value.</td></tr>
  259. <tr><td class="paramname">manager</td><td>The configurable memory manager </td></tr>
  260. <tr><td class="paramname">datatypeValidator</td><td>type used to validate the attribute, if it was validated by an XML Schema </td></tr>
  261. <tr><td class="paramname">isSchema</td><td>true if and only if this attribute was validated by an XML Schema </td></tr>
  262. </table>
  263. </dd>
  264. </dl>
  265. </div>
  266. </div>
  267. <a class="anchor" id="a1d4e3a00d66293fb1bc87f0722db8dbf"></a>
  268. <div class="memitem">
  269. <div class="memproto">
  270. <table class="memname">
  271. <tr>
  272. <td class="memname">XMLAttr::XMLAttr </td>
  273. <td>(</td>
  274. <td class="paramtype">const unsigned int&#160;</td>
  275. <td class="paramname"><em>uriId</em>, </td>
  276. </tr>
  277. <tr>
  278. <td class="paramkey"></td>
  279. <td></td>
  280. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
  281. <td class="paramname"><em>rawName</em>, </td>
  282. </tr>
  283. <tr>
  284. <td class="paramkey"></td>
  285. <td></td>
  286. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
  287. <td class="paramname"><em>attrValue</em>, </td>
  288. </tr>
  289. <tr>
  290. <td class="paramkey"></td>
  291. <td></td>
  292. <td class="paramtype">const <a class="el" href="classXMLAttDef.html#ad029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a>&#160;</td>
  293. <td class="paramname"><em>type</em> = <code><a class="el" href="classXMLAttDef.html#ad029f037065bfaeb991ab7855de79255ae77a76f18e1eea5d67911599b13ce76d">XMLAttDef::CData</a></code>, </td>
  294. </tr>
  295. <tr>
  296. <td class="paramkey"></td>
  297. <td></td>
  298. <td class="paramtype">const bool&#160;</td>
  299. <td class="paramname"><em>specified</em> = <code>true</code>, </td>
  300. </tr>
  301. <tr>
  302. <td class="paramkey"></td>
  303. <td></td>
  304. <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&#160;</td>
  305. <td class="paramname"><em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code>, </td>
  306. </tr>
  307. <tr>
  308. <td class="paramkey"></td>
  309. <td></td>
  310. <td class="paramtype">DatatypeValidator *&#160;</td>
  311. <td class="paramname"><em>datatypeValidator</em> = <code>0</code>, </td>
  312. </tr>
  313. <tr>
  314. <td class="paramkey"></td>
  315. <td></td>
  316. <td class="paramtype">const bool&#160;</td>
  317. <td class="paramname"><em>isSchema</em> = <code>false</code>&#160;</td>
  318. </tr>
  319. <tr>
  320. <td></td>
  321. <td>)</td>
  322. <td></td><td></td>
  323. </tr>
  324. </table>
  325. </div><div class="memdoc">
  326. <p>This is the primary constructor which takes all of the information required to construct a complete attribute object. </p>
  327. <dl class="params"><dt>Parameters</dt><dd>
  328. <table class="params">
  329. <tr><td class="paramname">uriId</td><td>The id into the validator's URI pool of the URI that the prefix mapped to. Only used if namespaces are enabled/supported.</td></tr>
  330. <tr><td class="paramname">rawName</td><td>The raw name of the attribute.</td></tr>
  331. <tr><td class="paramname">attrValue</td><td>The value string of the attribute, which should be fully normalized by XML rules!</td></tr>
  332. <tr><td class="paramname">type</td><td>The type of the attribute. This will indicate the type of normalization done and constrains the value content. Make sure that the value set meets the constraints!</td></tr>
  333. <tr><td class="paramname">specified</td><td>Indicates whether the attribute was explicitly specified or not. If not, then it was faulted in from a FIXED or DEFAULT value.</td></tr>
  334. <tr><td class="paramname">manager</td><td>The configurable memory manager </td></tr>
  335. <tr><td class="paramname">datatypeValidator</td><td>type used to validate the attribute, if it was validated by an XML Schema </td></tr>
  336. <tr><td class="paramname">isSchema</td><td>true if and only if this attribute was validated by an XML Schema </td></tr>
  337. </table>
  338. </dd>
  339. </dl>
  340. </div>
  341. </div>
  342. <a class="anchor" id="a90f5c37effbb18503302ed88048eedcd"></a>
  343. <div class="memitem">
  344. <div class="memproto">
  345. <table class="memname">
  346. <tr>
  347. <td class="memname">XMLAttr::~XMLAttr </td>
  348. <td>(</td>
  349. <td class="paramname"></td><td>)</td>
  350. <td></td>
  351. </tr>
  352. </table>
  353. </div><div class="memdoc">
  354. </div>
  355. </div>
  356. <h2 class="groupheader">Member Function Documentation</h2>
  357. <a class="anchor" id="ad1f6f75fb9ba0f7ea90145a839cae1c8"></a>
  358. <div class="memitem">
  359. <div class="memproto">
  360. <table class="memname">
  361. <tr>
  362. <td class="memname"><a class="el" href="classQName.html">QName</a> * XMLAttr::getAttName </td>
  363. <td>(</td>
  364. <td class="paramname"></td><td>)</td>
  365. <td> const</td>
  366. </tr>
  367. </table>
  368. </div><div class="memdoc">
  369. <p>This method returns the attribute name in a <a class="el" href="classQName.html">QName</a> format. </p>
  370. </div>
  371. </div>
  372. <a class="anchor" id="a18927ce8e8ea49d622fd20016cec01ec"></a>
  373. <div class="memitem">
  374. <div class="memproto">
  375. <table class="memname">
  376. <tr>
  377. <td class="memname">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> * XMLAttr::getName </td>
  378. <td>(</td>
  379. <td class="paramname"></td><td>)</td>
  380. <td> const</td>
  381. </tr>
  382. </table>
  383. </div><div class="memdoc">
  384. <p>This method gets a const pointer to the name of the attribute. </p>
  385. <p>The form of this name is defined by the validator in use. </p>
  386. <p>References <a class="el" href="classQName.html#aa22c091478cc3ec4fa64c9d448fdeb0d">QName::getLocalPart()</a>.</p>
  387. </div>
  388. </div>
  389. <a class="anchor" id="aaacdcbc48f8db0149eed17d3f3607107"></a>
  390. <div class="memitem">
  391. <div class="memproto">
  392. <table class="memname">
  393. <tr>
  394. <td class="memname">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> * XMLAttr::getPrefix </td>
  395. <td>(</td>
  396. <td class="paramname"></td><td>)</td>
  397. <td> const</td>
  398. </tr>
  399. </table>
  400. </div><div class="memdoc">
  401. <p>This method will get a const pointer to the prefix string of this attribute. </p>
  402. <p>Since prefixes are optional, it may be zero. </p>
  403. <p>References <a class="el" href="classQName.html#a5f5c1b806bb0eb966d47324b30a3199d">QName::getPrefix()</a>.</p>
  404. </div>
  405. </div>
  406. <a class="anchor" id="a8c22a37ae1a502bd48336a8f6df231e0"></a>
  407. <div class="memitem">
  408. <div class="memproto">
  409. <table class="memname">
  410. <tr>
  411. <td class="memname">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* XMLAttr::getQName </td>
  412. <td>(</td>
  413. <td class="paramname"></td><td>)</td>
  414. <td> const</td>
  415. </tr>
  416. </table>
  417. </div><div class="memdoc">
  418. <p>This method will get the <a class="el" href="classQName.html">QName</a> of this attribute, which will be the prefix if any, then a colon, then the base name. </p>
  419. <p>If there was no prefix, its the same as the <a class="el" href="classXMLAttr.html#a18927ce8e8ea49d622fd20016cec01ec" title="This method gets a const pointer to the name of the attribute. ">getName()</a> method. </p>
  420. </div>
  421. </div>
  422. <a class="anchor" id="ae7cffa5ffbef189b265e072a95e4d9e2"></a>
  423. <div class="memitem">
  424. <div class="memproto">
  425. <table class="memname">
  426. <tr>
  427. <td class="memname">bool XMLAttr::getSpecified </td>
  428. <td>(</td>
  429. <td class="paramname"></td><td>)</td>
  430. <td> const</td>
  431. </tr>
  432. </table>
  433. </div><div class="memdoc">
  434. <p>This method will get the specified flag, which indicates whether the attribute was explicitly specified or just faulted in. </p>
  435. </div>
  436. </div>
  437. <a class="anchor" id="a694b2c0c63c6c7b121721552d9ac34b5"></a>
  438. <div class="memitem">
  439. <div class="memproto">
  440. <table class="memname">
  441. <tr>
  442. <td class="memname"><a class="el" href="classXMLAttDef.html#ad029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a> XMLAttr::getType </td>
  443. <td>(</td>
  444. <td class="paramname"></td><td>)</td>
  445. <td> const</td>
  446. </tr>
  447. </table>
  448. </div><div class="memdoc">
  449. <p>This method will get the type of the attribute. </p>
  450. <p>The available types are defined by the XML specification. </p>
  451. </div>
  452. </div>
  453. <a class="anchor" id="ac84cf41c14530df46e67dbd50bfee73f"></a>
  454. <div class="memitem">
  455. <div class="memproto">
  456. <table class="memname">
  457. <tr>
  458. <td class="memname">unsigned int XMLAttr::getURIId </td>
  459. <td>(</td>
  460. <td class="paramname"></td><td>)</td>
  461. <td> const</td>
  462. </tr>
  463. </table>
  464. </div><div class="memdoc">
  465. <p>This method will get the id of the URI that this attribute's prefix mapped to. </p>
  466. <p>If namespaces are not on, then its value is meaningless. </p>
  467. <p>References <a class="el" href="classQName.html#ae8a5c241b363084db7ca67c1982df060">QName::getURI()</a>.</p>
  468. </div>
  469. </div>
  470. <a class="anchor" id="a5ea30a1754f474cf1bf779043c2b4006"></a>
  471. <div class="memitem">
  472. <div class="memproto">
  473. <table class="memname">
  474. <tr>
  475. <td class="memname">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> * XMLAttr::getValue </td>
  476. <td>(</td>
  477. <td class="paramname"></td><td>)</td>
  478. <td> const</td>
  479. </tr>
  480. </table>
  481. </div><div class="memdoc">
  482. <p>This method will get the value of the attribute. </p>
  483. <p>The value can be be an empty string, but never null if the object is correctly set up. </p>
  484. </div>
  485. </div>
  486. <a class="anchor" id="a6a98e671429336dc8977c5f9d006015f"></a>
  487. <div class="memitem">
  488. <div class="memproto">
  489. <table class="memname">
  490. <tr>
  491. <td class="memname">void XMLAttr::set </td>
  492. <td>(</td>
  493. <td class="paramtype">const unsigned int&#160;</td>
  494. <td class="paramname"><em>uriId</em>, </td>
  495. </tr>
  496. <tr>
  497. <td class="paramkey"></td>
  498. <td></td>
  499. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
  500. <td class="paramname"><em>attrName</em>, </td>
  501. </tr>
  502. <tr>
  503. <td class="paramkey"></td>
  504. <td></td>
  505. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
  506. <td class="paramname"><em>attrPrefix</em>, </td>
  507. </tr>
  508. <tr>
  509. <td class="paramkey"></td>
  510. <td></td>
  511. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
  512. <td class="paramname"><em>attrValue</em>, </td>
  513. </tr>
  514. <tr>
  515. <td class="paramkey"></td>
  516. <td></td>
  517. <td class="paramtype">const <a class="el" href="classXMLAttDef.html#ad029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a>&#160;</td>
  518. <td class="paramname"><em>type</em> = <code><a class="el" href="classXMLAttDef.html#ad029f037065bfaeb991ab7855de79255ae77a76f18e1eea5d67911599b13ce76d">XMLAttDef::CData</a></code>, </td>
  519. </tr>
  520. <tr>
  521. <td class="paramkey"></td>
  522. <td></td>
  523. <td class="paramtype">DatatypeValidator *&#160;</td>
  524. <td class="paramname"><em>datatypeValidator</em> = <code>0</code>, </td>
  525. </tr>
  526. <tr>
  527. <td class="paramkey"></td>
  528. <td></td>
  529. <td class="paramtype">const bool&#160;</td>
  530. <td class="paramname"><em>isSchema</em> = <code>false</code>&#160;</td>
  531. </tr>
  532. <tr>
  533. <td></td>
  534. <td>)</td>
  535. <td></td><td></td>
  536. </tr>
  537. </table>
  538. </div><div class="memdoc">
  539. <p>This method is called to set up a default constructed object after the fact, or to reuse a previously used object. </p>
  540. <dl class="params"><dt>Parameters</dt><dd>
  541. <table class="params">
  542. <tr><td class="paramname">uriId</td><td>The id into the validator's URI pool of the URI that the prefix mapped to. Only used if namespaces are enabled/supported.</td></tr>
  543. <tr><td class="paramname">attrName</td><td>The base name of the attribute, i.e. the part after any prefix.</td></tr>
  544. <tr><td class="paramname">attrPrefix</td><td>The prefix, if any, of this attribute's name. If this is empty, then uriID is meaningless as well.</td></tr>
  545. <tr><td class="paramname">attrValue</td><td>The value string of the attribute, which should be fully normalized by XML rules according to the attribute type.</td></tr>
  546. <tr><td class="paramname">type</td><td>The type of the attribute. This will indicate the type of normalization done and constrains the value content. Make sure that the value set meets the constraints! </td></tr>
  547. <tr><td class="paramname">datatypeValidator</td><td>type used to validate the attribute, if it was validated by an XML Schema </td></tr>
  548. <tr><td class="paramname">isSchema</td><td>true if and only if this attribute was validated by an XML Schema </td></tr>
  549. </table>
  550. </dd>
  551. </dl>
  552. <p>References <a class="el" href="classQName.html#a519ac787985e0bcd3b01a26ce02dbeed">QName::setName()</a>, and <a class="el" href="classXMLAttr.html#ac4623468c53c1776545371558c7c7667">setValue()</a>.</p>
  553. </div>
  554. </div>
  555. <a class="anchor" id="aba7a02bce97156df3d98a18e3918ea3c"></a>
  556. <div class="memitem">
  557. <div class="memproto">
  558. <table class="memname">
  559. <tr>
  560. <td class="memname">void XMLAttr::set </td>
  561. <td>(</td>
  562. <td class="paramtype">const unsigned int&#160;</td>
  563. <td class="paramname"><em>uriId</em>, </td>
  564. </tr>
  565. <tr>
  566. <td class="paramkey"></td>
  567. <td></td>
  568. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
  569. <td class="paramname"><em>attrRawName</em>, </td>
  570. </tr>
  571. <tr>
  572. <td class="paramkey"></td>
  573. <td></td>
  574. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
  575. <td class="paramname"><em>attrValue</em>, </td>
  576. </tr>
  577. <tr>
  578. <td class="paramkey"></td>
  579. <td></td>
  580. <td class="paramtype">const <a class="el" href="classXMLAttDef.html#ad029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a>&#160;</td>
  581. <td class="paramname"><em>type</em> = <code><a class="el" href="classXMLAttDef.html#ad029f037065bfaeb991ab7855de79255ae77a76f18e1eea5d67911599b13ce76d">XMLAttDef::CData</a></code>, </td>
  582. </tr>
  583. <tr>
  584. <td class="paramkey"></td>
  585. <td></td>
  586. <td class="paramtype">DatatypeValidator *&#160;</td>
  587. <td class="paramname"><em>datatypeValidator</em> = <code>0</code>, </td>
  588. </tr>
  589. <tr>
  590. <td class="paramkey"></td>
  591. <td></td>
  592. <td class="paramtype">const bool&#160;</td>
  593. <td class="paramname"><em>isSchema</em> = <code>false</code>&#160;</td>
  594. </tr>
  595. <tr>
  596. <td></td>
  597. <td>)</td>
  598. <td></td><td></td>
  599. </tr>
  600. </table>
  601. </div><div class="memdoc">
  602. <p>This method is called to set up a default constructed object after the fact, or to reuse a previously used object. </p>
  603. <dl class="params"><dt>Parameters</dt><dd>
  604. <table class="params">
  605. <tr><td class="paramname">uriId</td><td>The id into the validator's URI pool of the URI that the prefix mapped to. Only used if namespaces are enabled/supported.</td></tr>
  606. <tr><td class="paramname">attrRawName</td><td>The raw name of the attribute.</td></tr>
  607. <tr><td class="paramname">attrValue</td><td>The value string of the attribute, which should be fully normalized by XML rules according to the attribute type.</td></tr>
  608. <tr><td class="paramname">type</td><td>The type of the attribute. This will indicate the type of normalization done and constrains the value content. Make sure that the value set meets the constraints! </td></tr>
  609. <tr><td class="paramname">datatypeValidator</td><td>type used to validate the attribute, if it was validated by an XML Schema </td></tr>
  610. <tr><td class="paramname">isSchema</td><td>true if and only if this attribute was validated by an XML Schema </td></tr>
  611. </table>
  612. </dd>
  613. </dl>
  614. <p>References <a class="el" href="classQName.html#a519ac787985e0bcd3b01a26ce02dbeed">QName::setName()</a>, and <a class="el" href="classXMLAttr.html#ac4623468c53c1776545371558c7c7667">setValue()</a>.</p>
  615. </div>
  616. </div>
  617. <a class="anchor" id="a708531d9c9560950238da954db12d11a"></a>
  618. <div class="memitem">
  619. <div class="memproto">
  620. <table class="memname">
  621. <tr>
  622. <td class="memname">void XMLAttr::setName </td>
  623. <td>(</td>
  624. <td class="paramtype">const unsigned int&#160;</td>
  625. <td class="paramname"><em>uriId</em>, </td>
  626. </tr>
  627. <tr>
  628. <td class="paramkey"></td>
  629. <td></td>
  630. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
  631. <td class="paramname"><em>attrName</em>, </td>
  632. </tr>
  633. <tr>
  634. <td class="paramkey"></td>
  635. <td></td>
  636. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
  637. <td class="paramname"><em>attrPrefix</em>&#160;</td>
  638. </tr>
  639. <tr>
  640. <td></td>
  641. <td>)</td>
  642. <td></td><td></td>
  643. </tr>
  644. </table>
  645. </div><div class="memdoc">
  646. <p>This method will update just the name related fields of the attribute object. </p>
  647. <p>The other fields are left as is.</p>
  648. <dl class="params"><dt>Parameters</dt><dd>
  649. <table class="params">
  650. <tr><td class="paramname">uriId</td><td>The id into the validator's URI pool of the URI that the prefix mapped to. Only used if namespaces are enabled/supported.</td></tr>
  651. <tr><td class="paramname">attrName</td><td>The base name of the attribute, i.e. the part after any prefix.</td></tr>
  652. <tr><td class="paramname">attrPrefix</td><td>The prefix, if any, of this attribute's name. If this is empty, then uriID is meaningless as well. </td></tr>
  653. </table>
  654. </dd>
  655. </dl>
  656. </div>
  657. </div>
  658. <a class="anchor" id="a8a992e66559d9373b32cb57d3b79226a"></a>
  659. <div class="memitem">
  660. <div class="memproto">
  661. <table class="memname">
  662. <tr>
  663. <td class="memname">void XMLAttr::setSpecified </td>
  664. <td>(</td>
  665. <td class="paramtype">const bool&#160;</td>
  666. <td class="paramname"><em>newValue</em></td><td>)</td>
  667. <td></td>
  668. </tr>
  669. </table>
  670. </div><div class="memdoc">
  671. <p>This method will update the specified state of the object. </p>
  672. <dl class="params"><dt>Parameters</dt><dd>
  673. <table class="params">
  674. <tr><td class="paramname">newValue</td><td>Indicates whether the attribute was explicitly specified or not. If not, then it was faulted in from a FIXED or DEFAULT value. </td></tr>
  675. </table>
  676. </dd>
  677. </dl>
  678. </div>
  679. </div>
  680. <a class="anchor" id="a2e2723f34fb7cf393ccdf9f1d73b93d4"></a>
  681. <div class="memitem">
  682. <div class="memproto">
  683. <table class="memname">
  684. <tr>
  685. <td class="memname">void XMLAttr::setType </td>
  686. <td>(</td>
  687. <td class="paramtype">const <a class="el" href="classXMLAttDef.html#ad029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a>&#160;</td>
  688. <td class="paramname"><em>newType</em></td><td>)</td>
  689. <td></td>
  690. </tr>
  691. </table>
  692. </div><div class="memdoc">
  693. <p>This method will update the attribute type of the object. </p>
  694. <dl class="params"><dt>Parameters</dt><dd>
  695. <table class="params">
  696. <tr><td class="paramname">newType</td><td>The type of the attribute. This will indicate the type of normalization done and constrains the value content. Make sure that the value set meets the constraints! </td></tr>
  697. </table>
  698. </dd>
  699. </dl>
  700. </div>
  701. </div>
  702. <a class="anchor" id="a94691449a9b8f8a945bc584b29d917a3"></a>
  703. <div class="memitem">
  704. <div class="memproto">
  705. <table class="memname">
  706. <tr>
  707. <td class="memname">void XMLAttr::setURIId </td>
  708. <td>(</td>
  709. <td class="paramtype">const unsigned int&#160;</td>
  710. <td class="paramname"><em>uriId</em></td><td>)</td>
  711. <td></td>
  712. </tr>
  713. </table>
  714. </div><div class="memdoc">
  715. <p>This method will set the URI id field of this attribute. </p>
  716. <p>This is generally only ever called internally by the parser itself during the parsing process.</p>
  717. <dl class="params"><dt>Parameters</dt><dd>
  718. <table class="params">
  719. <tr><td class="paramname">uriId</td><td>The uriId of the attribute. </td></tr>
  720. </table>
  721. </dd>
  722. </dl>
  723. </div>
  724. </div>
  725. <a class="anchor" id="ac4623468c53c1776545371558c7c7667"></a>
  726. <div class="memitem">
  727. <div class="memproto">
  728. <table class="memname">
  729. <tr>
  730. <td class="memname">void XMLAttr::setValue </td>
  731. <td>(</td>
  732. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const&#160;</td>
  733. <td class="paramname"><em>newValue</em></td><td>)</td>
  734. <td></td>
  735. </tr>
  736. </table>
  737. </div><div class="memdoc">
  738. <p>This method will update the value field of the attribute. </p>
  739. <dl class="params"><dt>Parameters</dt><dd>
  740. <table class="params">
  741. <tr><td class="paramname">newValue</td><td>The value string of the attribute, which should be fully normalized by XML rules according to the attribute type. </td></tr>
  742. </table>
  743. </dd>
  744. </dl>
  745. <p>Referenced by <a class="el" href="classXMLAttr.html#a6a98e671429336dc8977c5f9d006015f">set()</a>.</p>
  746. </div>
  747. </div>
  748. <hr/>The documentation for this class was generated from the following file:<ul>
  749. <li><a class="el" href="XMLAttr_8hpp_source.html">XMLAttr.hpp</a></li>
  750. </ul>
  751. </div><!-- contents -->
  752. <!-- start footer part -->
  753. <hr class="footer"/><address class="footer"><small>
  754. Generated on Wed Mar 18 2015 10:43:38 for Xerces-C++ by &#160;<a href="http://www.doxygen.org/index.html">
  755. <img class="footer" src="doxygen.png" alt="doxygen"/>
  756. </a> 1.8.9.1
  757. </small></address>
  758. </body>
  759. </html>