File: classXMLElementDecl.html

package info (click to toggle)
xerces-c 3.1.1-3%2Bdeb7u2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 39,584 kB
  • sloc: cpp: 166,988; xml: 12,028; sh: 10,236; ansic: 3,984; makefile: 1,290; perl: 500
file content (1054 lines) | stat: -rw-r--r-- 59,524 bytes parent folder | download | duplicates (5)
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
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
<!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++: XMLElementDecl 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&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;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&nbsp;List</span></a></li>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>XMLElementDecl Class Reference</h1><!-- doxytag: class="XMLElementDecl" --><!-- doxytag: inherits="XMemory" -->This class defines the core information of an element declaration.  
<a href="#_details">More...</a>
<p>
<div class="dynheader">
Inheritance diagram for XMLElementDecl:</div>
<div class="dynsection">

<p><center><img src="classXMLElementDecl.png" usemap="#XMLElementDecl_map" border="0" alt=""></center>
<map name="XMLElementDecl_map">
<area href="classXMemory.html" alt="XMemory" shape="rect" coords="0,0,109,24">
</map>
</div>

<p>
<a href="classXMLElementDecl-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 &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLElementDecl.html#1307bfa5455f69a27898614ed168f7aa">CreateReasons</a> { <br>
&nbsp;&nbsp;<a class="el" href="classXMLElementDecl.html#1307bfa5455f69a27898614ed168f7aa6ea7ebbb617f944752e95c68cbd8bbd0">NoReason</a>, 
<a class="el" href="classXMLElementDecl.html#1307bfa5455f69a27898614ed168f7aa5b140b134d9b9f934b740c7e995aa836">Declared</a>, 
<a class="el" href="classXMLElementDecl.html#1307bfa5455f69a27898614ed168f7aaf89d8c19c104e67286afeff0d401ce89">AttList</a>, 
<a class="el" href="classXMLElementDecl.html#1307bfa5455f69a27898614ed168f7aafeee0959f6ea3c8db3e3bb651364af5d">InContentModel</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="classXMLElementDecl.html#1307bfa5455f69a27898614ed168f7aa3698d0f84f817958f37821f0eb205382">AsRootElem</a>, 
<a class="el" href="classXMLElementDecl.html#1307bfa5455f69a27898614ed168f7aae8a7a59607f85cd925e175f5c0e26d85">JustFaultIn</a>
<br>
 }</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLElementDecl.html#44870fe57f7421bc6506b835046ed1b0">CharDataOpts</a> { <a class="el" href="classXMLElementDecl.html#44870fe57f7421bc6506b835046ed1b00a2b984dff23855ba968a2d92fd800a7">NoCharData</a>, 
<a class="el" href="classXMLElementDecl.html#44870fe57f7421bc6506b835046ed1b0a3ed5983fbb5d209246f4aae94a558a8">SpacesOk</a>, 
<a class="el" href="classXMLElementDecl.html#44870fe57f7421bc6506b835046ed1b02f1f5a4d2563647af3ebf576d4988021">AllCharData</a>
 }</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLElementDecl.html#29b943d4557d3922d520ba034c8276de">objectType</a> { <a class="el" href="classXMLElementDecl.html#29b943d4557d3922d520ba034c8276de1cedeaedd7216de31223a41e2bd1bc2f">Schema</a>, 
<a class="el" href="classXMLElementDecl.html#29b943d4557d3922d520ba034c8276de5ef04d628563f5b7f64880851c37ceba">DTD</a>, 
<a class="el" href="classXMLElementDecl.html#29b943d4557d3922d520ba034c8276de697bb7c4ff963ec996716075a91bd1bd">UnKnown</a>
 }</td></tr>

<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classXMLElementDecl.html#29b943d4557d3922d520ba034c8276de">XMLElementDecl::objectType</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLElementDecl.html#c073a720a71b31b939d49a3ff2b0de29">getObjectType</a> () const =0</td></tr>

<tr><td colspan="2"><div class="groupHeader">Destructor</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLElementDecl.html#c797a3100cb4fa56eda0c28a24b96ced">~XMLElementDecl</a> ()</td></tr>

