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 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933
|
<!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++: XMLAttDef 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>XMLAttDef Class Reference</h1><!-- doxytag: class="XMLAttDef" --><!-- doxytag: inherits="XMemory" -->Represents the core information of an attribute definition.
<a href="#_details">More...</a>
<p>
<div class="dynheader">
Inheritance diagram for XMLAttDef:</div>
<div class="dynsection">
<p><center><img src="classXMLAttDef.png" usemap="#XMLAttDef_map" border="0" alt=""></center>
<map name="XMLAttDef_map">
<area href="classXMemory.html" alt="XMemory" shape="rect" coords="0,0,74,24">
</map>
</div>
<p>
<a href="classXMLAttDef-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 Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255">AttTypes</a> { <br>
<a class="el" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255e77a76f18e1eea5d67911599b13ce76d">CData</a> = 0,
<a class="el" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255ca6b80c948a3410cf59ca1b0ffce0be0">ID</a> = 1,
<a class="el" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de792553021331fcb55d88bd7e061590b2cb751">IDRef</a> = 2,
<a class="el" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255c999677152f4913000f179952b477848">IDRefs</a> = 3,
<br>
<a class="el" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255b72cc2bfb80dfd2ccbf38be02736bd43">Entity</a> = 4,
<a class="el" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de792557b094bdadc825139ab5f37983e8c12c4">Entities</a> = 5,
<a class="el" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de792550b3cc623c4436a76770f90455d636c67">NmToken</a> = 6,
<a class="el" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255285e203f331c42ce85d790324241912f">NmTokens</a> = 7,
<br>
<a class="el" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255d3eb297500851c2ffcfd77fb4ff4ea62">Notation</a> = 8,
<a class="el" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255dabd249437a691f7d8865124a38369f5">Enumeration</a> = 9,
<a class="el" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de7925575a7f79bb287fb54fd16999801912950">Simple</a> = 10,
<a class="el" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255ef7f6f4174016b21d150dcb871e5840e">Any_Any</a> = 11,
<br>
<a class="el" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de792558483dae1f80e4e75924975f6629f01db">Any_Other</a> = 12,
<a class="el" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255b69234c28d1d2e3b7d46a657661a5992">Any_List</a> = 13,
<a class="el" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de7925585775d4db3615ab4d5da0103fa8bbec7">AttTypes_Count</a>,
<a class="el" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de792557ee8523e6f04c979ed32c8033e474bce">AttTypes_Min</a> = 0,
<br>
<a class="el" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de792558d84e7f903f756c599ae59a30186da05">AttTypes_Max</a> = 13,
<a class="el" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255ece7ca143d3cc4f34f31c54ab4a3a5eb">AttTypes_Unknown</a> = -1
<br>
}</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttDef.html#dbac7febf3455722cc9736f1dc03c02f">DefAttTypes</a> { <br>
<a class="el" href="classXMLAttDef.html#dbac7febf3455722cc9736f1dc03c02f69a7213ea4d75a232f8def80984d588b">Default</a> = 0,
<a class="el" href="classXMLAttDef.html#dbac7febf3455722cc9736f1dc03c02f2df85eb75f76a97c19072f3fb2ed85ae">Fixed</a> = 1,
<a class="el" href="classXMLAttDef.html#dbac7febf3455722cc9736f1dc03c02f6cce4ac910f5cea46863719f5ad9d9ce">Required</a> = 2,
<a class="el" href="classXMLAttDef.html#dbac7febf3455722cc9736f1dc03c02f34db30f3e69e92bde6f2a3c7ad31a88a">Required_And_Fixed</a> = 3,
<br>
<a class="el" href="classXMLAttDef.html#dbac7febf3455722cc9736f1dc03c02f3e862c811188bf22e2ea40ce33cf9969">Implied</a> = 4,
<a class="el" href="classXMLAttDef.html#dbac7febf3455722cc9736f1dc03c02f409158e26eefd2e0d6ecaae6c9b84d5c">ProcessContents_Skip</a> = 5,
<a class="el" href="classXMLAttDef.html#dbac7febf3455722cc9736f1dc03c02f6cb43561595a82d55805fc65a7c087bd">ProcessContents_Lax</a> = 6,
<a class="el" href="classXMLAttDef.html#dbac7febf3455722cc9736f1dc03c02f652d7d06580929730ce0a722d32210c6">ProcessContents_Strict</a> = 7,
<br>
<a class="el" href="classXMLAttDef.html#dbac7febf3455722cc9736f1dc03c02f630b63d172b630b2a7fe5df0a83123fb">Prohibited</a> = 8,
<a class="el" href="classXMLAttDef.html#dbac7febf3455722cc9736f1dc03c02f98f10a178066735a452e9c1e4f60e2d5">DefAttTypes_Count</a>,
<a class="el" href="classXMLAttDef.html#dbac7febf3455722cc9736f1dc03c02fbe10eeab4aa4594fa3e66c6e28a4d6c7">DefAttTypes_Min</a> = 0,
<a class="el" href="classXMLAttDef.html#dbac7febf3455722cc9736f1dc03c02f620229a388b3776665ca17c8500751d4">DefAttTypes_Max</a> = 8,
<br>
<a class="el" href="classXMLAttDef.html#dbac7febf3455722cc9736f1dc03c02f808bdb5044eb8c92a6f595116a2a2502">DefAttTypes_Unknown</a> = -1
<br>
}</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttDef.html#7555277eb326f0985448cb32b0f102a6">CreateReasons</a> { <a class="el" href="classXMLAttDef.html#7555277eb326f0985448cb32b0f102a63384968a9f649c5b5cccaf4c6d87cd14">NoReason</a>,
<a class="el" href="classXMLAttDef.html#7555277eb326f0985448cb32b0f102a6e88ece29aa2305e79c345f19e58bc227">JustFaultIn</a>
}</td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Destructor</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttDef.html#73a4cb902c1fe907f1e71ee2fd95cdd0">~XMLAttDef</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#73a4cb902c1fe907f1e71ee2fd95cdd0"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Virtual interface</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttDef.html#66e9915b5fd1a6232320a0c8bdb4adb5">getFullName</a> () const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the full name of this attribute type. <a href="#66e9915b5fd1a6232320a0c8bdb4adb5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttDef.html#bf8803ebd4fe1c087b067380183d341b">reset</a> ()=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The derived class should implement any cleaning up required between each use of an instance of this class for validation. <a href="#bf8803ebd4fe1c087b067380183d341b"></a><br></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="classXMLAttDef.html#dbac7febf3455722cc9736f1dc03c02f">DefAttTypes</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttDef.html#0e7ac147ebdd7952acb412972e717022">getDefaultType</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the default type of this attribute type. <a href="#0e7ac147ebdd7952acb412972e717022"></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="classXMLAttDef.html#cdb1d7a844ec3b9f03494cc619d00ed2">getEnumeration</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the enumeration value (if any) of this attribute type. <a href="#cdb1d7a844ec3b9f03494cc619d00ed2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#c0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttDef.html#5a35a0223db8303314cca2e0b87ea2f0">getId</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the pool id of this attribute type. <a href="#5a35a0223db8303314cca2e0b87ea2f0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255">AttTypes</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttDef.html#44e92262a33da395468cfcfb5b6b6abd">getType</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the type of this attribute. <a href="#44e92262a33da395468cfcfb5b6b6abd"></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="classXMLAttDef.html#c6a04434627143abf6b4cf83c975001c">getValue</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the default/fixed value of this attribute (if any. <a href="#c6a04434627143abf6b4cf83c975001c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classXMLAttDef.html#7555277eb326f0985448cb32b0f102a6">CreateReasons</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttDef.html#0b760da965b5ceed724a493b831fb081">getCreateReason</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the create reason for this attribute. <a href="#0b760da965b5ceed724a493b831fb081"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttDef.html#46707a69c2c754a0d205d12789d95306">isExternal</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Indicate whether this attribute has been declared externally. <a href="#46707a69c2c754a0d205d12789d95306"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classMemoryManager.html">MemoryManager</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttDef.html#d8c83665c3cbc0d9792c1dcc0703e56d">getMemoryManager</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the plugged-in memory manager. <a href="#d8c83665c3cbc0d9792c1dcc0703e56d"></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="classXMLAttDef.html#0d7f1a5da77dc100778b1dfe2eb092c6">setDefaultType</a> (const <a class="el" href="classXMLAttDef.html#dbac7febf3455722cc9736f1dc03c02f">XMLAttDef::DefAttTypes</a> newValue)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the default attribute type. <a href="#0d7f1a5da77dc100778b1dfe2eb092c6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttDef.html#6dc53a87019d56306b36842f228b944d">setId</a> (const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#c0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> newId)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the pool id for this attribute type. <a href="#6dc53a87019d56306b36842f228b944d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttDef.html#244028a04f84de0b9b43d89b317f2d7e">setType</a> (const <a class="el" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a> newValue)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the type of this attribute type. <a href="#244028a04f84de0b9b43d89b317f2d7e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttDef.html#b6c18545e394a61b07d3560191dab972">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">Set the default/fixed value of this attribute type. <a href="#b6c18545e394a61b07d3560191dab972"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttDef.html#79c8d9eb7c4ad1cbfd8b2d5e3daa129f">setEnumeration</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">Set the enumerated value of this attribute type. <a href="#79c8d9eb7c4ad1cbfd8b2d5e3daa129f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttDef.html#70fa7490dabaa8f48ce9cbc4390d86fc">setCreateReason</a> (const <a class="el" href="classXMLAttDef.html#7555277eb326f0985448cb32b0f102a6">CreateReasons</a> newReason)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Update the create reason for this attribute type. <a href="#70fa7490dabaa8f48ce9cbc4390d86fc"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttDef.html#4dcda30a9beeb6f3ff56e3658374e201">setExternalAttDeclaration</a> (const bool aValue)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the attribute decl to indicate external declaration. <a href="#4dcda30a9beeb6f3ff56e3658374e201"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Public, static methods</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttDef.html#729fd9de63ec5987d1389971254f7c51">getAttTypeString</a> (const <a class="el" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255">AttTypes</a> attrType, <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">Get a string representation of the passed attribute type enum. <a href="#729fd9de63ec5987d1389971254f7c51"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttDef.html#ee3ba882b706999b8dd6731e9efd9c72">getDefAttTypeString</a> (const <a class="el" href="classXMLAttDef.html#dbac7febf3455722cc9736f1dc03c02f">DefAttTypes</a> attrType, <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">Get a string representation of the passed def attribute type enum. <a href="#ee3ba882b706999b8dd6731e9efd9c72"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Static Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static const unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttDef.html#8b6036eb22e84bef591913ba8f709f18">fgInvalidAttrId</a></td></tr>
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttDef.html#3de8d992a89c3338131f7cb3c84b99a6">XMLAttDef</a> (const <a class="el" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255">AttTypes</a> type=CData, const <a class="el" href="classXMLAttDef.html#dbac7febf3455722cc9736f1dc03c02f">DefAttTypes</a> defType=Implied, <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="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLAttDef.html#f30950c72ec644d27aa7b13fd82a88a8">XMLAttDef</a> (const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const attValue, const <a class="el" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255">AttTypes</a> type, const <a class="el" href="classXMLAttDef.html#dbac7febf3455722cc9736f1dc03c02f">DefAttTypes</a> defType, const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const enumValues=0, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Represents the core information of an attribute definition.
<p>
This class defines the basic characteristics of an attribute, no matter what type of validator is used. If a particular schema associates more information with an attribute it will create a derivative of this class. So this class provides an abstract way to get basic information on attributes from any type of validator.<p>
This class supports keyed collection semantics on the fully qualified attribute name, by providing a getKey() method to extract the key string. getKey(), in this case, just calls the virtual method <a class="el" href="classXMLAttDef.html#66e9915b5fd1a6232320a0c8bdb4adb5" title="Get the full name of this attribute type.">getFullName()</a> to get the fully qualified name, as defined by the derived class.<p>
Note that the 'value' of an attribute type definition is the default or of fixed value given to it in its definition. If the attribute is of the enumerated or notation type, it will have an 'enumeration value' as well which is a space separated list of its possible vlaues. <hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="d029f037065bfaeb991ab7855de79255"></a><!-- doxytag: member="XMLAttDef::AttTypes" ref="d029f037065bfaeb991ab7855de79255" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="d029f037065bfaeb991ab7855de79255e77a76f18e1eea5d67911599b13ce76d"></a><!-- doxytag: member="CData" ref="d029f037065bfaeb991ab7855de79255e77a76f18e1eea5d67911599b13ce76d" args="" -->CData</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="d029f037065bfaeb991ab7855de79255ca6b80c948a3410cf59ca1b0ffce0be0"></a><!-- doxytag: member="ID" ref="d029f037065bfaeb991ab7855de79255ca6b80c948a3410cf59ca1b0ffce0be0" args="" -->ID</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="d029f037065bfaeb991ab7855de792553021331fcb55d88bd7e061590b2cb751"></a><!-- doxytag: member="IDRef" ref="d029f037065bfaeb991ab7855de792553021331fcb55d88bd7e061590b2cb751" args="" -->IDRef</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="d029f037065bfaeb991ab7855de79255c999677152f4913000f179952b477848"></a><!-- doxytag: member="IDRefs" ref="d029f037065bfaeb991ab7855de79255c999677152f4913000f179952b477848" args="" -->IDRefs</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="d029f037065bfaeb991ab7855de79255b72cc2bfb80dfd2ccbf38be02736bd43"></a><!-- doxytag: member="Entity" ref="d029f037065bfaeb991ab7855de79255b72cc2bfb80dfd2ccbf38be02736bd43" args="" -->Entity</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="d029f037065bfaeb991ab7855de792557b094bdadc825139ab5f37983e8c12c4"></a><!-- doxytag: member="Entities" ref="d029f037065bfaeb991ab7855de792557b094bdadc825139ab5f37983e8c12c4" args="" -->Entities</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="d029f037065bfaeb991ab7855de792550b3cc623c4436a76770f90455d636c67"></a><!-- doxytag: member="NmToken" ref="d029f037065bfaeb991ab7855de792550b3cc623c4436a76770f90455d636c67" args="" -->NmToken</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="d029f037065bfaeb991ab7855de79255285e203f331c42ce85d790324241912f"></a><!-- doxytag: member="NmTokens" ref="d029f037065bfaeb991ab7855de79255285e203f331c42ce85d790324241912f" args="" -->NmTokens</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="d029f037065bfaeb991ab7855de79255d3eb297500851c2ffcfd77fb4ff4ea62"></a><!-- doxytag: member="Notation" ref="d029f037065bfaeb991ab7855de79255d3eb297500851c2ffcfd77fb4ff4ea62" args="" -->Notation</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="d029f037065bfaeb991ab7855de79255dabd249437a691f7d8865124a38369f5"></a><!-- doxytag: member="Enumeration" ref="d029f037065bfaeb991ab7855de79255dabd249437a691f7d8865124a38369f5" args="" -->Enumeration</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="d029f037065bfaeb991ab7855de7925575a7f79bb287fb54fd16999801912950"></a><!-- doxytag: member="Simple" ref="d029f037065bfaeb991ab7855de7925575a7f79bb287fb54fd16999801912950" args="" -->Simple</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="d029f037065bfaeb991ab7855de79255ef7f6f4174016b21d150dcb871e5840e"></a><!-- doxytag: member="Any_Any" ref="d029f037065bfaeb991ab7855de79255ef7f6f4174016b21d150dcb871e5840e" args="" -->Any_Any</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="d029f037065bfaeb991ab7855de792558483dae1f80e4e75924975f6629f01db"></a><!-- doxytag: member="Any_Other" ref="d029f037065bfaeb991ab7855de792558483dae1f80e4e75924975f6629f01db" args="" -->Any_Other</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="d029f037065bfaeb991ab7855de79255b69234c28d1d2e3b7d46a657661a5992"></a><!-- doxytag: member="Any_List" ref="d029f037065bfaeb991ab7855de79255b69234c28d1d2e3b7d46a657661a5992" args="" -->Any_List</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="d029f037065bfaeb991ab7855de7925585775d4db3615ab4d5da0103fa8bbec7"></a><!-- doxytag: member="AttTypes_Count" ref="d029f037065bfaeb991ab7855de7925585775d4db3615ab4d5da0103fa8bbec7" args="" -->AttTypes_Count</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="d029f037065bfaeb991ab7855de792557ee8523e6f04c979ed32c8033e474bce"></a><!-- doxytag: member="AttTypes_Min" ref="d029f037065bfaeb991ab7855de792557ee8523e6f04c979ed32c8033e474bce" args="" -->AttTypes_Min</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="d029f037065bfaeb991ab7855de792558d84e7f903f756c599ae59a30186da05"></a><!-- doxytag: member="AttTypes_Max" ref="d029f037065bfaeb991ab7855de792558d84e7f903f756c599ae59a30186da05" args="" -->AttTypes_Max</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="d029f037065bfaeb991ab7855de79255ece7ca143d3cc4f34f31c54ab4a3a5eb"></a><!-- doxytag: member="AttTypes_Unknown" ref="d029f037065bfaeb991ab7855de79255ece7ca143d3cc4f34f31c54ab4a3a5eb" args="" -->AttTypes_Unknown</em> </td><td>
</td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="dbac7febf3455722cc9736f1dc03c02f"></a><!-- doxytag: member="XMLAttDef::DefAttTypes" ref="dbac7febf3455722cc9736f1dc03c02f" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="classXMLAttDef.html#dbac7febf3455722cc9736f1dc03c02f">XMLAttDef::DefAttTypes</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="dbac7febf3455722cc9736f1dc03c02f69a7213ea4d75a232f8def80984d588b"></a><!-- doxytag: member="Default" ref="dbac7febf3455722cc9736f1dc03c02f69a7213ea4d75a232f8def80984d588b" args="" -->Default</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="dbac7febf3455722cc9736f1dc03c02f2df85eb75f76a97c19072f3fb2ed85ae"></a><!-- doxytag: member="Fixed" ref="dbac7febf3455722cc9736f1dc03c02f2df85eb75f76a97c19072f3fb2ed85ae" args="" -->Fixed</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="dbac7febf3455722cc9736f1dc03c02f6cce4ac910f5cea46863719f5ad9d9ce"></a><!-- doxytag: member="Required" ref="dbac7febf3455722cc9736f1dc03c02f6cce4ac910f5cea46863719f5ad9d9ce" args="" -->Required</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="dbac7febf3455722cc9736f1dc03c02f34db30f3e69e92bde6f2a3c7ad31a88a"></a><!-- doxytag: member="Required_And_Fixed" ref="dbac7febf3455722cc9736f1dc03c02f34db30f3e69e92bde6f2a3c7ad31a88a" args="" -->Required_And_Fixed</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="dbac7febf3455722cc9736f1dc03c02f3e862c811188bf22e2ea40ce33cf9969"></a><!-- doxytag: member="Implied" ref="dbac7febf3455722cc9736f1dc03c02f3e862c811188bf22e2ea40ce33cf9969" args="" -->Implied</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="dbac7febf3455722cc9736f1dc03c02f409158e26eefd2e0d6ecaae6c9b84d5c"></a><!-- doxytag: member="ProcessContents_Skip" ref="dbac7febf3455722cc9736f1dc03c02f409158e26eefd2e0d6ecaae6c9b84d5c" args="" -->ProcessContents_Skip</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="dbac7febf3455722cc9736f1dc03c02f6cb43561595a82d55805fc65a7c087bd"></a><!-- doxytag: member="ProcessContents_Lax" ref="dbac7febf3455722cc9736f1dc03c02f6cb43561595a82d55805fc65a7c087bd" args="" -->ProcessContents_Lax</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="dbac7febf3455722cc9736f1dc03c02f652d7d06580929730ce0a722d32210c6"></a><!-- doxytag: member="ProcessContents_Strict" ref="dbac7febf3455722cc9736f1dc03c02f652d7d06580929730ce0a722d32210c6" args="" -->ProcessContents_Strict</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="dbac7febf3455722cc9736f1dc03c02f630b63d172b630b2a7fe5df0a83123fb"></a><!-- doxytag: member="Prohibited" ref="dbac7febf3455722cc9736f1dc03c02f630b63d172b630b2a7fe5df0a83123fb" args="" -->Prohibited</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="dbac7febf3455722cc9736f1dc03c02f98f10a178066735a452e9c1e4f60e2d5"></a><!-- doxytag: member="DefAttTypes_Count" ref="dbac7febf3455722cc9736f1dc03c02f98f10a178066735a452e9c1e4f60e2d5" args="" -->DefAttTypes_Count</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="dbac7febf3455722cc9736f1dc03c02fbe10eeab4aa4594fa3e66c6e28a4d6c7"></a><!-- doxytag: member="DefAttTypes_Min" ref="dbac7febf3455722cc9736f1dc03c02fbe10eeab4aa4594fa3e66c6e28a4d6c7" args="" -->DefAttTypes_Min</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="dbac7febf3455722cc9736f1dc03c02f620229a388b3776665ca17c8500751d4"></a><!-- doxytag: member="DefAttTypes_Max" ref="dbac7febf3455722cc9736f1dc03c02f620229a388b3776665ca17c8500751d4" args="" -->DefAttTypes_Max</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="dbac7febf3455722cc9736f1dc03c02f808bdb5044eb8c92a6f595116a2a2502"></a><!-- doxytag: member="DefAttTypes_Unknown" ref="dbac7febf3455722cc9736f1dc03c02f808bdb5044eb8c92a6f595116a2a2502" args="" -->DefAttTypes_Unknown</em> </td><td>
</td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="7555277eb326f0985448cb32b0f102a6"></a><!-- doxytag: member="XMLAttDef::CreateReasons" ref="7555277eb326f0985448cb32b0f102a6" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="classXMLAttDef.html#7555277eb326f0985448cb32b0f102a6">XMLAttDef::CreateReasons</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="7555277eb326f0985448cb32b0f102a63384968a9f649c5b5cccaf4c6d87cd14"></a><!-- doxytag: member="NoReason" ref="7555277eb326f0985448cb32b0f102a63384968a9f649c5b5cccaf4c6d87cd14" args="" -->NoReason</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="7555277eb326f0985448cb32b0f102a6e88ece29aa2305e79c345f19e58bc227"></a><!-- doxytag: member="JustFaultIn" ref="7555277eb326f0985448cb32b0f102a6e88ece29aa2305e79c345f19e58bc227" args="" -->JustFaultIn</em> </td><td>
</td></tr>
</table>
</dl>
</div>
</div><p>
<hr><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" name="73a4cb902c1fe907f1e71ee2fd95cdd0"></a><!-- doxytag: member="XMLAttDef::~XMLAttDef" ref="73a4cb902c1fe907f1e71ee2fd95cdd0" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual XMLAttDef::~XMLAttDef </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Destructor.
<p>
</div>
</div><p>
<a class="anchor" name="3de8d992a89c3338131f7cb3c84b99a6"></a><!-- doxytag: member="XMLAttDef::XMLAttDef" ref="3de8d992a89c3338131f7cb3c84b99a6" args="(const AttTypes type=CData, const DefAttTypes defType=Implied, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">XMLAttDef::XMLAttDef </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255">AttTypes</a> </td>
<td class="paramname"> <em>type</em> = <code>CData</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classXMLAttDef.html#dbac7febf3455722cc9736f1dc03c02f">DefAttTypes</a> </td>
<td class="paramname"> <em>defType</em> = <code>Implied</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><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="f30950c72ec644d27aa7b13fd82a88a8"></a><!-- doxytag: member="XMLAttDef::XMLAttDef" ref="f30950c72ec644d27aa7b13fd82a88a8" args="(const XMLCh *const attValue, const AttTypes type, const DefAttTypes defType, const XMLCh *const enumValues=0, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">XMLAttDef::XMLAttDef </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>attValue</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255">AttTypes</a> </td>
<td class="paramname"> <em>type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classXMLAttDef.html#dbac7febf3455722cc9736f1dc03c02f">DefAttTypes</a> </td>
<td class="paramname"> <em>defType</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>enumValues</em> = <code>0</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><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="729fd9de63ec5987d1389971254f7c51"></a><!-- doxytag: member="XMLAttDef::getAttTypeString" ref="729fd9de63ec5987d1389971254f7c51" args="(const AttTypes attrType, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">static const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a>* XMLAttDef::getAttTypeString </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255">AttTypes</a> </td>
<td class="paramname"> <em>attrType</em>, </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><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Get a string representation of the passed attribute type enum.
<p>
This method allows you to get a textual representation of an attribute type, mostly for debug or display.<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>attrType</em> </td><td>The attribute type value to get the string for. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>manager</em> </td><td>The <a class="el" href="classMemoryManager.html" title="Configurable memory manager.">MemoryManager</a> to use to allocate objects </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A const pointer to the static string that holds the text description of the passed type. </dd></dl>
</div>
</div><p>
<a class="anchor" name="ee3ba882b706999b8dd6731e9efd9c72"></a><!-- doxytag: member="XMLAttDef::getDefAttTypeString" ref="ee3ba882b706999b8dd6731e9efd9c72" args="(const DefAttTypes attrType, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">static const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a>* XMLAttDef::getDefAttTypeString </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classXMLAttDef.html#dbac7febf3455722cc9736f1dc03c02f">DefAttTypes</a> </td>
<td class="paramname"> <em>attrType</em>, </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><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Get a string representation of the passed def attribute type enum.
<p>
This method allows you to get a textual representation of an default attributetype, mostly for debug or display.<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>attrType</em> </td><td>The default attribute type value to get the string for. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>manager</em> </td><td>The <a class="el" href="classMemoryManager.html" title="Configurable memory manager.">MemoryManager</a> to use to allocate objects </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A const pointer to the static string that holds the text description of the passed default type. </dd></dl>
</div>
</div><p>
<a class="anchor" name="66e9915b5fd1a6232320a0c8bdb4adb5"></a><!-- doxytag: member="XMLAttDef::getFullName" ref="66e9915b5fd1a6232320a0c8bdb4adb5" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a>* XMLAttDef::getFullName </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Get the full name of this attribute type.
<p>
The derived class should return a const pointer to the full name of this attribute. This will vary depending on the type of validator in use.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A const pointer to the full name of this attribute type. </dd></dl>
</div>
</div><p>
<a class="anchor" name="bf8803ebd4fe1c087b067380183d341b"></a><!-- doxytag: member="XMLAttDef::reset" ref="bf8803ebd4fe1c087b067380183d341b" args="()=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void XMLAttDef::reset </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The derived class should implement any cleaning up required between each use of an instance of this class for validation.
<p>
</div>
</div><p>
<a class="anchor" name="0e7ac147ebdd7952acb412972e717022"></a><!-- doxytag: member="XMLAttDef::getDefaultType" ref="0e7ac147ebdd7952acb412972e717022" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classXMLAttDef.html#dbac7febf3455722cc9736f1dc03c02f">XMLAttDef::DefAttTypes</a> XMLAttDef::getDefaultType </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Get the default type of this attribute type.
<p>
This method returns the 'default type' of the attribute. Default type in this case refers to the XML concept of a default type for an attribute, i.e. #FIXED, #IMPLIED, etc...<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The default type enum for this attribute type. </dd></dl>
</div>
</div><p>
<a class="anchor" name="cdb1d7a844ec3b9f03494cc619d00ed2"></a><!-- doxytag: member="XMLAttDef::getEnumeration" ref="cdb1d7a844ec3b9f03494cc619d00ed2" 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> * XMLAttDef::getEnumeration </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Get the enumeration value (if any) of this attribute type.
<p>
If the attribute is of an enumeration or notation type, then this method will return a const reference to a string that contains the space separated values that can the attribute can have.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A const pointer to a string that contains the space separated legal values for this attribute. </dd></dl>
</div>
</div><p>
<a class="anchor" name="5a35a0223db8303314cca2e0b87ea2f0"></a><!-- doxytag: member="XMLAttDef::getId" ref="5a35a0223db8303314cca2e0b87ea2f0" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#c0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> XMLAttDef::getId </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Get the pool id of this attribute type.
<p>
This method will return the id of this attribute in the validator's attribute pool. It was set by the validator when this attribute was created.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The pool id of this attribute type. </dd></dl>
</div>
</div><p>
<a class="anchor" name="44e92262a33da395468cfcfb5b6b6abd"></a><!-- doxytag: member="XMLAttDef::getType" ref="44e92262a33da395468cfcfb5b6b6abd" 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> XMLAttDef::getType </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Get the type of this attribute.
<p>
Gets the type of this attribute. This type is represented by an enum that converts the types of attributes allowed by XML, e.g. CDATA, NMTOKEN, NOTATION, etc...<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The attribute type enumeration value for this type of attribute. </dd></dl>
</div>
</div><p>
<a class="anchor" name="c6a04434627143abf6b4cf83c975001c"></a><!-- doxytag: member="XMLAttDef::getValue" ref="c6a04434627143abf6b4cf83c975001c" 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> * XMLAttDef::getValue </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Get the default/fixed value of this attribute (if any.
<p>
)<p>
If the attribute defined a default/fixed value, then it is stored and this method will retrieve it. If it has non, then a null pointer is returned.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A const pointer to the default/fixed value for this attribute type. </dd></dl>
</div>
</div><p>
<a class="anchor" name="0b760da965b5ceed724a493b831fb081"></a><!-- doxytag: member="XMLAttDef::getCreateReason" ref="0b760da965b5ceed724a493b831fb081" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classXMLAttDef.html#7555277eb326f0985448cb32b0f102a6">XMLAttDef::CreateReasons</a> XMLAttDef::getCreateReason </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Get the create reason for this attribute.
<p>
This method returns an enumeration which indicates why this attribute declaration exists.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>An enumerated value that indicates the reason why this attribute was added to the attribute table. </dd></dl>
</div>
</div><p>
<a class="anchor" name="46707a69c2c754a0d205d12789d95306"></a><!-- doxytag: member="XMLAttDef::isExternal" ref="46707a69c2c754a0d205d12789d95306" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool XMLAttDef::isExternal </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Indicate whether this attribute has been declared externally.
<p>
This method returns a boolean that indicates whether this attribute has been declared externally.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>true if this attribute has been declared externally, else false. </dd></dl>
</div>
</div><p>
<a class="anchor" name="d8c83665c3cbc0d9792c1dcc0703e56d"></a><!-- doxytag: member="XMLAttDef::getMemoryManager" ref="d8c83665c3cbc0d9792c1dcc0703e56d" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classMemoryManager.html">MemoryManager</a> * XMLAttDef::getMemoryManager </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Get the plugged-in memory manager.
<p>
This method returns the plugged-in memory manager user for dynamic memory allocation/deallocation.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the plugged-in memory manager </dd></dl>
</div>
</div><p>
<a class="anchor" name="0d7f1a5da77dc100778b1dfe2eb092c6"></a><!-- doxytag: member="XMLAttDef::setDefaultType" ref="0d7f1a5da77dc100778b1dfe2eb092c6" args="(const XMLAttDef::DefAttTypes newValue)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void XMLAttDef::setDefaultType </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classXMLAttDef.html#dbac7febf3455722cc9736f1dc03c02f">XMLAttDef::DefAttTypes</a> </td>
<td class="paramname"> <em>newValue</em> </td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Set the default attribute type.
<p>
This method sets the default attribute type for this attribute. This setting controls whether the attribute is required, fixed, implied, etc...<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 new default attribute to set </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="6dc53a87019d56306b36842f228b944d"></a><!-- doxytag: member="XMLAttDef::setId" ref="6dc53a87019d56306b36842f228b944d" args="(const XMLSize_t newId)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void XMLAttDef::setId </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#c0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> </td>
<td class="paramname"> <em>newId</em> </td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Set the pool id for this attribute type.
<p>
This method sets the pool id of this attribute type. This is usually called by the validator that creates the actual instance (which is of a derived type known only by the validator.)<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>newId</em> </td><td>The new pool id to set. </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="244028a04f84de0b9b43d89b317f2d7e"></a><!-- doxytag: member="XMLAttDef::setType" ref="244028a04f84de0b9b43d89b317f2d7e" args="(const XMLAttDef::AttTypes newValue)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void XMLAttDef::setType </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classXMLAttDef.html#d029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a> </td>
<td class="paramname"> <em>newValue</em> </td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Set the type of this attribute type.
<p>
This method will set the type of the attribute. The type of an attribute controls how it is normalized and what kinds of characters it can hold.<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 new attribute type to set </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="b6c18545e394a61b07d3560191dab972"></a><!-- doxytag: member="XMLAttDef::setValue" ref="b6c18545e394a61b07d3560191dab972" args="(const XMLCh *const newValue)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void XMLAttDef::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>
Set the default/fixed value of this attribute type.
<p>
This method set the fixed/default value for the attribute. This value will be used when instances of this attribute type are faulted in. It <b>must</b> be a valid value for the type set by <a class="el" href="classXMLAttDef.html#244028a04f84de0b9b43d89b317f2d7e" title="Set the type of this attribute type.">setType()</a>. If the type is enumeration or notation, this must be one of the valid values set in the <a class="el" href="classXMLAttDef.html#79c8d9eb7c4ad1cbfd8b2d5e3daa129f" title="Set the enumerated value of this attribute type.">setEnumeration()</a> call.<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 new fixed/default value to set. </td></tr>
</table>
</dl>
<p>References <a class="el" href="classMemoryManager.html#f7dce9eab3a2a41e5b887ba735180e67">MemoryManager::deallocate()</a>, and <a class="el" href="classXMLString.html#bd917532682cddc53a96706f4c388fc9">XMLString::replicate()</a>.</p>
</div>
</div><p>
<a class="anchor" name="79c8d9eb7c4ad1cbfd8b2d5e3daa129f"></a><!-- doxytag: member="XMLAttDef::setEnumeration" ref="79c8d9eb7c4ad1cbfd8b2d5e3daa129f" args="(const XMLCh *const newValue)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void XMLAttDef::setEnumeration </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>
Set the enumerated value of this attribute type.
<p>
This method sets the enumerated/notation value list for this attribute type. It is a space separated set of possible values. These values must meet the constrains of the XML spec for such values of this type of attribute. This should only be set if the <a class="el" href="classXMLAttDef.html#244028a04f84de0b9b43d89b317f2d7e" title="Set the type of this attribute type.">setType()</a> method is used to set the type to the enumeration or notation types.<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 new enumerated/notation value list to set. </td></tr>
</table>
</dl>
<p>References <a class="el" href="classMemoryManager.html#f7dce9eab3a2a41e5b887ba735180e67">MemoryManager::deallocate()</a>, and <a class="el" href="classXMLString.html#bd917532682cddc53a96706f4c388fc9">XMLString::replicate()</a>.</p>
</div>
</div><p>
<a class="anchor" name="70fa7490dabaa8f48ce9cbc4390d86fc"></a><!-- doxytag: member="XMLAttDef::setCreateReason" ref="70fa7490dabaa8f48ce9cbc4390d86fc" args="(const CreateReasons newReason)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void XMLAttDef::setCreateReason </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classXMLAttDef.html#7555277eb326f0985448cb32b0f102a6">CreateReasons</a> </td>
<td class="paramname"> <em>newReason</em> </td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Update the create reason for this attribute type.
<p>
This method will update the 'create reason' field for this attribute decl 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>newReason</em> </td><td>The new create reason. </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="4dcda30a9beeb6f3ff56e3658374e201"></a><!-- doxytag: member="XMLAttDef::setExternalAttDeclaration" ref="4dcda30a9beeb6f3ff56e3658374e201" args="(const bool aValue)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void XMLAttDef::setExternalAttDeclaration </td>
<td>(</td>
<td class="paramtype">const bool </td>
<td class="paramname"> <em>aValue</em> </td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Set the attribute decl to indicate external declaration.
<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>aValue</em> </td><td>The new value to indicate external declaration. </td></tr>
</table>
</dl>
</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="8b6036eb22e84bef591913ba8f709f18"></a><!-- doxytag: member="XMLAttDef::fgInvalidAttrId" ref="8b6036eb22e84bef591913ba8f709f18" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const unsigned int <a class="el" href="classXMLAttDef.html#8b6036eb22e84bef591913ba8f709f18">XMLAttDef::fgInvalidAttrId</a><code> [static]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="XMLAttDef_8hpp-source.html">XMLAttDef.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>
|