1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Xerces-C++: XMLAttr Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.6 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li class="current"><a href="classes.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="classes.html"><span>Alphabetical List</span></a></li>
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>XMLAttr Class Reference</h1><!-- doxytag: class="XMLAttr" --><!-- doxytag: inherits="XMemory" -->This class defines the information about an attribute that will come out of the scanner during parsing.
<a href="#_details">More...</a>
<p>
<div class="dynheader">
Inheritance diagram for XMLAttr:</div>
<div class="dynsection">
<p><center><img src="classXMLAttr.png" usemap="#XMLAttr_map" border="0" alt=""></center>
<map name="XMLAttr_map">
<area href="classXMemory.html" alt="XMemory" shape="rect" coords="0,0,67,24">
</map>
</div>
<p>
<a href="classXMLAttr-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttr.html#a7b581799fd76ad6f8be148d40ae2b26">XMLAttr</a> (<a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The default constructor just setsup an empty attribute to be filled in the later. <a href="#a7b581799fd76ad6f8be148d40ae2b26"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttr.html#ecc3539c6a366aa608d37acbae416154">XMLAttr</a> (const unsigned int uriId, const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const attrName, const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const attrPrefix, const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const attrValue, const <a class="el" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a> type=XMLAttDef::CData, const bool specified=true, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>, DatatypeValidator *datatypeValidator=0, const bool isSchema=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This is the primary constructor which takes all of the information required to construct a complete attribute object. <a href="#ecc3539c6a366aa608d37acbae416154"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttr.html#1d4e3a00d66293fb1bc87f0722db8dbf">XMLAttr</a> (const unsigned int uriId, const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const rawName, const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const attrValue, const <a class="el" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a> type=XMLAttDef::CData, const bool specified=true, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>, DatatypeValidator *datatypeValidator=0, const bool isSchema=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This is the primary constructor which takes all of the information required to construct a complete attribute object. <a href="#1d4e3a00d66293fb1bc87f0722db8dbf"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Destructor</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttr.html#90f5c37effbb18503302ed88048eedcd">~XMLAttr</a> ()</td></tr>
<tr><td colspan="2"><div class="groupHeader">Getter methods</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classQName.html">QName</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttr.html#d1f6f75fb9ba0f7ea90145a839cae1c8">getAttName</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This method returns the attribute name in a <a class="el" href="classQName.html">QName</a> format. <a href="#d1f6f75fb9ba0f7ea90145a839cae1c8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttr.html#18927ce8e8ea49d622fd20016cec01ec">getName</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This method gets a const pointer to the name of the attribute. <a href="#18927ce8e8ea49d622fd20016cec01ec"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttr.html#aacdcbc48f8db0149eed17d3f3607107">getPrefix</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This method will get a const pointer to the prefix string of this attribute. <a href="#aacdcbc48f8db0149eed17d3f3607107"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttr.html#8c22a37ae1a502bd48336a8f6df231e0">getQName</a> () const </td></tr>
<tr><td class="mdescLeft"> </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="#8c22a37ae1a502bd48336a8f6df231e0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttr.html#e7cffa5ffbef189b265e072a95e4d9e2">getSpecified</a> () const </td></tr>
<tr><td class="mdescLeft"> </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="#e7cffa5ffbef189b265e072a95e4d9e2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttr.html#694b2c0c63c6c7b121721552d9ac34b5">getType</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This method will get the type of the attribute. <a href="#694b2c0c63c6c7b121721552d9ac34b5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttr.html#5ea30a1754f474cf1bf779043c2b4006">getValue</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This method will get the value of the attribute. <a href="#5ea30a1754f474cf1bf779043c2b4006"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttr.html#c84cf41c14530df46e67dbd50bfee73f">getURIId</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This method will get the id of the URI that this attribute's prefix mapped to. <a href="#c84cf41c14530df46e67dbd50bfee73f"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Setter methods</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttr.html#6a98e671429336dc8977c5f9d006015f">set</a> (const unsigned int uriId, const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const attrName, const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const attrPrefix, const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const attrValue, const <a class="el" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a> type=XMLAttDef::CData, DatatypeValidator *datatypeValidator=0, const bool isSchema=false)</td></tr>
<tr><td class="mdescLeft"> </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="#6a98e671429336dc8977c5f9d006015f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttr.html#ba7a02bce97156df3d98a18e3918ea3c">set</a> (const unsigned int uriId, const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const attrRawName, const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const attrValue, const <a class="el" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a> type=XMLAttDef::CData, DatatypeValidator *datatypeValidator=0, const bool isSchema=false)</td></tr>
<tr><td class="mdescLeft"> </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="#ba7a02bce97156df3d98a18e3918ea3c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttr.html#708531d9c9560950238da954db12d11a">setName</a> (const unsigned int uriId, const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const attrName, const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const attrPrefix)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This method will update just the name related fields of the attribute object. <a href="#708531d9c9560950238da954db12d11a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttr.html#8a992e66559d9373b32cb57d3b79226a">setSpecified</a> (const bool newValue)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This method will update the specified state of the object. <a href="#8a992e66559d9373b32cb57d3b79226a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttr.html#2e2723f34fb7cf393ccdf9f1d73b93d4">setType</a> (const <a class="el" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a> newType)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This method will update the attribute type of the object. <a href="#2e2723f34fb7cf393ccdf9f1d73b93d4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttr.html#c4623468c53c1776545371558c7c7667">setValue</a> (const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const newValue)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This method will update the value field of the attribute. <a href="#c4623468c53c1776545371558c7c7667"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttr.html#94691449a9b8f8a945bc584b29d917a3">setURIId</a> (const unsigned int uriId)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This method will set the URI id field of this attribute. <a href="#94691449a9b8f8a945bc584b29d917a3"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
This class defines the information about an attribute that will come out of the scanner during parsing.
<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...">XMLDocumentHandler</a> class. Hence it is not intended to be extended or derived from. Its designed to be used as is.<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>
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>
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. <hr><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" name="a7b581799fd76ad6f8be148d40ae2b26"></a><!-- doxytag: member="XMLAttr::XMLAttr" ref="a7b581799fd76ad6f8be148d40ae2b26" args="(MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">XMLAttr::XMLAttr </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td>
<td class="paramname"> <em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code> </td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The default constructor just setsup an empty attribute to be filled in the later.
<p>
Though the initial state is a reasonable one, it is not documented because it should not be depended on.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>manager</em> </td><td>The configurable memory manager </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="ecc3539c6a366aa608d37acbae416154"></a><!-- doxytag: member="XMLAttr::XMLAttr" ref="ecc3539c6a366aa608d37acbae416154" args="(const unsigned int uriId, const XMLCh *const attrName, const XMLCh *const attrPrefix, const XMLCh *const attrValue, const XMLAttDef::AttTypes type=XMLAttDef::CData, const bool specified=true, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager, DatatypeValidator *datatypeValidator=0, const bool isSchema=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">XMLAttr::XMLAttr </td>
<td>(</td>
<td class="paramtype">const unsigned int </td>
<td class="paramname"> <em>uriId</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const </td>
<td class="paramname"> <em>attrName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const </td>
<td class="paramname"> <em>attrPrefix</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const </td>
<td class="paramname"> <em>attrValue</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a> </td>
<td class="paramname"> <em>type</em> = <code>XMLAttDef::CData</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const bool </td>
<td class="paramname"> <em>specified</em> = <code>true</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td>
<td class="paramname"> <em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">DatatypeValidator * </td>
<td class="paramname"> <em>datatypeValidator</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const bool </td>
<td class="paramname"> <em>isSchema</em> = <code>false</code></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This is the primary constructor which takes all of the information required to construct a complete attribute object.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>uriId</em> </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>
<tr><td valign="top"></td><td valign="top"><em>attrName</em> </td><td>The base name of the attribute, i.e. the part after any prefix.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>attrPrefix</em> </td><td>The prefix, if any, of this attribute's name. If this is empty, then uriID is meaningless as well.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>attrValue</em> </td><td>The value string of the attribute, which should be fully normalized by XML rules!</td></tr>
<tr><td valign="top"></td><td valign="top"><em>type</em> </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>
<tr><td valign="top"></td><td valign="top"><em>specified</em> </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>
<tr><td valign="top"></td><td valign="top"><em>manager</em> </td><td>The configurable memory manager </td></tr>
<tr><td valign="top"></td><td valign="top"><em>datatypeValidator</em> </td><td>type used to validate the attribute, if it was validated by an XML Schema </td></tr>
<tr><td valign="top"></td><td valign="top"><em>isSchema</em> </td><td>true if and only if this attribute was validated by an XML Schema </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="1d4e3a00d66293fb1bc87f0722db8dbf"></a><!-- doxytag: member="XMLAttr::XMLAttr" ref="1d4e3a00d66293fb1bc87f0722db8dbf" args="(const unsigned int uriId, const XMLCh *const rawName, const XMLCh *const attrValue, const XMLAttDef::AttTypes type=XMLAttDef::CData, const bool specified=true, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager, DatatypeValidator *datatypeValidator=0, const bool isSchema=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">XMLAttr::XMLAttr </td>
<td>(</td>
<td class="paramtype">const unsigned int </td>
<td class="paramname"> <em>uriId</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const </td>
<td class="paramname"> <em>rawName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const </td>
<td class="paramname"> <em>attrValue</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a> </td>
<td class="paramname"> <em>type</em> = <code>XMLAttDef::CData</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const bool </td>
<td class="paramname"> <em>specified</em> = <code>true</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td>
<td class="paramname"> <em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">DatatypeValidator * </td>
<td class="paramname"> <em>datatypeValidator</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const bool </td>
<td class="paramname"> <em>isSchema</em> = <code>false</code></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This is the primary constructor which takes all of the information required to construct a complete attribute object.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>uriId</em> </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>
<tr><td valign="top"></td><td valign="top"><em>rawName</em> </td><td>The raw name of the attribute.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>attrValue</em> </td><td>The value string of the attribute, which should be fully normalized by XML rules!</td></tr>
<tr><td valign="top"></td><td valign="top"><em>type</em> </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>
<tr><td valign="top"></td><td valign="top"><em>specified</em> </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>
<tr><td valign="top"></td><td valign="top"><em>manager</em> </td><td>The configurable memory manager </td></tr>
<tr><td valign="top"></td><td valign="top"><em>datatypeValidator</em> </td><td>type used to validate the attribute, if it was validated by an XML Schema </td></tr>
<tr><td valign="top"></td><td valign="top"><em>isSchema</em> </td><td>true if and only if this attribute was validated by an XML Schema </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="90f5c37effbb18503302ed88048eedcd"></a><!-- doxytag: member="XMLAttr::~XMLAttr" ref="90f5c37effbb18503302ed88048eedcd" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">XMLAttr::~XMLAttr </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="d1f6f75fb9ba0f7ea90145a839cae1c8"></a><!-- doxytag: member="XMLAttr::getAttName" ref="d1f6f75fb9ba0f7ea90145a839cae1c8" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classQName.html">QName</a> * XMLAttr::getAttName </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This method returns the attribute name in a <a class="el" href="classQName.html">QName</a> format.
<p>
</div>
</div><p>
<a class="anchor" name="18927ce8e8ea49d622fd20016cec01ec"></a><!-- doxytag: member="XMLAttr::getName" ref="18927ce8e8ea49d622fd20016cec01ec" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> * XMLAttr::getName </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This method gets a const pointer to the name of the attribute.
<p>
The form of this name is defined by the validator in use.
<p>References <a class="el" href="QName_8hpp-source.html#l00177">QName::getLocalPart()</a>.</p>
</div>
</div><p>
<a class="anchor" name="aacdcbc48f8db0149eed17d3f3607107"></a><!-- doxytag: member="XMLAttr::getPrefix" ref="aacdcbc48f8db0149eed17d3f3607107" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> * XMLAttr::getPrefix </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This method will get a const pointer to the prefix string of this attribute.
<p>
Since prefixes are optional, it may be zero.
<p>References <a class="el" href="QName_8hpp-source.html#l00167">QName::getPrefix()</a>.</p>
</div>
</div><p>
<a class="anchor" name="8c22a37ae1a502bd48336a8f6df231e0"></a><!-- doxytag: member="XMLAttr::getQName" ref="8c22a37ae1a502bd48336a8f6df231e0" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a>* XMLAttr::getQName </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<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>
If there was no prefix, its the same as the <a class="el" href="classXMLAttr.html#18927ce8e8ea49d622fd20016cec01ec" title="This method gets a const pointer to the name of the attribute.">getName()</a> method.
</div>
</div><p>
<a class="anchor" name="e7cffa5ffbef189b265e072a95e4d9e2"></a><!-- doxytag: member="XMLAttr::getSpecified" ref="e7cffa5ffbef189b265e072a95e4d9e2" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool XMLAttr::getSpecified </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This method will get the specified flag, which indicates whether the attribute was explicitly specified or just faulted in.
<p>
</div>
</div><p>
<a class="anchor" name="694b2c0c63c6c7b121721552d9ac34b5"></a><!-- doxytag: member="XMLAttr::getType" ref="694b2c0c63c6c7b121721552d9ac34b5" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a> XMLAttr::getType </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This method will get the type of the attribute.
<p>
The available types are defined by the XML specification.
</div>
</div><p>
<a class="anchor" name="5ea30a1754f474cf1bf779043c2b4006"></a><!-- doxytag: member="XMLAttr::getValue" ref="5ea30a1754f474cf1bf779043c2b4006" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> * XMLAttr::getValue </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This method will get the value of the attribute.
<p>
The value can be be an empty string, but never null if the object is correctly set up.
</div>
</div><p>
<a class="anchor" name="c84cf41c14530df46e67dbd50bfee73f"></a><!-- doxytag: member="XMLAttr::getURIId" ref="c84cf41c14530df46e67dbd50bfee73f" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned int XMLAttr::getURIId </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This method will get the id of the URI that this attribute's prefix mapped to.
<p>
If namespaces are not on, then its value is meaningless.
<p>References <a class="el" href="QName_8hpp-source.html#l00187">QName::getURI()</a>.</p>
</div>
</div><p>
<a class="anchor" name="6a98e671429336dc8977c5f9d006015f"></a><!-- doxytag: member="XMLAttr::set" ref="6a98e671429336dc8977c5f9d006015f" args="(const unsigned int uriId, const XMLCh *const attrName, const XMLCh *const attrPrefix, const XMLCh *const attrValue, const XMLAttDef::AttTypes type=XMLAttDef::CData, DatatypeValidator *datatypeValidator=0, const bool isSchema=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void XMLAttr::set </td>
<td>(</td>
<td class="paramtype">const unsigned int </td>
<td class="paramname"> <em>uriId</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const </td>
<td class="paramname"> <em>attrName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const </td>
<td class="paramname"> <em>attrPrefix</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const </td>
<td class="paramname"> <em>attrValue</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a> </td>
<td class="paramname"> <em>type</em> = <code>XMLAttDef::CData</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">DatatypeValidator * </td>
<td class="paramname"> <em>datatypeValidator</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const bool </td>
<td class="paramname"> <em>isSchema</em> = <code>false</code></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This method is called to set up a default constructed object after the fact, or to reuse a previously used object.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>uriId</em> </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>
<tr><td valign="top"></td><td valign="top"><em>attrName</em> </td><td>The base name of the attribute, i.e. the part after any prefix.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>attrPrefix</em> </td><td>The prefix, if any, of this attribute's name. If this is empty, then uriID is meaningless as well.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>attrValue</em> </td><td>The value string of the attribute, which should be fully normalized by XML rules according to the attribute type.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>type</em> </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>
<tr><td valign="top"></td><td valign="top"><em>datatypeValidator</em> </td><td>type used to validate the attribute, if it was validated by an XML Schema </td></tr>
<tr><td valign="top"></td><td valign="top"><em>isSchema</em> </td><td>true if and only if this attribute was validated by an XML Schema </td></tr>
</table>
</dl>
<p>References <a class="el" href="classQName.html#519ac787985e0bcd3b01a26ce02dbeed">QName::setName()</a>, and <a class="el" href="classXMLAttr.html#c4623468c53c1776545371558c7c7667">setValue()</a>.</p>
</div>
</div><p>
<a class="anchor" name="ba7a02bce97156df3d98a18e3918ea3c"></a><!-- doxytag: member="XMLAttr::set" ref="ba7a02bce97156df3d98a18e3918ea3c" args="(const unsigned int uriId, const XMLCh *const attrRawName, const XMLCh *const attrValue, const XMLAttDef::AttTypes type=XMLAttDef::CData, DatatypeValidator *datatypeValidator=0, const bool isSchema=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void XMLAttr::set </td>
<td>(</td>
<td class="paramtype">const unsigned int </td>
<td class="paramname"> <em>uriId</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const </td>
<td class="paramname"> <em>attrRawName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const </td>
<td class="paramname"> <em>attrValue</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a> </td>
<td class="paramname"> <em>type</em> = <code>XMLAttDef::CData</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">DatatypeValidator * </td>
<td class="paramname"> <em>datatypeValidator</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const bool </td>
<td class="paramname"> <em>isSchema</em> = <code>false</code></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This method is called to set up a default constructed object after the fact, or to reuse a previously used object.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>uriId</em> </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>
<tr><td valign="top"></td><td valign="top"><em>attrRawName</em> </td><td>The raw name of the attribute.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>attrValue</em> </td><td>The value string of the attribute, which should be fully normalized by XML rules according to the attribute type.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>type</em> </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>
<tr><td valign="top"></td><td valign="top"><em>datatypeValidator</em> </td><td>type used to validate the attribute, if it was validated by an XML Schema </td></tr>
<tr><td valign="top"></td><td valign="top"><em>isSchema</em> </td><td>true if and only if this attribute was validated by an XML Schema </td></tr>
</table>
</dl>
<p>References <a class="el" href="classQName.html#519ac787985e0bcd3b01a26ce02dbeed">QName::setName()</a>, and <a class="el" href="classXMLAttr.html#c4623468c53c1776545371558c7c7667">setValue()</a>.</p>
</div>
</div><p>
<a class="anchor" name="708531d9c9560950238da954db12d11a"></a><!-- doxytag: member="XMLAttr::setName" ref="708531d9c9560950238da954db12d11a" args="(const unsigned int uriId, const XMLCh *const attrName, const XMLCh *const attrPrefix)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void XMLAttr::setName </td>
<td>(</td>
<td class="paramtype">const unsigned int </td>
<td class="paramname"> <em>uriId</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const </td>
<td class="paramname"> <em>attrName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const </td>
<td class="paramname"> <em>attrPrefix</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This method will update just the name related fields of the attribute object.
<p>
The other fields are left as is.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>uriId</em> </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>
<tr><td valign="top"></td><td valign="top"><em>attrName</em> </td><td>The base name of the attribute, i.e. the part after any prefix.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>attrPrefix</em> </td><td>The prefix, if any, of this attribute's name. If this is empty, then uriID is meaningless as well. </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="8a992e66559d9373b32cb57d3b79226a"></a><!-- doxytag: member="XMLAttr::setSpecified" ref="8a992e66559d9373b32cb57d3b79226a" args="(const bool newValue)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void XMLAttr::setSpecified </td>
<td>(</td>
<td class="paramtype">const bool </td>
<td class="paramname"> <em>newValue</em> </td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This method will update the specified state of the object.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>newValue</em> </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>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="2e2723f34fb7cf393ccdf9f1d73b93d4"></a><!-- doxytag: member="XMLAttr::setType" ref="2e2723f34fb7cf393ccdf9f1d73b93d4" args="(const XMLAttDef::AttTypes newType)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void XMLAttr::setType </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a> </td>
<td class="paramname"> <em>newType</em> </td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This method will update the attribute type of the object.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>newType</em> </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>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="c4623468c53c1776545371558c7c7667"></a><!-- doxytag: member="XMLAttr::setValue" ref="c4623468c53c1776545371558c7c7667" args="(const XMLCh *const newValue)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void XMLAttr::setValue </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const </td>
<td class="paramname"> <em>newValue</em> </td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This method will update the value field of the attribute.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>newValue</em> </td><td>The value string of the attribute, which should be fully normalized by XML rules according to the attribute type. </td></tr>
</table>
</dl>
<p>Referenced by <a class="el" href="XMLAttr_8hpp-source.html#l00458">set()</a>.</p>
</div>
</div><p>
<a class="anchor" name="94691449a9b8f8a945bc584b29d917a3"></a><!-- doxytag: member="XMLAttr::setURIId" ref="94691449a9b8f8a945bc584b29d917a3" args="(const unsigned int uriId)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void XMLAttr::setURIId </td>
<td>(</td>
<td class="paramtype">const unsigned int </td>
<td class="paramname"> <em>uriId</em> </td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This method will set the URI id field of this attribute.
<p>
This is generally only ever called internally by the parser itself during the parsing process.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>uriId</em> </td><td>The uriId of the attribute. </td></tr>
</table>
</dl>
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="XMLAttr_8hpp-source.html">XMLAttr.hpp</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Apr 21 17:55:50 2010 for Xerces-C++ by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>
|