<tr><td colspan="2"><div class="groupHeader">Virual ElementDecl interface</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classXMLAttDefList.html">XMLAttDefList</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLElementDecl.html#b48919296a6dccd95aa06e698991c080">getAttDefList</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get a list of attributes defined for this element.  <a href="#b48919296a6dccd95aa06e698991c080"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classXMLElementDecl.html#44870fe57f7421bc6506b835046ed1b0">CharDataOpts</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLElementDecl.html#f43f4f07449e45f5a39cea54749e6f45">getCharDataOpts</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The character data options for this element type.  <a href="#f43f4f07449e45f5a39cea54749e6f45"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLElementDecl.html#2478e0d7865fdf9c46f885826c583634">hasAttDefs</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Indicate whether this element type defined any attributes.  <a href="#2478e0d7865fdf9c46f885826c583634"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const ContentSpecNode *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLElementDecl.html#e4e15ae8c4c565e1fecfdc2738ad2519">getContentSpec</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get a pointer to the content spec node.  <a href="#e4e15ae8c4c565e1fecfdc2738ad2519"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual ContentSpecNode *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLElementDecl.html#5d928da25bb27fd26404d859c5d6289a">getContentSpec</a> ()=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get a pointer to the content spec node.  <a href="#5d928da25bb27fd26404d859c5d6289a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLElementDecl.html#1211a1ac7eafbd17fc80cbeaf9ece031">setContentSpec</a> (ContentSpecNode *toAdopt)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the content spec node object for this element type.  <a href="#1211a1ac7eafbd17fc80cbeaf9ece031"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classXMLContentModel.html">XMLContentModel</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLElementDecl.html#8b438615592593409ed52de910b5db2c">getContentModel</a> ()=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get a pointer to the abstract content model.  <a href="#8b438615592593409ed52de910b5db2c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLElementDecl.html#894f5fc7fff0d92e25ea2e7a16346266">setContentModel</a> (<a class="el" href="classXMLContentModel.html">XMLContentModel</a> *const newModelToAdopt)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the content model object for this element type.  <a href="#894f5fc7fff0d92e25ea2e7a16346266"></a><br></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> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLElementDecl.html#59e5effbc797fc985d5006181c37a83f">getFormattedContentModel</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Geta formatted string of the content model.  <a href="#59e5effbc797fc985d5006181c37a83f"></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">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLElementDecl.html#4b8e71ee50aafabc32c08c4b7024d00c">getBaseName</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the base name of this element type.  <a href="#4b8e71ee50aafabc32c08c4b7024d00c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLElementDecl.html#8963b2d813cc5386096164147ed7d6e9">getBaseName</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLElementDecl.html#c2d6e48600f45dcaaedd6f278e7d285e">getURI</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the URI id of this element type.  <a href="#c2d6e48600f45dcaaedd6f278e7d285e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classQName.html">QName</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLElementDecl.html#a8581855ead5baddd945aab819c91ead">getElementName</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the <a class="el" href="classQName.html">QName</a> of this element type.  <a href="#a8581855ead5baddd945aab819c91ead"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classQName.html">QName</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLElementDecl.html#3f73052c506a1a8066c17c59e7485964">getElementName</a> ()</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> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLElementDecl.html#ab7a3db5fbbe3c7e21956d78fa18ab6d">getFullName</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the full name of this element type.  <a href="#ab7a3db5fbbe3c7e21956d78fa18ab6d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classXMLElementDecl.html#1307bfa5455f69a27898614ed168f7aa">CreateReasons</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLElementDecl.html#dc24848e8722ceed15af8366900206fd">getCreateReason</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the create reason for this element type.  <a href="#dc24848e8722ceed15af8366900206fd"></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>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLElementDecl.html#886b50fcd786d2b49ca6e56d9a0ecb78">getId</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the element decl pool id for this element type.  <a href="#886b50fcd786d2b49ca6e56d9a0ecb78"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLElementDecl.html#52c952aa2f0ddbebcbcc8a28dcbade89">isDeclared</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Indicate whether this element type has been declared yet.  <a href="#52c952aa2f0ddbebcbcc8a28dcbade89"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLElementDecl.html#59f01f2cfbeb9280a5ffcc9baab39177">isExternal</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Indicate whether this element type has been declared externally.  <a href="#59f01f2cfbeb9280a5ffcc9baab39177"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classMemoryManager.html">MemoryManager</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLElementDecl.html#7fcea325660b738e0407cde416e5b4f4">getMemoryManager</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the memory manager.  <a href="#7fcea325660b738e0407cde416e5b4f4"></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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLElementDecl.html#50602e4437a7d5806853fc18f4e37994">setElementName</a> (const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const prefix, const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const localPart, const int uriId)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the element name object for this element type.  <a href="#50602e4437a7d5806853fc18f4e37994"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLElementDecl.html#84866197971f93c33ace2417997326b7">setElementName</a> (const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const rawName, const int uriId)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the element name object for this element type.  <a href="#84866197971f93c33ace2417997326b7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLElementDecl.html#716c41e2fccc00bd5a4b336a6089f765">setElementName</a> (const <a class="el" href="classQName.html">QName</a> *const elementName)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the element name object for this element type.  <a href="#716c41e2fccc00bd5a4b336a6089f765"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLElementDecl.html#205865ce4f892e83e273d0febb46fa1c">setCreateReason</a> (const <a class="el" href="classXMLElementDecl.html#1307bfa5455f69a27898614ed168f7aa">CreateReasons</a> newReason)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Update the create reason for this element type.  <a href="#205865ce4f892e83e273d0febb46fa1c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLElementDecl.html#988371fcb81fb08d0ee6df81f9649f97">setId</a> (const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#c0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> newId)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the element decl pool id for this element type.  <a href="#988371fcb81fb08d0ee6df81f9649f97"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLElementDecl.html#dd0cdf27f589ab23ea8de1a629b51dd7">setExternalElemDeclaration</a> (const bool aValue)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the element decl to indicate external declaration.  <a href="#dd0cdf27f589ab23ea8de1a629b51dd7"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLElementDecl.html#86dec7ab6f2f2563a5531434c95a9573">storeElementDecl</a> (XSerializeEngine &amp;serEng, <a class="el" href="classXMLElementDecl.html">XMLElementDecl</a> *const element)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classXMLElementDecl.html">XMLElementDecl</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLElementDecl.html#529240e57fbaddca5de586b51fc4c167">loadElementDecl</a> (XSerializeEngine &amp;serEng)</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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLElementDecl.html#afc21717d7759f3fe357e92707d1870d">fgInvalidElemId</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static const unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLElementDecl.html#79dd4823913a168fb46ffb6b0bfc78ab">fgPCDataElemId</a></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>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLElementDecl.html#a7b8ed177aca128f956132dea880cf6b">fgPCDataElemName</a> []</td></tr>

<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLElementDecl.html#18305fabeda161fb2fd095597c32e438">XMLElementDecl</a> (<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>
This class defines the core information of an element declaration. 
<p>
Each validator (DTD, Schema, etc...) will have its own information that it associations with the declaration of an element, but they must all share at least this core information, i.e. they must all derive from this class. The set of info enforced at this level is driven by the needs of XML 1.0 spec validation and well formedness checks.<p>
This class defines some special element id values for invalid elements and PCDATA elements, as well as a string for the special PCDATA element name. All validators must honor these special values in order to allow content models to work generically (i.e. to let code know when its dealing with invalid or PCDATA element ids without having to know what type of validator its messing with.) <hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="1307bfa5455f69a27898614ed168f7aa"></a><!-- doxytag: member="XMLElementDecl::CreateReasons" ref="1307bfa5455f69a27898614ed168f7aa" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classXMLElementDecl.html#1307bfa5455f69a27898614ed168f7aa">XMLElementDecl::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="1307bfa5455f69a27898614ed168f7aa6ea7ebbb617f944752e95c68cbd8bbd0"></a><!-- doxytag: member="NoReason" ref="1307bfa5455f69a27898614ed168f7aa6ea7ebbb617f944752e95c68cbd8bbd0" args="" -->NoReason</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="1307bfa5455f69a27898614ed168f7aa5b140b134d9b9f934b740c7e995aa836"></a><!-- doxytag: member="Declared" ref="1307bfa5455f69a27898614ed168f7aa5b140b134d9b9f934b740c7e995aa836" args="" -->Declared</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="1307bfa5455f69a27898614ed168f7aaf89d8c19c104e67286afeff0d401ce89"></a><!-- doxytag: member="AttList" ref="1307bfa5455f69a27898614ed168f7aaf89d8c19c104e67286afeff0d401ce89" args="" -->AttList</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="1307bfa5455f69a27898614ed168f7aafeee0959f6ea3c8db3e3bb651364af5d"></a><!-- doxytag: member="InContentModel" ref="1307bfa5455f69a27898614ed168f7aafeee0959f6ea3c8db3e3bb651364af5d" args="" -->InContentModel</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="1307bfa5455f69a27898614ed168f7aa3698d0f84f817958f37821f0eb205382"></a><!-- doxytag: member="AsRootElem" ref="1307bfa5455f69a27898614ed168f7aa3698d0f84f817958f37821f0eb205382" args="" -->AsRootElem</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="1307bfa5455f69a27898614ed168f7aae8a7a59607f85cd925e175f5c0e26d85"></a><!-- doxytag: member="JustFaultIn" ref="1307bfa5455f69a27898614ed168f7aae8a7a59607f85cd925e175f5c0e26d85" args="" -->JustFaultIn</em>&nbsp;</td><td>
</td></tr>
</table>
</dl>

</div>
</div><p>
<a class="anchor" name="44870fe57f7421bc6506b835046ed1b0"></a><!-- doxytag: member="XMLElementDecl::CharDataOpts" ref="44870fe57f7421bc6506b835046ed1b0" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classXMLElementDecl.html#44870fe57f7421bc6506b835046ed1b0">XMLElementDecl::CharDataOpts</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="44870fe57f7421bc6506b835046ed1b00a2b984dff23855ba968a2d92fd800a7"></a><!-- doxytag: member="NoCharData" ref="44870fe57f7421bc6506b835046ed1b00a2b984dff23855ba968a2d92fd800a7" args="" -->NoCharData</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="44870fe57f7421bc6506b835046ed1b0a3ed5983fbb5d209246f4aae94a558a8"></a><!-- doxytag: member="SpacesOk" ref="44870fe57f7421bc6506b835046ed1b0a3ed5983fbb5d209246f4aae94a558a8" args="" -->SpacesOk</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="44870fe57f7421bc6506b835046ed1b02f1f5a4d2563647af3ebf576d4988021"></a><!-- doxytag: member="AllCharData" ref="44870fe57f7421bc6506b835046ed1b02f1f5a4d2563647af3ebf576d4988021" args="" -->AllCharData</em>&nbsp;</td><td>
</td></tr>
</table>
</dl>

</div>
</div><p>
<a class="anchor" name="29b943d4557d3922d520ba034c8276de"></a><!-- doxytag: member="XMLElementDecl::objectType" ref="29b943d4557d3922d520ba034c8276de" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classXMLElementDecl.html#29b943d4557d3922d520ba034c8276de">XMLElementDecl::objectType</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="29b943d4557d3922d520ba034c8276de1cedeaedd7216de31223a41e2bd1bc2f"></a><!-- doxytag: member="Schema" ref="29b943d4557d3922d520ba034c8276de1cedeaedd7216de31223a41e2bd1bc2f" args="" -->Schema</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="29b943d4557d3922d520ba034c8276de5ef04d628563f5b7f64880851c37ceba"></a><!-- doxytag: member="DTD" ref="29b943d4557d3922d520ba034c8276de5ef04d628563f5b7f64880851c37ceba" args="" -->DTD</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="29b943d4557d3922d520ba034c8276de697bb7c4ff963ec996716075a91bd1bd"></a><!-- doxytag: member="UnKnown" ref="29b943d4557d3922d520ba034c8276de697bb7c4ff963ec996716075a91bd1bd" args="" -->UnKnown</em>&nbsp;</td><td>
</td></tr>
</table>
</dl>

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="c797a3100cb4fa56eda0c28a24b96ced"></a><!-- doxytag: member="XMLElementDecl::~XMLElementDecl" ref="c797a3100cb4fa56eda0c28a24b96ced" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual XMLElementDecl::~XMLElementDecl           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="18305fabeda161fb2fd095597c32e438"></a><!-- doxytag: member="XMLElementDecl::XMLElementDecl" ref="18305fabeda161fb2fd095597c32e438" args="(MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">XMLElementDecl::XMLElementDecl           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const &nbsp;</td>
          <td class="paramname"> <em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code>          </td>
          <td>&nbsp;)&nbsp;</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="b48919296a6dccd95aa06e698991c080"></a><!-- doxytag: member="XMLElementDecl::getAttDefList" ref="b48919296a6dccd95aa06e698991c080" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classXMLAttDefList.html">XMLAttDefList</a>&amp; XMLElementDecl::getAttDefList           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get a list of attributes defined for this element. 
<p>
The derived class should return a reference to some member object which implements the <a class="el" href="classXMLAttDefList.html" title="This class defines an abstract interface that all validators must support.">XMLAttDefList</a> interface. This object gives the scanner the ability to look through the attributes defined for this element.<p>
It is done this way for efficiency, though of course this is not thread safe. The scanner guarantees that it won't ever call this method in any nested way, but the outside world must be careful about when it calls this method, and optimally never would. 
</div>
</div><p>
<a class="anchor" name="f43f4f07449e45f5a39cea54749e6f45"></a><!-- doxytag: member="XMLElementDecl::getCharDataOpts" ref="f43f4f07449e45f5a39cea54749e6f45" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classXMLElementDecl.html#44870fe57f7421bc6506b835046ed1b0">CharDataOpts</a> XMLElementDecl::getCharDataOpts           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The character data options for this element type. 
<p>
The derived class should return an appropriate character data opts value which correctly represents its tolerance towards whitespace or character data inside of its instances. This allows the scanner to do all of the validation of character data. 
</div>
</div><p>
<a class="anchor" name="2478e0d7865fdf9c46f885826c583634"></a><!-- doxytag: member="XMLElementDecl::hasAttDefs" ref="2478e0d7865fdf9c46f885826c583634" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool XMLElementDecl::hasAttDefs           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Indicate whether this element type defined any attributes. 
<p>
The derived class should return a boolean that indicates whether this element has any attributes defined for it or not. This is an optimization that allows the scanner to skip some work if no attributes exist. 
</div>
</div><p>
<a class="anchor" name="e4e15ae8c4c565e1fecfdc2738ad2519"></a><!-- doxytag: member="XMLElementDecl::getContentSpec" ref="e4e15ae8c4c565e1fecfdc2738ad2519" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const ContentSpecNode* XMLElementDecl::getContentSpec           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get a pointer to the content spec node. 
<p>
This method will return a const pointer to the content spec node object of this element.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A const pointer to the element's content spec node </dd></dl>

</div>
</div><p>
<a class="anchor" name="5d928da25bb27fd26404d859c5d6289a"></a><!-- doxytag: member="XMLElementDecl::getContentSpec" ref="5d928da25bb27fd26404d859c5d6289a" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual ContentSpecNode* XMLElementDecl::getContentSpec           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get a pointer to the content spec node. 
<p>
This method is identical to the previous one, except that it is non const. 
</div>
</div><p>
<a class="anchor" name="1211a1ac7eafbd17fc80cbeaf9ece031"></a><!-- doxytag: member="XMLElementDecl::setContentSpec" ref="1211a1ac7eafbd17fc80cbeaf9ece031" args="(ContentSpecNode *toAdopt)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void XMLElementDecl::setContentSpec           </td>
          <td>(</td>
          <td class="paramtype">ContentSpecNode *&nbsp;</td>
          <td class="paramname"> <em>toAdopt</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the content spec node object for this element type. 
<p>
This method will adopt the based content spec node object. This is called by the actual validator which is parsing its DTD or Schema or whatever and store it on the element decl object via this method.<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>toAdopt</em>&nbsp;</td><td>This method will adopt the passed content node spec object. Any previous object is destroyed. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="8b438615592593409ed52de910b5db2c"></a><!-- doxytag: member="XMLElementDecl::getContentModel" ref="8b438615592593409ed52de910b5db2c" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classXMLContentModel.html">XMLContentModel</a>* XMLElementDecl::getContentModel           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get a pointer to the abstract content model. 
<p>
This method will return a const pointer to the content model object of this element. This class is a simple abstraction that allows an element to define and use multiple, specialized content model types internally but still allow the outside world to do simple stuff with them.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A pointer to the element's content model, via the basic abstract content model type. </dd></dl>

</div>
</div><p>
<a class="anchor" name="894f5fc7fff0d92e25ea2e7a16346266"></a><!-- doxytag: member="XMLElementDecl::setContentModel" ref="894f5fc7fff0d92e25ea2e7a16346266" args="(XMLContentModel *const newModelToAdopt)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void XMLElementDecl::setContentModel           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classXMLContentModel.html">XMLContentModel</a> *const &nbsp;</td>
          <td class="paramname"> <em>newModelToAdopt</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the content model object for this element type. 
<p>
This method will adopt the based content model object. This is called by the actual validator which is parsing its DTD or Schema or whatever a creating an element decl. It will build what it feels is the correct content model type object and store it on the element decl object via this method.<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>newModelToAdopt</em>&nbsp;</td><td>This method will adopt the passed content model object. Any previous object is destroyed. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="59e5effbc797fc985d5006181c37a83f"></a><!-- doxytag: member="XMLElementDecl::getFormattedContentModel" ref="59e5effbc797fc985d5006181c37a83f" 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>* XMLElementDecl::getFormattedContentModel           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Geta formatted string of the content model. 
<p>
This method is a convenience method which will create a formatted representation of the content model of the element. It will not always exactly recreate the original model, since some normalization or or reformatting may occur. But, it will be a technically accurate representation of the original content model.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A pointer to an internal buffer which contains the formatted content model. The caller does not own this buffer and should copy it if it needs to be kept around. </dd></dl>

</div>
</div><p>
<a class="anchor" name="4b8e71ee50aafabc32c08c4b7024d00c"></a><!-- doxytag: member="XMLElementDecl::getBaseName" ref="4b8e71ee50aafabc32c08c4b7024d00c" 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> * XMLElementDecl::getBaseName           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the base name of this element type. 
<p>
Return the base name part of the element's name. This is the same regardless of whether namespaces are enabled or not.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A const pointer to the base name of the element decl. </dd></dl>

<p>References <a class="el" href="QName_8hpp-source.html#l00177">QName::getLocalPart()</a>.</p>

</div>
</div><p>
<a class="anchor" name="8963b2d813cc5386096164147ed7d6e9"></a><!-- doxytag: member="XMLElementDecl::getBaseName" ref="8963b2d813cc5386096164147ed7d6e9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> * XMLElementDecl::getBaseName           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>References <a class="el" href="QName_8hpp-source.html#l00177">QName::getLocalPart()</a>.</p>

</div>
</div><p>
<a class="anchor" name="c2d6e48600f45dcaaedd6f278e7d285e"></a><!-- doxytag: member="XMLElementDecl::getURI" ref="c2d6e48600f45dcaaedd6f278e7d285e" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int XMLElementDecl::getURI           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the URI id of this element type. 
<p>
Return the URI Id of this element.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The URI Id of the element decl, or the emptyNamespaceId if not applicable. </dd></dl>

<p>References <a class="el" href="QName_8hpp-source.html#l00187">QName::getURI()</a>.</p>

</div>
</div><p>
<a class="anchor" name="a8581855ead5baddd945aab819c91ead"></a><!-- doxytag: member="XMLElementDecl::getElementName" ref="a8581855ead5baddd945aab819c91ead" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classQName.html">QName</a> * XMLElementDecl::getElementName           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the <a class="el" href="classQName.html">QName</a> of this element type. 
<p>
Return the <a class="el" href="classQName.html">QName</a> part of the element's name. This is the same regardless of whether namespaces are enabled or not.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A const pointer to the <a class="el" href="classQName.html">QName</a> of the element decl. </dd></dl>

</div>
</div><p>
<a class="anchor" name="3f73052c506a1a8066c17c59e7485964"></a><!-- doxytag: member="XMLElementDecl::getElementName" ref="3f73052c506a1a8066c17c59e7485964" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classQName.html">QName</a> * XMLElementDecl::getElementName           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="ab7a3db5fbbe3c7e21956d78fa18ab6d"></a><!-- doxytag: member="XMLElementDecl::getFullName" ref="ab7a3db5fbbe3c7e21956d78fa18ab6d" 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> * XMLElementDecl::getFullName           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the full name of this element type. 
<p>
Return the full name of the element. If namespaces are not enabled, then this is the qName. Else it is the {uri}baseName form. For those validators that always require namespace processing, it will always be in the latter form because namespace processing will always be on. 
<p>References <a class="el" href="classQName.html#153e7cc021b9a63f3b1add304b6b0698">QName::getRawName()</a>.</p>

</div>
</div><p>
<a class="anchor" name="dc24848e8722ceed15af8366900206fd"></a><!-- doxytag: member="XMLElementDecl::getCreateReason" ref="dc24848e8722ceed15af8366900206fd" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classXMLElementDecl.html#1307bfa5455f69a27898614ed168f7aa">XMLElementDecl::CreateReasons</a> XMLElementDecl::getCreateReason           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the create reason for this element type. 
<p>
This method returns an enumeration which indicates why this element declaration exists. Elements can be used before they are actually declared, so they will often be faulted into the pool and marked as to why they are there.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>An enumerated value that indicates the reason why this element was added to the element decl pool. </dd></dl>

</div>
</div><p>
<a class="anchor" name="886b50fcd786d2b49ca6e56d9a0ecb78"></a><!-- doxytag: member="XMLElementDecl::getId" ref="886b50fcd786d2b49ca6e56d9a0ecb78" 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> XMLElementDecl::getId           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the element decl pool id for this element type. 
<p>
This method will return the element decl pool id of this element declaration. This uniquely identifies this element type within the parse event that it is declared within. This value is assigned by the grammar whose decl pool this object belongs to.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The element decl id of this element declaration. </dd></dl>

</div>
</div><p>
<a class="anchor" name="52c952aa2f0ddbebcbcc8a28dcbade89"></a><!-- doxytag: member="XMLElementDecl::isDeclared" ref="52c952aa2f0ddbebcbcc8a28dcbade89" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool XMLElementDecl::isDeclared           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Indicate whether this element type has been declared yet. 
<p>
This method returns a boolean that indicates whether this element has been declared yet. There are a number of reasons why an element declaration can be faulted in, but eventually it must be declared or its an error. See the CreateReasons enumeration.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>true if this element has been declared, else false. </dd></dl>

<p>References <a class="el" href="XMLElementDecl_8hpp-source.html#l00072">Declared</a>.</p>

</div>
</div><p>
<a class="anchor" name="59f01f2cfbeb9280a5ffcc9baab39177"></a><!-- doxytag: member="XMLElementDecl::isExternal" ref="59f01f2cfbeb9280a5ffcc9baab39177" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool XMLElementDecl::isExternal           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Indicate whether this element type has been declared externally. 
<p>
This method returns a boolean that indicates whether this element has been declared externally.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>true if this element has been declared externally, else false. </dd></dl>

</div>
</div><p>
<a class="anchor" name="7fcea325660b738e0407cde416e5b4f4"></a><!-- doxytag: member="XMLElementDecl::getMemoryManager" ref="7fcea325660b738e0407cde416e5b4f4" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classMemoryManager.html">MemoryManager</a> * XMLElementDecl::getMemoryManager           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the memory manager. 
<p>
This method returns the configurable memory manager used by the element declaration for dynamic allocation/deallocation.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the memory manager </dd></dl>

</div>
</div><p>
<a class="anchor" name="50602e4437a7d5806853fc18f4e37994"></a><!-- doxytag: member="XMLElementDecl::setElementName" ref="50602e4437a7d5806853fc18f4e37994" args="(const XMLCh *const prefix, const XMLCh *const localPart, const int uriId)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XMLElementDecl::setElementName           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const &nbsp;</td>
          <td class="paramname"> <em>prefix</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 &nbsp;</td>
          <td class="paramname"> <em>localPart</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&nbsp;</td>
          <td class="paramname"> <em>uriId</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the element name object for this element type. 
<p>
This method will adopt the based content spec node object. This is called by the actual validator which is parsing its DTD or Schema or whatever and store it on the element decl object via this method.<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>prefix</em>&nbsp;</td><td>Prefix of the element </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>localPart</em>&nbsp;</td><td>Base Name of the element </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>uriId</em>&nbsp;</td><td>The uriId of the element </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="84866197971f93c33ace2417997326b7"></a><!-- doxytag: member="XMLElementDecl::setElementName" ref="84866197971f93c33ace2417997326b7" args="(const XMLCh *const rawName, const int uriId)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XMLElementDecl::setElementName           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const &nbsp;</td>
          <td class="paramname"> <em>rawName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&nbsp;</td>
          <td class="paramname"> <em>uriId</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the element name object for this element type. 
<p>
This method will adopt the based content spec node object. This is called by the actual validator which is parsing its DTD or Schema or whatever and store it on the element decl object via this method.<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>rawName</em>&nbsp;</td><td>Full Name of the element </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>uriId</em>&nbsp;</td><td>The uriId of the element </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="716c41e2fccc00bd5a4b336a6089f765"></a><!-- doxytag: member="XMLElementDecl::setElementName" ref="716c41e2fccc00bd5a4b336a6089f765" args="(const QName *const elementName)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XMLElementDecl::setElementName           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classQName.html">QName</a> *const &nbsp;</td>
          <td class="paramname"> <em>elementName</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the element name object for this element type. 
<p>
This method will adopt the based content spec node object. This is called by the actual validator which is parsing its DTD or Schema or whatever and store it on the element decl object via this method.<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>elementName</em>&nbsp;</td><td><a class="el" href="classQName.html">QName</a> of the element </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="205865ce4f892e83e273d0febb46fa1c"></a><!-- doxytag: member="XMLElementDecl::setCreateReason" ref="205865ce4f892e83e273d0febb46fa1c" args="(const CreateReasons newReason)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XMLElementDecl::setCreateReason           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classXMLElementDecl.html#1307bfa5455f69a27898614ed168f7aa">CreateReasons</a>&nbsp;</td>
          <td class="paramname"> <em>newReason</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Update the create reason for this element type. 
<p>
This method will update the 'create reason' field for this element decl object. As the validator parses its DTD, Schema, etc... it will encounter various references to an element declaration, which will cause the element declaration to either be declared or to be faulted into the pool in preparation for some future declaration. As it does so,it will update this field to indicate the current status of the decl object. 
</div>
</div><p>
<a class="anchor" name="988371fcb81fb08d0ee6df81f9649f97"></a><!-- doxytag: member="XMLElementDecl::setId" ref="988371fcb81fb08d0ee6df81f9649f97" args="(const XMLSize_t newId)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XMLElementDecl::setId           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#c0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a>&nbsp;</td>
          <td class="paramname"> <em>newId</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the element decl pool id for this element type. 
<p>
This method will set the pool id of this element decl. This is called by the grammar which created this object, and will provide this decl object with a unique id within the parse event that created it. 
</div>
</div><p>
<a class="anchor" name="dd0cdf27f589ab23ea8de1a629b51dd7"></a><!-- doxytag: member="XMLElementDecl::setExternalElemDeclaration" ref="dd0cdf27f589ab23ea8de1a629b51dd7" args="(const bool aValue)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XMLElementDecl::setExternalElemDeclaration           </td>
          <td>(</td>
          <td class="paramtype">const bool&nbsp;</td>
          <td class="paramname"> <em>aValue</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the element decl to indicate external declaration. 
<p>

</div>
</div><p>
<a class="anchor" name="c073a720a71b31b939d49a3ff2b0de29"></a><!-- doxytag: member="XMLElementDecl::getObjectType" ref="c073a720a71b31b939d49a3ff2b0de29" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classXMLElementDecl.html#29b943d4557d3922d520ba034c8276de">XMLElementDecl::objectType</a> XMLElementDecl::getObjectType           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="86dec7ab6f2f2563a5531434c95a9573"></a><!-- doxytag: member="XMLElementDecl::storeElementDecl" ref="86dec7ab6f2f2563a5531434c95a9573" args="(XSerializeEngine &amp;serEng, XMLElementDecl *const element)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void XMLElementDecl::storeElementDecl           </td>
          <td>(</td>
          <td class="paramtype">XSerializeEngine &amp;&nbsp;</td>
          <td class="paramname"> <em>serEng</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classXMLElementDecl.html">XMLElementDecl</a> *const &nbsp;</td>
          <td class="paramname"> <em>element</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="529240e57fbaddca5de586b51fc4c167"></a><!-- doxytag: member="XMLElementDecl::loadElementDecl" ref="529240e57fbaddca5de586b51fc4c167" args="(XSerializeEngine &amp;serEng)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classXMLElementDecl.html">XMLElementDecl</a>* XMLElementDecl::loadElementDecl           </td>
          <td>(</td>
          <td class="paramtype">XSerializeEngine &amp;&nbsp;</td>
          <td class="paramname"> <em>serEng</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="afc21717d7759f3fe357e92707d1870d"></a><!-- doxytag: member="XMLElementDecl::fgInvalidElemId" ref="afc21717d7759f3fe357e92707d1870d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const unsigned int <a class="el" href="classXMLElementDecl.html#afc21717d7759f3fe357e92707d1870d">XMLElementDecl::fgInvalidElemId</a><code> [static]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="79dd4823913a168fb46ffb6b0bfc78ab"></a><!-- doxytag: member="XMLElementDecl::fgPCDataElemId" ref="79dd4823913a168fb46ffb6b0bfc78ab" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const unsigned int <a class="el" href="classXMLElementDecl.html#79dd4823913a168fb46ffb6b0bfc78ab">XMLElementDecl::fgPCDataElemId</a><code> [static]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="a7b8ed177aca128f956132dea880cf6b"></a><!-- doxytag: member="XMLElementDecl::fgPCDataElemName" ref="a7b8ed177aca128f956132dea880cf6b" args="[]" -->
<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> <a class="el" href="classXMLElementDecl.html#a7b8ed177aca128f956132dea880cf6b">XMLElementDecl::fgPCDataElemName</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="XMLElementDecl_8hpp-source.html">XMLElementDecl.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&nbsp;
<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>