File: pyxb.xmlschema.html

package info (click to toggle)
pyxb 1.2.6%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 42,668 kB
  • sloc: python: 239,437; sh: 905; xml: 690; makefile: 60
file content (3585 lines) | stat: -rw-r--r-- 286,541 bytes parent folder | download
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
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>pyxb.xmlschema package &#8212; PyXB 1.2.6 documentation</title>
    
    <link rel="stylesheet" href="_static/classic.css" type="text/css" />
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    './',
        VERSION:     '1.2.6',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true,
        SOURCELINK_SUFFIX: '.txt'
      };
    </script>
    <script type="text/javascript" src="_static/jquery.js"></script>
    <script type="text/javascript" src="_static/underscore.js"></script>
    <script type="text/javascript" src="_static/doctools.js"></script>
    <link rel="index" title="Index" href="genindex.html" />
    <link rel="search" title="Search" href="search.html" />
    <link rel="next" title="Maintainer Reference" href="maintref.html" />
    <link rel="prev" title="pyxb.utils package" href="pyxb.utils.html" /> 
  </head>
  <body role="document">
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="maintref.html" title="Maintainer Reference"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="pyxb.utils.html" title="pyxb.utils package"
             accesskey="P">previous</a> |</li>
        <li class="nav-item nav-item-0"><a href="index.html">PyXB 1.2.6 documentation</a> &#187;</li>
          <li class="nav-item nav-item-1"><a href="pyxb.html" accesskey="U">pyxb package</a> &#187;</li>
    <li style="margin-left: 20px">PyXB hosted on <a href="http://sourceforge.net/projects/pyxb"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=263147&amp;type=9"
    width="80" height="15" alt="Get PyXB: Python XML Schema Bindings at SourceForge.net. Fast, secure and Free Open Source software downloads"/></a></li>
     

      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body" role="main">
            
  <div class="section" id="pyxb-xmlschema-package">
<h1>pyxb.xmlschema package<a class="headerlink" href="#pyxb-xmlschema-package" title="Permalink to this headline">¶</a></h1>
<div class="section" id="submodules">
<h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this headline">¶</a></h2>
</div>
<div class="section" id="module-pyxb.xmlschema.structures">
<span id="pyxb-xmlschema-structures-module"></span><h2>pyxb.xmlschema.structures module<a class="headerlink" href="#module-pyxb.xmlschema.structures" title="Permalink to this headline">¶</a></h2>
<p>Classes corresponding to W3C XML Schema components.</p>
<p>Class names and behavior should conform to the schema components described in
XML Schema Part 1: Structures&lt;<a class="reference external" href="http://www.w3.org/TR/xmlschema-1/">http://www.w3.org/TR/xmlschema-1/</a>&gt;.
References to sections in the documentation of this module generally refers to
that document.</p>
<p>Each class has a <code class="xref py py-obj docutils literal"><span class="pre">CreateFromDOM</span></code> class method that creates an instance and
initializes it from a DOM node.  Only the <a class="reference internal" href="#pyxb.xmlschema.structures.Wildcard" title="pyxb.xmlschema.structures.Wildcard"><code class="xref py py-obj docutils literal"><span class="pre">Wildcard</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures.Particle" title="pyxb.xmlschema.structures.Particle"><code class="xref py py-obj docutils literal"><span class="pre">Particle</span></code></a>, and
<a class="reference internal" href="#pyxb.xmlschema.structures.ModelGroup" title="pyxb.xmlschema.structures.ModelGroup"><code class="xref py py-obj docutils literal"><span class="pre">ModelGroup</span></code></a> components are created from non-DOM sources.  However, the
requirements on DOM interface are restricted to attributes, child nodes, and
basic fields, though all these must support namespaces.</p>
<p>&#64;group Mixins: <em>_mixin
&#64;group Ur Type Specializations: *UrType</em>
&#64;group Utilities: _ImportElementInformationItem</p>
<dl class="class">
<dt id="pyxb.xmlschema.structures.Annotation">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">Annotation</code><span class="sig-paren">(</span><em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Annotation" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyxb.xmlschema.structures._SchemaComponent_mixin" title="pyxb.xmlschema.structures._SchemaComponent_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._SchemaComponent_mixin</span></code></a></p>
<p>An XMLSchema Annotation&lt;<a class="reference external" href="http://www.w3.org/TR/xmlschema-1/#cAnnotation">http://www.w3.org/TR/xmlschema-1/#cAnnotation</a>&gt; component.</p>
<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.Annotation.CreateFromDOM">
<em class="property">classmethod </em><code class="descname">CreateFromDOM</code><span class="sig-paren">(</span><em>node</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Annotation.CreateFromDOM" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Annotation._Annotation__RemoveMultiQuote_re">
<code class="descname">_Annotation__RemoveMultiQuote_re</code><em class="property"> = &lt;_sre.SRE_Pattern object&gt;</em><a class="headerlink" href="#pyxb.xmlschema.structures.Annotation._Annotation__RemoveMultiQuote_re" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Annotation._Annotation__applicationInformation">
<code class="descname">_Annotation__applicationInformation</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Annotation._Annotation__applicationInformation" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Annotation._Annotation__attributes">
<code class="descname">_Annotation__attributes</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Annotation._Annotation__attributes" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Annotation._Annotation__userInformation">
<code class="descname">_Annotation__userInformation</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Annotation._Annotation__userInformation" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Annotation.applicationInformation">
<code class="descname">applicationInformation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Annotation.applicationInformation" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Annotation.asDocString">
<code class="descname">asDocString</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Annotation.asDocString" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the text in a form suitable for embedding in a
triple-double-quoted docstring.</p>
<p>Any sequence of two or more double quotes is replaced by a sequence of
single quotes that is the same length.  Following this, spaces are
added at the start and the end as necessary to ensure a double quote
does not appear in those positions.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Annotation.text">
<code class="descname">text</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Annotation.text" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Annotation.userInformation">
<code class="descname">userInformation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Annotation.userInformation" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures.AttributeDeclaration">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">AttributeDeclaration</code><span class="sig-paren">(</span><em>*args</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeDeclaration" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyxb.xmlschema.structures._SchemaComponent_mixin" title="pyxb.xmlschema.structures._SchemaComponent_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._SchemaComponent_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._NamedComponent_mixin" title="pyxb.xmlschema.structures._NamedComponent_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._NamedComponent_mixin</span></code></a>, <a class="reference internal" href="pyxb.namespace.html#pyxb.namespace.resolution._Resolvable_mixin" title="pyxb.namespace.resolution._Resolvable_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.namespace.resolution._Resolvable_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._Annotated_mixin" title="pyxb.xmlschema.structures._Annotated_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._Annotated_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._ValueConstraint_mixin" title="pyxb.xmlschema.structures._ValueConstraint_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._ValueConstraint_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._ScopedDeclaration_mixin" title="pyxb.xmlschema.structures._ScopedDeclaration_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._ScopedDeclaration_mixin</span></code></a></p>
<p>An XMLSchema Attribute Declaration&lt;<a class="reference external" href="http://www.w3.org/TR/xmlschema-1/#cAttribute_Declarations">http://www.w3.org/TR/xmlschema-1/#cAttribute_Declarations</a>&gt; component.</p>
<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.AttributeDeclaration.CreateBaseInstance">
<em class="property">classmethod </em><code class="descname">CreateBaseInstance</code><span class="sig-paren">(</span><em>name</em>, <em>schema</em>, <em>std=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeDeclaration.CreateBaseInstance" title="Permalink to this definition">¶</a></dt>
<dd><p>Create an attribute declaration component for a specified namespace.</p>
</dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.AttributeDeclaration.CreateFromDOM">
<em class="property">classmethod </em><code class="descname">CreateFromDOM</code><span class="sig-paren">(</span><em>node</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeDeclaration.CreateFromDOM" title="Permalink to this definition">¶</a></dt>
<dd><p>Create an attribute declaration from the given DOM node.</p>
<p>wxs is a Schema instance within which the attribute is being
declared.</p>
<p>node is a DOM element.  The name must be one of ( &#8216;all&#8217;,
&#8216;choice&#8217;, &#8216;sequence&#8217; ), and the node must be in the XMLSchema
namespace.</p>
<p>scope is the _ScopeDeclaration_mxin context into which the
attribute declaration is placed.  It can be SCOPE_global, a
complex type definition, or XSCOPE_indeterminate if this is an
anonymous declaration within an attribute group.  It is a
required parameter for this function.</p>
</dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.AttributeDeclaration._AttributeDeclaration__typeDefinition">
<code class="descname">_AttributeDeclaration__typeDefinition</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeDeclaration._AttributeDeclaration__typeDefinition" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.AttributeDeclaration._AttributeDeclaration__typeExpandedName">
<code class="descname">_AttributeDeclaration__typeExpandedName</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeDeclaration._AttributeDeclaration__typeExpandedName" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.AttributeDeclaration._bindingRequires_vx">
<code class="descname">_bindingRequires_vx</code><span class="sig-paren">(</span><em>include_lax</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeDeclaration._bindingRequires_vx" title="Permalink to this definition">¶</a></dt>
<dd><p>Attribute declarations require their type.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.AttributeDeclaration._resolve">
<code class="descname">_resolve</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeDeclaration._resolve" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.AttributeDeclaration._updateFromOther_csc">
<code class="descname">_updateFromOther_csc</code><span class="sig-paren">(</span><em>other</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeDeclaration._updateFromOther_csc" title="Permalink to this definition">¶</a></dt>
<dd><p>Override fields in this instance with those from the other.</p>
<p>This method is invoked only by Schema._addNamedComponent, and
then only when a built-in type collides with a schema-defined
type.  Material like facets is not (currently) held in the
built-in copy, so the DOM information is copied over to the
built-in STD, which is subsequently re-resolved.</p>
<p>Returns self.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.AttributeDeclaration.isResolved">
<code class="descname">isResolved</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeDeclaration.isResolved" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.AttributeDeclaration.typeDefinition">
<code class="descname">typeDefinition</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeDeclaration.typeDefinition" title="Permalink to this definition">¶</a></dt>
<dd><p>The simple type definition to which an attribute value must
conform.</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures.AttributeGroupDefinition">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">AttributeGroupDefinition</code><span class="sig-paren">(</span><em>*args</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeGroupDefinition" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyxb.xmlschema.structures._SchemaComponent_mixin" title="pyxb.xmlschema.structures._SchemaComponent_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._SchemaComponent_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._NamedComponent_mixin" title="pyxb.xmlschema.structures._NamedComponent_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._NamedComponent_mixin</span></code></a>, <a class="reference internal" href="pyxb.namespace.html#pyxb.namespace.resolution._Resolvable_mixin" title="pyxb.namespace.resolution._Resolvable_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.namespace.resolution._Resolvable_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._Annotated_mixin" title="pyxb.xmlschema.structures._Annotated_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._Annotated_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._AttributeWildcard_mixin" title="pyxb.xmlschema.structures._AttributeWildcard_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._AttributeWildcard_mixin</span></code></a></p>
<p>An XMLSchema Attribute Group Definition&lt;<a class="reference external" href="http://www.w3.org/TR/xmlschema-1/#cAttribute_Group_Definitions">http://www.w3.org/TR/xmlschema-1/#cAttribute_Group_Definitions</a>&gt; component.</p>
<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.AttributeGroupDefinition.CreateBaseInstance">
<em class="property">classmethod </em><code class="descname">CreateBaseInstance</code><span class="sig-paren">(</span><em>name</em>, <em>schema</em>, <em>attribute_uses</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeGroupDefinition.CreateBaseInstance" title="Permalink to this definition">¶</a></dt>
<dd><p>Create an attribute declaration component for a specified namespace.</p>
</dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.AttributeGroupDefinition.CreateFromDOM">
<em class="property">classmethod </em><code class="descname">CreateFromDOM</code><span class="sig-paren">(</span><em>node</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeGroupDefinition.CreateFromDOM" title="Permalink to this definition">¶</a></dt>
<dd><p>Create an attribute group definition from the given DOM node.</p>
</dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.AttributeGroupDefinition._AttributeGroupDefinition__PrivateTransient">
<code class="descname">_AttributeGroupDefinition__PrivateTransient</code><em class="property"> = set(['attributeGroupNames', 'anyAttribute'])</em><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeGroupDefinition._AttributeGroupDefinition__PrivateTransient" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.AttributeGroupDefinition._AttributeGroupDefinition__anyAttribute">
<code class="descname">_AttributeGroupDefinition__anyAttribute</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeGroupDefinition._AttributeGroupDefinition__anyAttribute" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.AttributeGroupDefinition._AttributeGroupDefinition__attributeGroupNames">
<code class="descname">_AttributeGroupDefinition__attributeGroupNames</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeGroupDefinition._AttributeGroupDefinition__attributeGroupNames" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.AttributeGroupDefinition._AttributeGroupDefinition__attributeUses">
<code class="descname">_AttributeGroupDefinition__attributeUses</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeGroupDefinition._AttributeGroupDefinition__attributeUses" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.AttributeGroupDefinition._AttributeGroupDefinition__isResolved">
<code class="descname">_AttributeGroupDefinition__isResolved</code><em class="property"> = False</em><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeGroupDefinition._AttributeGroupDefinition__isResolved" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.AttributeGroupDefinition._bindingRequires_vx">
<code class="descname">_bindingRequires_vx</code><span class="sig-paren">(</span><em>include_lax</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeGroupDefinition._bindingRequires_vx" title="Permalink to this definition">¶</a></dt>
<dd><p>Attribute group declarations require their uses, but only if lax.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.AttributeGroupDefinition._resolve">
<code class="descname">_resolve</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeGroupDefinition._resolve" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.AttributeGroupDefinition.attributeUses">
<code class="descname">attributeUses</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeGroupDefinition.attributeUses" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.AttributeGroupDefinition.isResolved">
<code class="descname">isResolved</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeGroupDefinition.isResolved" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures.AttributeUse">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">AttributeUse</code><span class="sig-paren">(</span><em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeUse" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyxb.xmlschema.structures._SchemaComponent_mixin" title="pyxb.xmlschema.structures._SchemaComponent_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._SchemaComponent_mixin</span></code></a>, <a class="reference internal" href="pyxb.namespace.html#pyxb.namespace.resolution._Resolvable_mixin" title="pyxb.namespace.resolution._Resolvable_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.namespace.resolution._Resolvable_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._ValueConstraint_mixin" title="pyxb.xmlschema.structures._ValueConstraint_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._ValueConstraint_mixin</span></code></a></p>
<p>An XMLSchema Attribute Use&lt;<a class="reference external" href="http://www.w3.org/TR/xmlschema-1/#cAttribute_Use">http://www.w3.org/TR/xmlschema-1/#cAttribute_Use</a>&gt; component.</p>
<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.AttributeUse.CreateBaseInstance">
<em class="property">classmethod </em><code class="descname">CreateBaseInstance</code><span class="sig-paren">(</span><em>schema</em>, <em>attribute_declaration</em>, <em>use=2</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeUse.CreateBaseInstance" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.AttributeUse.CreateFromDOM">
<em class="property">classmethod </em><code class="descname">CreateFromDOM</code><span class="sig-paren">(</span><em>node</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeUse.CreateFromDOM" title="Permalink to this definition">¶</a></dt>
<dd><p>Create an Attribute Use from the given DOM node.</p>
<p>wxs is a Schema instance within which the attribute use is
being defined.</p>
<p>node is a DOM element.  The name must be &#8216;attribute&#8217;, and the
node must be in the XMLSchema namespace.</p>
<p>scope is the _ScopeDeclaration_mixin context into which any
required anonymous attribute declaration is put.  This must be
a complex type definition, or None if this use is in an
attribute group.</p>
</dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.AttributeUse.USE_optional">
<code class="descname">USE_optional</code><em class="property"> = 2</em><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeUse.USE_optional" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.AttributeUse.USE_prohibited">
<code class="descname">USE_prohibited</code><em class="property"> = 4</em><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeUse.USE_prohibited" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.AttributeUse.USE_required">
<code class="descname">USE_required</code><em class="property"> = 1</em><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeUse.USE_required" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.AttributeUse._AttributeUse__attributeDeclaration">
<code class="descname">_AttributeUse__attributeDeclaration</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeUse._AttributeUse__attributeDeclaration" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.AttributeUse._AttributeUse__refExpandedName">
<code class="descname">_AttributeUse__refExpandedName</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeUse._AttributeUse__refExpandedName" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.AttributeUse._AttributeUse__restrictionOf">
<code class="descname">_AttributeUse__restrictionOf</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeUse._AttributeUse__restrictionOf" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.AttributeUse._AttributeUse__use">
<code class="descname">_AttributeUse__use</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeUse._AttributeUse__use" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.AttributeUse._adaptForScope">
<code class="descname">_adaptForScope</code><span class="sig-paren">(</span><em>ctd</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeUse._adaptForScope" title="Permalink to this definition">¶</a></dt>
<dd><p>Adapt this instance for the given complex type.</p>
<p>If the attribute declaration for this use is not associated with a
complex type definition, then associate a clone of it with this CTD,
and clone a new attribute use that uses the associated declaration.
This attribute use is then inherited by extensions and restrictions,
while retaining its original scope.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.AttributeUse._bindingRequires_vx">
<code class="descname">_bindingRequires_vx</code><span class="sig-paren">(</span><em>include_lax</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeUse._bindingRequires_vx" title="Permalink to this definition">¶</a></dt>
<dd><p>Attribute uses require their declarations, but only if lax.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.AttributeUse._resolve">
<code class="descname">_resolve</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeUse._resolve" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.AttributeUse._setRestrictionOf">
<code class="descname">_setRestrictionOf</code><span class="sig-paren">(</span><em>au</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeUse._setRestrictionOf" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.AttributeUse.attributeDeclaration">
<code class="descname">attributeDeclaration</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeUse.attributeDeclaration" title="Permalink to this definition">¶</a></dt>
<dd><p>The attribute declaration for this use.</p>
<p>When the use scope is assigned, the declaration is cloned (if
necessary) so that each declaration corresponds to only one use.  We
rely on this in code generation, because the template map for the use
is stored in its declaration.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.AttributeUse.isResolved">
<code class="descname">isResolved</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeUse.isResolved" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.AttributeUse.matchingQNameMembers">
<code class="descname">matchingQNameMembers</code><span class="sig-paren">(</span><em>au_set</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeUse.matchingQNameMembers" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the subset of au_set for which the use names match this use.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.AttributeUse.prohibited">
<code class="descname">prohibited</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeUse.prohibited" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.AttributeUse.required">
<code class="descname">required</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeUse.required" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.AttributeUse.restrictionOf">
<code class="descname">restrictionOf</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeUse.restrictionOf" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">ComplexTypeDefinition</code><span class="sig-paren">(</span><em>*args</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyxb.xmlschema.structures._SchemaComponent_mixin" title="pyxb.xmlschema.structures._SchemaComponent_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._SchemaComponent_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._NamedComponent_mixin" title="pyxb.xmlschema.structures._NamedComponent_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._NamedComponent_mixin</span></code></a>, <a class="reference internal" href="pyxb.namespace.html#pyxb.namespace.resolution._Resolvable_mixin" title="pyxb.namespace.resolution._Resolvable_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.namespace.resolution._Resolvable_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._Annotated_mixin" title="pyxb.xmlschema.structures._Annotated_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._Annotated_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._AttributeWildcard_mixin" title="pyxb.xmlschema.structures._AttributeWildcard_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._AttributeWildcard_mixin</span></code></a></p>
<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition.CT_ELEMENT_ONLY">
<code class="descname">CT_ELEMENT_ONLY</code><em class="property"> = 'ELEMENT_ONLY'</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.CT_ELEMENT_ONLY" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition.CT_EMPTY">
<code class="descname">CT_EMPTY</code><em class="property"> = 'EMPTY'</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.CT_EMPTY" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition.CT_MIXED">
<code class="descname">CT_MIXED</code><em class="property"> = 'MIXED'</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.CT_MIXED" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition.CT_SIMPLE">
<code class="descname">CT_SIMPLE</code><em class="property"> = 'SIMPLE'</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.CT_SIMPLE" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition.CreateFromDOM">
<em class="property">classmethod </em><code class="descname">CreateFromDOM</code><span class="sig-paren">(</span><em>node</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.CreateFromDOM" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition.DM_empty">
<code class="descname">DM_empty</code><em class="property"> = 0</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.DM_empty" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition.DM_extension">
<code class="descname">DM_extension</code><em class="property"> = 1</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.DM_extension" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition.DM_restriction">
<code class="descname">DM_restriction</code><em class="property"> = 2</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.DM_restriction" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition.UrTypeDefinition">
<em class="property">classmethod </em><code class="descname">UrTypeDefinition</code><span class="sig-paren">(</span><em>schema=None</em>, <em>in_builtin_definition=False</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.UrTypeDefinition" title="Permalink to this definition">¶</a></dt>
<dd><p>Create the ComplexTypeDefinition instance that approximates
the ur-type.</p>
<p>See section 3.4.7.</p>
</dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__PrivateTransient">
<code class="descname">_ComplexTypeDefinition__PrivateTransient</code><em class="property"> = set(['attributeGroupNames', 'usesC1C2', 'usesC1', 'ckw', 'anyAttribute', 'ctscRestrictionNode', 'attributeGroups'])</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__PrivateTransient" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__UrTypeDefinition">
<code class="descname">_ComplexTypeDefinition__UrTypeDefinition</code><em class="property"> = &lt;pyxb.xmlschema.structures._UrTypeDefinition object&gt;</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__UrTypeDefinition" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__abstract">
<code class="descname">_ComplexTypeDefinition__abstract</code><em class="property"> = False</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__abstract" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__annotations">
<code class="descname">_ComplexTypeDefinition__annotations</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__annotations" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__anyAttribute">
<code class="descname">_ComplexTypeDefinition__anyAttribute</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__anyAttribute" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__attributeGroupNames">
<code class="descname">_ComplexTypeDefinition__attributeGroupNames</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__attributeGroupNames" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__attributeGroups">
<code class="descname">_ComplexTypeDefinition__attributeGroups</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__attributeGroups" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__attributeUses">
<code class="descname">_ComplexTypeDefinition__attributeUses</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__attributeUses" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__baseExpandedName">
<code class="descname">_ComplexTypeDefinition__baseExpandedName</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__baseExpandedName" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__baseTypeDefinition">
<code class="descname">_ComplexTypeDefinition__baseTypeDefinition</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__baseTypeDefinition" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__ckw">
<code class="descname">_ComplexTypeDefinition__ckw</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__ckw" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__completeProcessing">
<code class="descname">_ComplexTypeDefinition__completeProcessing</code><span class="sig-paren">(</span><em>method</em>, <em>content_style</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__completeProcessing" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__complexContent">
<code class="descname">_ComplexTypeDefinition__complexContent</code><span class="sig-paren">(</span><em>method</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__complexContent" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__contentStyle">
<code class="descname">_ComplexTypeDefinition__contentStyle</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__contentStyle" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__contentType">
<code class="descname">_ComplexTypeDefinition__contentType</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__contentType" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__ctscClause2STD">
<code class="descname">_ComplexTypeDefinition__ctscClause2STD</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__ctscClause2STD" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__ctscRestrictionMode">
<code class="descname">_ComplexTypeDefinition__ctscRestrictionMode</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__ctscRestrictionMode" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__ctscRestrictionNode">
<code class="descname">_ComplexTypeDefinition__ctscRestrictionNode</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__ctscRestrictionNode" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__derivationMethod">
<code class="descname">_ComplexTypeDefinition__derivationMethod</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__derivationMethod" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__effectiveContent">
<code class="descname">_ComplexTypeDefinition__effectiveContent</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__effectiveContent" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__effectiveMixed">
<code class="descname">_ComplexTypeDefinition__effectiveMixed</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__effectiveMixed" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__final">
<code class="descname">_ComplexTypeDefinition__final</code><em class="property"> = 0</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__final" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__isComplexContent">
<code class="descname">_ComplexTypeDefinition__isComplexContent</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__isComplexContent" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__isResolved">
<code class="descname">_ComplexTypeDefinition__isResolved</code><em class="property"> = False</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__isResolved" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__localScopedDeclarations">
<code class="descname">_ComplexTypeDefinition__localScopedDeclarations</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__localScopedDeclarations" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__prohibitedSubstitutions">
<code class="descname">_ComplexTypeDefinition__prohibitedSubstitutions</code><em class="property"> = 0</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__prohibitedSubstitutions" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__scopedAttributeDeclarations">
<code class="descname">_ComplexTypeDefinition__scopedAttributeDeclarations</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__scopedAttributeDeclarations" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__scopedElementDeclarations">
<code class="descname">_ComplexTypeDefinition__scopedElementDeclarations</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__scopedElementDeclarations" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__setComplexContentFromDOM">
<code class="descname">_ComplexTypeDefinition__setComplexContentFromDOM</code><span class="sig-paren">(</span><em>type_node</em>, <em>content_node</em>, <em>definition_node_list</em>, <em>method</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__setComplexContentFromDOM" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__setContentFromDOM">
<code class="descname">_ComplexTypeDefinition__setContentFromDOM</code><span class="sig-paren">(</span><em>node</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__setContentFromDOM" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__simpleContent">
<code class="descname">_ComplexTypeDefinition__simpleContent</code><span class="sig-paren">(</span><em>method</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__simpleContent" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__usesC1">
<code class="descname">_ComplexTypeDefinition__usesC1</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__usesC1" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__usesC1C2">
<code class="descname">_ComplexTypeDefinition__usesC1C2</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__usesC1C2" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._DM_Map">
<code class="descname">_DM_Map</code><em class="property"> = {'restriction': 2, 'extension': 1}</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._DM_Map" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._bindingRequires_vx">
<code class="descname">_bindingRequires_vx</code><span class="sig-paren">(</span><em>include_lax</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._bindingRequires_vx" title="Permalink to this definition">¶</a></dt>
<dd><p>Complex type definitions depend on their base type definition, the
type definitions of any local attribute declarations, and if strict
the type definitions of any local element declarations.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._contentTypeComponent">
<code class="descname">_contentTypeComponent</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._contentTypeComponent" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._contentTypeTag">
<code class="descname">_contentTypeTag</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._contentTypeTag" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the value of the content type identifier, i.e. one of the
<a href="#id1"><span class="problematic" id="id2">CT_</span></a> constants.  Return value is None if no content type has been
defined.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._isComplexContent">
<code class="descname">_isComplexContent</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._isComplexContent" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._isHierarchyRoot">
<code class="descname">_isHierarchyRoot</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._isHierarchyRoot" title="Permalink to this definition">¶</a></dt>
<dd><p>Return <code class="xref py py-obj docutils literal"><span class="pre">True</span></code> iff this is the root of a complex type definition hierarchy.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._recordLocalDeclaration">
<code class="descname">_recordLocalDeclaration</code><span class="sig-paren">(</span><em>decl</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._recordLocalDeclaration" title="Permalink to this definition">¶</a></dt>
<dd><p>Record the given declaration as being locally scoped in
this type.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._resolve">
<code class="descname">_resolve</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._resolve" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._setDerivationMethod">
<code class="descname">_setDerivationMethod</code><span class="sig-paren">(</span><em>derivation_method</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._setDerivationMethod" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._updateFromOther_csc">
<code class="descname">_updateFromOther_csc</code><span class="sig-paren">(</span><em>other</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._updateFromOther_csc" title="Permalink to this definition">¶</a></dt>
<dd><p>Override fields in this instance with those from the other.</p>
<p>This method is invoked only by Schema._addNamedComponent, and
then only when a built-in type collides with a schema-defined
type.  Material like facets is not (currently) held in the
built-in copy, so the DOM information is copied over to the
built-in STD, which is subsequently re-resolved.</p>
<p>Returns self.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition.abstract">
<code class="descname">abstract</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.abstract" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition.attributeUses">
<code class="descname">attributeUses</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.attributeUses" title="Permalink to this definition">¶</a></dt>
<dd><p>A frozenset() of AttributeUse instances.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition.baseTypeDefinition">
<code class="descname">baseTypeDefinition</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.baseTypeDefinition" title="Permalink to this definition">¶</a></dt>
<dd><p>The type resolved from the base attribute.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition.contentType">
<code class="descname">contentType</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.contentType" title="Permalink to this definition">¶</a></dt>
<dd><p>Identify the sort of content in this type.</p>
<dl class="docutils">
<dt>Valid values are:</dt>
<dd><ul class="first last simple">
<li><a class="reference internal" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.CT_EMPTY" title="pyxb.xmlschema.structures.ComplexTypeDefinition.CT_EMPTY"><code class="xref py py-obj docutils literal"><span class="pre">CT_EMPTY</span></code></a></li>
<li>( <a class="reference internal" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.CT_SIMPLE" title="pyxb.xmlschema.structures.ComplexTypeDefinition.CT_SIMPLE"><code class="xref py py-obj docutils literal"><span class="pre">CT_SIMPLE</span></code></a>, a <a class="reference internal" href="#pyxb.xmlschema.structures.SimpleTypeDefinition" title="pyxb.xmlschema.structures.SimpleTypeDefinition"><code class="xref py py-obj docutils literal"><span class="pre">SimpleTypeDefinition</span></code></a> instance )</li>
<li>( <a class="reference internal" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.CT_MIXED" title="pyxb.xmlschema.structures.ComplexTypeDefinition.CT_MIXED"><code class="xref py py-obj docutils literal"><span class="pre">CT_MIXED</span></code></a>, a <a class="reference internal" href="#pyxb.xmlschema.structures.Particle" title="pyxb.xmlschema.structures.Particle"><code class="xref py py-obj docutils literal"><span class="pre">Particle</span></code></a> instance )</li>
<li>( <a class="reference internal" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.CT_ELEMENT_ONLY" title="pyxb.xmlschema.structures.ComplexTypeDefinition.CT_ELEMENT_ONLY"><code class="xref py py-obj docutils literal"><span class="pre">CT_ELEMENT_ONLY</span></code></a>, a <a class="reference internal" href="#pyxb.xmlschema.structures.Particle" title="pyxb.xmlschema.structures.Particle"><code class="xref py py-obj docutils literal"><span class="pre">Particle</span></code></a> instance )</li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition.contentTypeAsString">
<code class="descname">contentTypeAsString</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.contentTypeAsString" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition.derivationMethod">
<code class="descname">derivationMethod</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.derivationMethod" title="Permalink to this definition">¶</a></dt>
<dd><p>How the type was derived.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition.hasWildcardElement">
<code class="descname">hasWildcardElement</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.hasWildcardElement" title="Permalink to this definition">¶</a></dt>
<dd><p>Return True iff this type includes a wildcard element in
its content model.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition.isBuiltin">
<code class="descname">isBuiltin</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.isBuiltin" title="Permalink to this definition">¶</a></dt>
<dd><p>Indicate whether this simple type is a built-in type.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition.isResolved">
<code class="descname">isResolved</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.isResolved" title="Permalink to this definition">¶</a></dt>
<dd><p>Indicate whether this complex type is fully defined.</p>
<p>All built-in type definitions are resolved upon creation.
Schema-defined type definitionss are held unresolved until the
schema has been completely read, so that references to later
schema-defined types can be resolved.  Resolution is performed
after the entire schema has been scanned and type-definition
instances created for all topLevel{Simple,Complex}Types.</p>
<p>If a built-in type definition is also defined in a schema
(which it should be), the built-in definition is kept, with
the schema-related information copied over from the matching
schema-defined type definition.  The former then replaces the
latter in the list of type definitions to be resolved.  See
Schema._addNamedComponent.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition.localScopedDeclarations">
<code class="descname">localScopedDeclarations</code><span class="sig-paren">(</span><em>reset=False</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.localScopedDeclarations" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a list of element and attribute declarations that were
introduced in this definition (i.e., their scope is this CTD).</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Note:</th><td class="field-body">This specifically returns a list, with element declarations</td>
</tr>
</tbody>
</table>
<p>first, because name binding should privilege the elements over the
attributes.  Within elements and attributes, the components are sorted
by expanded name, to ensure consistency across a series of binding
generations.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>reset</strong> &#8211; If <code class="xref py py-obj docutils literal"><span class="pre">False</span></code> (default), a cached previous value (if it</td>
</tr>
</tbody>
</table>
<p>exists) will be returned.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition.lookupScopedAttributeDeclaration">
<code class="descname">lookupScopedAttributeDeclaration</code><span class="sig-paren">(</span><em>expanded_name</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.lookupScopedAttributeDeclaration" title="Permalink to this definition">¶</a></dt>
<dd><p>Find an attribute declaration with the given name that is local to this type.</p>
<p>Returns None if there is no such local attribute declaration.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition.lookupScopedElementDeclaration">
<code class="descname">lookupScopedElementDeclaration</code><span class="sig-paren">(</span><em>expanded_name</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.lookupScopedElementDeclaration" title="Permalink to this definition">¶</a></dt>
<dd><p>Find an element declaration with the given name that is local to this type.</p>
<p>Returns None if there is no such local element declaration.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition.pythonSupport">
<code class="descname">pythonSupport</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.pythonSupport" title="Permalink to this definition">¶</a></dt>
<dd><p>Complex type definitions have no built-in type support.</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures.ElementDeclaration">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">ElementDeclaration</code><span class="sig-paren">(</span><em>*args</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyxb.xmlschema.structures._ParticleTree_mixin" title="pyxb.xmlschema.structures._ParticleTree_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._ParticleTree_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._SchemaComponent_mixin" title="pyxb.xmlschema.structures._SchemaComponent_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._SchemaComponent_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._NamedComponent_mixin" title="pyxb.xmlschema.structures._NamedComponent_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._NamedComponent_mixin</span></code></a>, <a class="reference internal" href="pyxb.namespace.html#pyxb.namespace.resolution._Resolvable_mixin" title="pyxb.namespace.resolution._Resolvable_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.namespace.resolution._Resolvable_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._Annotated_mixin" title="pyxb.xmlschema.structures._Annotated_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._Annotated_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._ValueConstraint_mixin" title="pyxb.xmlschema.structures._ValueConstraint_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._ValueConstraint_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._ScopedDeclaration_mixin" title="pyxb.xmlschema.structures._ScopedDeclaration_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._ScopedDeclaration_mixin</span></code></a></p>
<p>An XMLSchema Element Declaration&lt;<a class="reference external" href="http://www.w3.org/TR/xmlschema-1/#cElement_Declarations">http://www.w3.org/TR/xmlschema-1/#cElement_Declarations</a>&gt; component.</p>
<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.ElementDeclaration.CreateFromDOM">
<em class="property">classmethod </em><code class="descname">CreateFromDOM</code><span class="sig-paren">(</span><em>node</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration.CreateFromDOM" title="Permalink to this definition">¶</a></dt>
<dd><p>Create an element declaration from the given DOM node.</p>
<p>wxs is a Schema instance within which the element is being
declared.</p>
<p>scope is the _ScopeDeclaration_mixin context into which the
element declaration is recorded.  It can be SCOPE_global, a
complex type definition, or None in the case of elements
declared in a named model group.</p>
<p>node is a DOM element.  The name must be &#8216;element&#8217;, and the
node must be in the XMLSchema namespace.</p>
</dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ElementDeclaration.SGE_extension">
<code class="descname">SGE_extension</code><em class="property"> = 1</em><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration.SGE_extension" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ElementDeclaration.SGE_none">
<code class="descname">SGE_none</code><em class="property"> = 0</em><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration.SGE_none" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ElementDeclaration.SGE_restriction">
<code class="descname">SGE_restriction</code><em class="property"> = 2</em><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration.SGE_restriction" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ElementDeclaration.SGE_substitution">
<code class="descname">SGE_substitution</code><em class="property"> = 4</em><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration.SGE_substitution" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ElementDeclaration._DS_Map">
<code class="descname">_DS_Map</code><em class="property"> = {'restriction': 2, 'extension': 1, 'substitution': 4}</em><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration._DS_Map" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ElementDeclaration._ElementDeclaration__abstract">
<code class="descname">_ElementDeclaration__abstract</code><em class="property"> = False</em><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration._ElementDeclaration__abstract" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ElementDeclaration._ElementDeclaration__disallowedSubstitutions">
<code class="descname">_ElementDeclaration__disallowedSubstitutions</code><em class="property"> = 0</em><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration._ElementDeclaration__disallowedSubstitutions" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ElementDeclaration._ElementDeclaration__identityConstraintDefinitions">
<code class="descname">_ElementDeclaration__identityConstraintDefinitions</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration._ElementDeclaration__identityConstraintDefinitions" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ElementDeclaration._ElementDeclaration__isResolved">
<code class="descname">_ElementDeclaration__isResolved</code><em class="property"> = False</em><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration._ElementDeclaration__isResolved" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ElementDeclaration._ElementDeclaration__nillable">
<code class="descname">_ElementDeclaration__nillable</code><em class="property"> = False</em><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration._ElementDeclaration__nillable" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ElementDeclaration._ElementDeclaration__substitutionGroupAffiliation">
<code class="descname">_ElementDeclaration__substitutionGroupAffiliation</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration._ElementDeclaration__substitutionGroupAffiliation" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ElementDeclaration._ElementDeclaration__substitutionGroupExclusions">
<code class="descname">_ElementDeclaration__substitutionGroupExclusions</code><em class="property"> = 0</em><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration._ElementDeclaration__substitutionGroupExclusions" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ElementDeclaration._ElementDeclaration__substitutionGroupExpandedName">
<code class="descname">_ElementDeclaration__substitutionGroupExpandedName</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration._ElementDeclaration__substitutionGroupExpandedName" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ElementDeclaration._ElementDeclaration__typeDefinition">
<code class="descname">_ElementDeclaration__typeDefinition</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration._ElementDeclaration__typeDefinition" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ElementDeclaration._ElementDeclaration__typeExpandedName">
<code class="descname">_ElementDeclaration__typeExpandedName</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration._ElementDeclaration__typeExpandedName" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ElementDeclaration._SGE_Map">
<code class="descname">_SGE_Map</code><em class="property"> = {'restriction': 2, 'extension': 1}</em><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration._SGE_Map" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ElementDeclaration._adaptForScope">
<code class="descname">_adaptForScope</code><span class="sig-paren">(</span><em>owner</em>, <em>ctd</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration._adaptForScope" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ElementDeclaration._bindingRequires_vx">
<code class="descname">_bindingRequires_vx</code><span class="sig-paren">(</span><em>include_lax</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration._bindingRequires_vx" title="Permalink to this definition">¶</a></dt>
<dd><p>Element declarations depend on the type definition of their
content.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ElementDeclaration._resolve">
<code class="descname">_resolve</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration._resolve" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ElementDeclaration._typeDefinition">
<code class="descname">_typeDefinition</code><span class="sig-paren">(</span><em>type_definition</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration._typeDefinition" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ElementDeclaration._walkParticleTree">
<code class="descname">_walkParticleTree</code><span class="sig-paren">(</span><em>visit</em>, <em>arg</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration._walkParticleTree" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ElementDeclaration.abstract">
<code class="descname">abstract</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration.abstract" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ElementDeclaration.hasWildcardElement">
<code class="descname">hasWildcardElement</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration.hasWildcardElement" title="Permalink to this definition">¶</a></dt>
<dd><p>Return False, since element declarations are not wildcards.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ElementDeclaration.identityConstraintDefinitions">
<code class="descname">identityConstraintDefinitions</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration.identityConstraintDefinitions" title="Permalink to this definition">¶</a></dt>
<dd><p>A list of IdentityConstraintDefinition instances.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ElementDeclaration.isAdaptable">
<code class="descname">isAdaptable</code><span class="sig-paren">(</span><em>ctd</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration.isAdaptable" title="Permalink to this definition">¶</a></dt>
<dd><p>Determine whether this element declaration is adaptable.</p>
<p>OK, this gets ugly.  First, if this declaration isn&#8217;t resolved, it&#8217;s
clearly not adaptable.</p>
<p>Now: For it to be adaptable, we must know enough about its type to
verify that it is derivation-consistent with any other uses of the
same name in the same complex type.  If the element&#8217;s type is
resolved, that&#8217;s good enough.</p>
<p>If the element&#8217;s type isn&#8217;t resolved, we&#8217;re golden as long as
type-equivalent types were used.  But it&#8217;s also allowed for the
derived ctd to use the element name constraining it to a derivation of
the element base type.  (Go see namespace
<a class="reference external" href="http://www.opengis.net/ows/1.1">http://www.opengis.net/ows/1.1</a> types PositionType, PositionType2D,
BoundingBox, and WGS84BoundingBox for an example).  So, we really do
have to have the element&#8217;s type resolved.</p>
<p>Except that if a CTD&#8217;s content incorporates an element with the same
type as the CTD (i.e., nested), this will never happen, because the
CTD can&#8217;t get resolved until after it has been resolved.
(Go see {<a class="reference external" href="http://www.opengis.net/ows/1.1">http://www.opengis.net/ows/1.1</a>}ContentsBaseType and
{<a class="reference external" href="http://www.opengis.net/ows/1.1">http://www.opengis.net/ows/1.1</a>}DatasetDescriptionSummaryBaseType for
an example).</p>
<p>So, we give the world a break and assume that if the type we&#8217;re trying
to resolve is the same as the type of an element in that type, then
the element type will be resolved by the point it&#8217;s needed.  In point
of fact, it won&#8217;t, but we&#8217;ll only notice that if a CTD contains an
element whose type is a restriction of the CTD.  In that case,
isDerivationConsistent will blow chunks and somebody&#8217;ll have to come
back and finish up this mess.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ElementDeclaration.isResolved">
<code class="descname">isResolved</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration.isResolved" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ElementDeclaration.nillable">
<code class="descname">nillable</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration.nillable" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ElementDeclaration.substitutionGroupAffiliation">
<code class="descname">substitutionGroupAffiliation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration.substitutionGroupAffiliation" title="Permalink to this definition">¶</a></dt>
<dd><p>None, or a reference to an ElementDeclaration.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ElementDeclaration.typeDefinition">
<code class="descname">typeDefinition</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration.typeDefinition" title="Permalink to this definition">¶</a></dt>
<dd><p>The simple or complex type to which the element value conforms.</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures.IdentityConstraintDefinition">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">IdentityConstraintDefinition</code><span class="sig-paren">(</span><em>*args</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.IdentityConstraintDefinition" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyxb.xmlschema.structures._SchemaComponent_mixin" title="pyxb.xmlschema.structures._SchemaComponent_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._SchemaComponent_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._NamedComponent_mixin" title="pyxb.xmlschema.structures._NamedComponent_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._NamedComponent_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._Annotated_mixin" title="pyxb.xmlschema.structures._Annotated_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._Annotated_mixin</span></code></a>, <a class="reference internal" href="pyxb.namespace.html#pyxb.namespace.resolution._Resolvable_mixin" title="pyxb.namespace.resolution._Resolvable_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.namespace.resolution._Resolvable_mixin</span></code></a></p>
<p>An XMLSchema Identity Constraint Definition&lt;<a class="reference external" href="http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions">http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions</a>&gt; component.</p>
<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.IdentityConstraintDefinition.CreateFromDOM">
<em class="property">classmethod </em><code class="descname">CreateFromDOM</code><span class="sig-paren">(</span><em>node</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.IdentityConstraintDefinition.CreateFromDOM" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.IdentityConstraintDefinition.ICC_KEY">
<code class="descname">ICC_KEY</code><em class="property"> = 1</em><a class="headerlink" href="#pyxb.xmlschema.structures.IdentityConstraintDefinition.ICC_KEY" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.IdentityConstraintDefinition.ICC_KEYREF">
<code class="descname">ICC_KEYREF</code><em class="property"> = 2</em><a class="headerlink" href="#pyxb.xmlschema.structures.IdentityConstraintDefinition.ICC_KEYREF" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.IdentityConstraintDefinition.ICC_UNIQUE">
<code class="descname">ICC_UNIQUE</code><em class="property"> = 4</em><a class="headerlink" href="#pyxb.xmlschema.structures.IdentityConstraintDefinition.ICC_UNIQUE" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.IdentityConstraintDefinition._IdentityConstraintDefinition__annotations">
<code class="descname">_IdentityConstraintDefinition__annotations</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.IdentityConstraintDefinition._IdentityConstraintDefinition__annotations" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.IdentityConstraintDefinition._IdentityConstraintDefinition__fields">
<code class="descname">_IdentityConstraintDefinition__fields</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.IdentityConstraintDefinition._IdentityConstraintDefinition__fields" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.IdentityConstraintDefinition._IdentityConstraintDefinition__icc">
<code class="descname">_IdentityConstraintDefinition__icc</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.IdentityConstraintDefinition._IdentityConstraintDefinition__icc" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.IdentityConstraintDefinition._IdentityConstraintDefinition__identityConstraintCategory">
<code class="descname">_IdentityConstraintDefinition__identityConstraintCategory</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.IdentityConstraintDefinition._IdentityConstraintDefinition__identityConstraintCategory" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.IdentityConstraintDefinition._IdentityConstraintDefinition__isResolved">
<code class="descname">_IdentityConstraintDefinition__isResolved</code><em class="property"> = False</em><a class="headerlink" href="#pyxb.xmlschema.structures.IdentityConstraintDefinition._IdentityConstraintDefinition__isResolved" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.IdentityConstraintDefinition._IdentityConstraintDefinition__referAttribute">
<code class="descname">_IdentityConstraintDefinition__referAttribute</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.IdentityConstraintDefinition._IdentityConstraintDefinition__referAttribute" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.IdentityConstraintDefinition._IdentityConstraintDefinition__referencedKey">
<code class="descname">_IdentityConstraintDefinition__referencedKey</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.IdentityConstraintDefinition._IdentityConstraintDefinition__referencedKey" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.IdentityConstraintDefinition._IdentityConstraintDefinition__selector">
<code class="descname">_IdentityConstraintDefinition__selector</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.IdentityConstraintDefinition._IdentityConstraintDefinition__selector" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.IdentityConstraintDefinition._bindingRequires_vx">
<code class="descname">_bindingRequires_vx</code><span class="sig-paren">(</span><em>include_lax</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.IdentityConstraintDefinition._bindingRequires_vx" title="Permalink to this definition">¶</a></dt>
<dd><p>Constraint definitions that are by reference require the referenced constraint.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.IdentityConstraintDefinition._resolve">
<code class="descname">_resolve</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.IdentityConstraintDefinition._resolve" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.IdentityConstraintDefinition.annotations">
<code class="descname">annotations</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.IdentityConstraintDefinition.annotations" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.IdentityConstraintDefinition.fields">
<code class="descname">fields</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.IdentityConstraintDefinition.fields" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.IdentityConstraintDefinition.identityConstraintCategory">
<code class="descname">identityConstraintCategory</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.IdentityConstraintDefinition.identityConstraintCategory" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.IdentityConstraintDefinition.isResolved">
<code class="descname">isResolved</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.IdentityConstraintDefinition.isResolved" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.IdentityConstraintDefinition.selector">
<code class="descname">selector</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.IdentityConstraintDefinition.selector" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures.ModelGroup">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">ModelGroup</code><span class="sig-paren">(</span><em>compositor</em>, <em>particles</em>, <em>*args</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroup" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyxb.xmlschema.structures._ParticleTree_mixin" title="pyxb.xmlschema.structures._ParticleTree_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._ParticleTree_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._SchemaComponent_mixin" title="pyxb.xmlschema.structures._SchemaComponent_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._SchemaComponent_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._Annotated_mixin" title="pyxb.xmlschema.structures._Annotated_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._Annotated_mixin</span></code></a></p>
<p>An XMLSchema Model Group&lt;<a class="reference external" href="http://www.w3.org/TR/xmlschema-1/#cModel_Group">http://www.w3.org/TR/xmlschema-1/#cModel_Group</a>&gt; component.</p>
<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ModelGroup.C_ALL">
<code class="descname">C_ALL</code><em class="property"> = 1</em><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroup.C_ALL" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ModelGroup.C_CHOICE">
<code class="descname">C_CHOICE</code><em class="property"> = 2</em><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroup.C_CHOICE" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ModelGroup.C_INVALID">
<code class="descname">C_INVALID</code><em class="property"> = 0</em><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroup.C_INVALID" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ModelGroup.C_SEQUENCE">
<code class="descname">C_SEQUENCE</code><em class="property"> = 3</em><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroup.C_SEQUENCE" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.ModelGroup.CompositorToString">
<em class="property">classmethod </em><code class="descname">CompositorToString</code><span class="sig-paren">(</span><em>compositor</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroup.CompositorToString" title="Permalink to this definition">¶</a></dt>
<dd><p>Map a compositor value to a string.</p>
</dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.ModelGroup.CreateFromDOM">
<em class="property">classmethod </em><code class="descname">CreateFromDOM</code><span class="sig-paren">(</span><em>node</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroup.CreateFromDOM" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a model group from the given DOM node.</p>
<p>wxs is a Schema instance within which the model group is being
defined.</p>
<p>node is a DOM element.  The name must be one of ( &#8216;all&#8217;,
&#8216;choice&#8217;, &#8216;sequence&#8217; ), and the node must be in the XMLSchema
namespace.</p>
<p>scope is the _ScopeDeclaration_mxin context that is assigned
to declarations that appear within the model group.  It can be
None, indicating no scope defined, or a complex type
definition.</p>
</dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.ModelGroup.IsGroupMemberNode">
<em class="property">classmethod </em><code class="descname">IsGroupMemberNode</code><span class="sig-paren">(</span><em>node</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroup.IsGroupMemberNode" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ModelGroup._ModelGroup__compositor">
<code class="descname">_ModelGroup__compositor</code><em class="property"> = 0</em><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroup._ModelGroup__compositor" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ModelGroup._ModelGroup__modelGroupDefinition">
<code class="descname">_ModelGroup__modelGroupDefinition</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroup._ModelGroup__modelGroupDefinition" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ModelGroup._ModelGroup__particles">
<code class="descname">_ModelGroup__particles</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroup._ModelGroup__particles" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ModelGroup._adaptForScope">
<code class="descname">_adaptForScope</code><span class="sig-paren">(</span><em>owner</em>, <em>ctd</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroup._adaptForScope" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ModelGroup._bindingRequires_vx">
<code class="descname">_bindingRequires_vx</code><span class="sig-paren">(</span><em>include_lax</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroup._bindingRequires_vx" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ModelGroup._walkParticleTree">
<code class="descname">_walkParticleTree</code><span class="sig-paren">(</span><em>visit</em>, <em>arg</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroup._walkParticleTree" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ModelGroup.compositor">
<code class="descname">compositor</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroup.compositor" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ModelGroup.compositorToString">
<code class="descname">compositorToString</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroup.compositorToString" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a string representing the compositor value.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ModelGroup.effectiveTotalRange">
<code class="descname">effectiveTotalRange</code><span class="sig-paren">(</span><em>particle</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroup.effectiveTotalRange" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the minimum and maximum of the number of elements that can
appear in a sequence matched by this particle.</p>
<p>See <a class="reference external" href="http://www.w3.org/TR/xmlschema-1/#cos-seq-range">http://www.w3.org/TR/xmlschema-1/#cos-seq-range</a></p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ModelGroup.hasWildcardElement">
<code class="descname">hasWildcardElement</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroup.hasWildcardElement" title="Permalink to this definition">¶</a></dt>
<dd><p>Return True if the model includes a wildcard amongst its particles.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ModelGroup.isAdaptable">
<code class="descname">isAdaptable</code><span class="sig-paren">(</span><em>ctd</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroup.isAdaptable" title="Permalink to this definition">¶</a></dt>
<dd><p>A model group has an unresolvable particle if any of its
particles is unresolvable.  Duh.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ModelGroup.modelGroupDefinition">
<code class="descname">modelGroupDefinition</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroup.modelGroupDefinition" title="Permalink to this definition">¶</a></dt>
<dd><p>The ModelGroupDefinition that names this group, or None if it is unnamed.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ModelGroup.particles">
<code class="descname">particles</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroup.particles" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures.ModelGroupDefinition">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">ModelGroupDefinition</code><span class="sig-paren">(</span><em>*args</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroupDefinition" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyxb.xmlschema.structures._SchemaComponent_mixin" title="pyxb.xmlschema.structures._SchemaComponent_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._SchemaComponent_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._NamedComponent_mixin" title="pyxb.xmlschema.structures._NamedComponent_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._NamedComponent_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._Annotated_mixin" title="pyxb.xmlschema.structures._Annotated_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._Annotated_mixin</span></code></a></p>
<p>An XMLSchema Model Group Definition&lt;<a class="reference external" href="http://www.w3.org/TR/xmlschema-1/#cModel_Group_Definitions">http://www.w3.org/TR/xmlschema-1/#cModel_Group_Definitions</a>&gt; component.</p>
<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.ModelGroupDefinition.CreateFromDOM">
<em class="property">classmethod </em><code class="descname">CreateFromDOM</code><span class="sig-paren">(</span><em>node</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroupDefinition.CreateFromDOM" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a Model Group Definition from a DOM element node.</p>
<p>wxs is a Schema instance within which the model group is being
defined.</p>
<p>node is a DOM element.  The name must be &#8216;group&#8217;, and the node
must be in the XMLSchema namespace.  The node must have a
&#8216;name&#8217; attribute, and must not have a &#8216;ref&#8217; attribute.</p>
</dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ModelGroupDefinition._ModelGroupDefinition__modelGroup">
<code class="descname">_ModelGroupDefinition__modelGroup</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroupDefinition._ModelGroupDefinition__modelGroup" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ModelGroupDefinition._bindingRequires_vx">
<code class="descname">_bindingRequires_vx</code><span class="sig-paren">(</span><em>include_lax</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroupDefinition._bindingRequires_vx" title="Permalink to this definition">¶</a></dt>
<dd><p>Model group definitions depend on the contained model group.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ModelGroupDefinition.modelGroup">
<code class="descname">modelGroup</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroupDefinition.modelGroup" title="Permalink to this definition">¶</a></dt>
<dd><p>The model group for which this definition provides a name.</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures.NotationDeclaration">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">NotationDeclaration</code><span class="sig-paren">(</span><em>*args</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.NotationDeclaration" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyxb.xmlschema.structures._SchemaComponent_mixin" title="pyxb.xmlschema.structures._SchemaComponent_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._SchemaComponent_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._NamedComponent_mixin" title="pyxb.xmlschema.structures._NamedComponent_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._NamedComponent_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._Annotated_mixin" title="pyxb.xmlschema.structures._Annotated_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._Annotated_mixin</span></code></a></p>
<p>An XMLSchema Notation Declaration&lt;<a class="reference external" href="http://www.w3.org/TR/xmlschema-1/#cNotation_Declarations">http://www.w3.org/TR/xmlschema-1/#cNotation_Declarations</a>&gt; component.</p>
<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.NotationDeclaration.CreateFromDOM">
<em class="property">classmethod </em><code class="descname">CreateFromDOM</code><span class="sig-paren">(</span><em>node</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.NotationDeclaration.CreateFromDOM" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.NotationDeclaration._NotationDeclaration__publicIdentifier">
<code class="descname">_NotationDeclaration__publicIdentifier</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.NotationDeclaration._NotationDeclaration__publicIdentifier" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.NotationDeclaration._NotationDeclaration__systemIdentifier">
<code class="descname">_NotationDeclaration__systemIdentifier</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.NotationDeclaration._NotationDeclaration__systemIdentifier" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.NotationDeclaration._bindingRequires_vx">
<code class="descname">_bindingRequires_vx</code><span class="sig-paren">(</span><em>include_lax</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.NotationDeclaration._bindingRequires_vx" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.NotationDeclaration.publicIdentifier">
<code class="descname">publicIdentifier</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.NotationDeclaration.publicIdentifier" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.NotationDeclaration.systemIdentifier">
<code class="descname">systemIdentifier</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.NotationDeclaration.systemIdentifier" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures.Particle">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">Particle</code><span class="sig-paren">(</span><em>term</em>, <em>*args</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Particle" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyxb.xmlschema.structures._ParticleTree_mixin" title="pyxb.xmlschema.structures._ParticleTree_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._ParticleTree_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._SchemaComponent_mixin" title="pyxb.xmlschema.structures._SchemaComponent_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._SchemaComponent_mixin</span></code></a>, <a class="reference internal" href="pyxb.namespace.html#pyxb.namespace.resolution._Resolvable_mixin" title="pyxb.namespace.resolution._Resolvable_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.namespace.resolution._Resolvable_mixin</span></code></a></p>
<p>An XMLSchema Particle&lt;<a class="reference external" href="http://www.w3.org/TR/xmlschema-1/#cParticle">http://www.w3.org/TR/xmlschema-1/#cParticle</a>&gt; component.</p>
<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.Particle.CreateFromDOM">
<em class="property">classmethod </em><code class="descname">CreateFromDOM</code><span class="sig-paren">(</span><em>node</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Particle.CreateFromDOM" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a particle from the given DOM node.</p>
<p>wxs is a Schema instance within which the model group is being
defined.</p>
<p>node is a DOM element.  The name must be one of ( &#8216;group&#8217;,
&#8216;element&#8217;, &#8216;any&#8217;, &#8216;all&#8217;, &#8216;choice&#8217;, &#8216;sequence&#8217; ), and the node
must be in the XMLSchema namespace.</p>
<p>scope is the _ScopeDeclaration_mxin context that is assigned
to declarations that appear within the model group.  It can be
None, indicating no scope defined, or a complex type
definition.</p>
</dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.Particle.IsParticleNode">
<em class="property">classmethod </em><code class="descname">IsParticleNode</code><span class="sig-paren">(</span><em>node</em>, <em>*others</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Particle.IsParticleNode" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.Particle.IsTypedefNode">
<em class="property">classmethod </em><code class="descname">IsTypedefNode</code><span class="sig-paren">(</span><em>node</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Particle.IsTypedefNode" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Particle._Particle__maxOccurs">
<code class="descname">_Particle__maxOccurs</code><em class="property"> = 1</em><a class="headerlink" href="#pyxb.xmlschema.structures.Particle._Particle__maxOccurs" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Particle._Particle__minOccurs">
<code class="descname">_Particle__minOccurs</code><em class="property"> = 1</em><a class="headerlink" href="#pyxb.xmlschema.structures.Particle._Particle__minOccurs" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Particle._Particle__pendingTerm">
<code class="descname">_Particle__pendingTerm</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Particle._Particle__pendingTerm" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Particle._Particle__refExpandedName">
<code class="descname">_Particle__refExpandedName</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Particle._Particle__refExpandedName" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Particle._Particle__resolvableType">
<code class="descname">_Particle__resolvableType</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Particle._Particle__resolvableType" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Particle._Particle__term">
<code class="descname">_Particle__term</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Particle._Particle__term" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Particle._adaptForScope">
<code class="descname">_adaptForScope</code><span class="sig-paren">(</span><em>owner</em>, <em>ctd</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Particle._adaptForScope" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Particle._bindingRequires_vx">
<code class="descname">_bindingRequires_vx</code><span class="sig-paren">(</span><em>include_lax</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Particle._bindingRequires_vx" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Particle._resolve">
<code class="descname">_resolve</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Particle._resolve" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Particle._walkParticleTree">
<code class="descname">_walkParticleTree</code><span class="sig-paren">(</span><em>visit</em>, <em>arg</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Particle._walkParticleTree" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Particle.effectiveTotalRange">
<code class="descname">effectiveTotalRange</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Particle.effectiveTotalRange" title="Permalink to this definition">¶</a></dt>
<dd><p>Extend the concept of effective total range to all particles.</p>
<p>See <a class="reference external" href="http://www.w3.org/TR/xmlschema-1/#cos-seq-range">http://www.w3.org/TR/xmlschema-1/#cos-seq-range</a> and
<a class="reference external" href="http://www.w3.org/TR/xmlschema-1/#cos-choice-range">http://www.w3.org/TR/xmlschema-1/#cos-choice-range</a></p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Particle.hasWildcardElement">
<code class="descname">hasWildcardElement</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Particle.hasWildcardElement" title="Permalink to this definition">¶</a></dt>
<dd><p>Return True iff this particle has a wildcard in its term.</p>
<p>Note that the wildcard may be in a nested model group.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Particle.isAdaptable">
<code class="descname">isAdaptable</code><span class="sig-paren">(</span><em>ctd</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Particle.isAdaptable" title="Permalink to this definition">¶</a></dt>
<dd><p>A particle has an unresolvable particle if it cannot be
resolved, or if it has resolved to a term which is a model
group that has an unresolvable particle.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Particle.isEmptiable">
<code class="descname">isEmptiable</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Particle.isEmptiable" title="Permalink to this definition">¶</a></dt>
<dd><p>Return <code class="xref py py-obj docutils literal"><span class="pre">True</span></code> iff this particle can legitimately match an empty
sequence (no content).</p>
<p>See <a class="reference external" href="http://www.w3.org/TR/xmlschema-1/#cos-group-emptiable">http://www.w3.org/TR/xmlschema-1/#cos-group-emptiable</a></p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Particle.isResolved">
<code class="descname">isResolved</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Particle.isResolved" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Particle.maxOccurs">
<code class="descname">maxOccurs</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Particle.maxOccurs" title="Permalink to this definition">¶</a></dt>
<dd><p>Upper limit on number of times the term may appear.</p>
<p>If None, the term may appear any number of times; otherwise,
this is an integral value indicating the maximum number of times
the term may appear.  The default value is 1; the value, unless
None, must always be at least minOccurs().</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Particle.minOccurs">
<code class="descname">minOccurs</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Particle.minOccurs" title="Permalink to this definition">¶</a></dt>
<dd><p>The minimum number of times the term may appear.</p>
<p>Defaults to 1.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Particle.term">
<code class="descname">term</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Particle.term" title="Permalink to this definition">¶</a></dt>
<dd><p>A reference to a ModelGroup, Wildcard, or ElementDeclaration.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Particle.walkParticleTree">
<code class="descname">walkParticleTree</code><span class="sig-paren">(</span><em>visit</em>, <em>arg</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Particle.walkParticleTree" title="Permalink to this definition">¶</a></dt>
<dd><p>The entry-point to walk a particle tree defining a content model.</p>
<p>See <a class="reference internal" href="#pyxb.xmlschema.structures._ParticleTree_mixin._walkParticleTree" title="pyxb.xmlschema.structures._ParticleTree_mixin._walkParticleTree"><code class="xref py py-obj docutils literal"><span class="pre">_ParticleTree_mixin._walkParticleTree</span></code></a>.</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures.Schema">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">Schema</code><span class="sig-paren">(</span><em>*args</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyxb.xmlschema.structures._SchemaComponent_mixin" title="pyxb.xmlschema.structures._SchemaComponent_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._SchemaComponent_mixin</span></code></a></p>
<p>An XMLSchema Schema&lt;<a class="reference external" href="http://www.w3.org/TR/xmlschema-1/#Schemas">http://www.w3.org/TR/xmlschema-1/#Schemas</a>&gt;.</p>
<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.Schema.CreateFromDOM">
<em class="property">classmethod </em><code class="descname">CreateFromDOM</code><span class="sig-paren">(</span><em>node</em>, <em>namespace_context=None</em>, <em>schema_location=None</em>, <em>schema_signature=None</em>, <em>generation_uid=None</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema.CreateFromDOM" title="Permalink to this definition">¶</a></dt>
<dd><p>Take the root element of the document, and scan its attributes under
the assumption it is an XMLSchema schema element.  That means
recognize namespace declarations and process them.  Also look for
and set the default namespace.  All other attributes are passed up
to the parent class for storage.</p>
</dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.Schema.CreateFromDocument">
<em class="property">classmethod </em><code class="descname">CreateFromDocument</code><span class="sig-paren">(</span><em>xmls</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema.CreateFromDocument" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.Schema.CreateFromLocation">
<em class="property">classmethod </em><code class="descname">CreateFromLocation</code><span class="sig-paren">(</span><em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema.CreateFromLocation" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a schema from a schema location.</p>
<p>Reads an XML document from the schema location and creates a schema
using it.  All keyword parameters are passed to <a class="reference internal" href="#pyxb.xmlschema.structures.Schema.CreateFromDOM" title="pyxb.xmlschema.structures.Schema.CreateFromDOM"><code class="xref py py-obj docutils literal"><span class="pre">CreateFromDOM</span></code></a>.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>schema_location</strong> &#8211; A file path or a URI.  If this is a relative</td>
</tr>
</tbody>
</table>
<p>URI and <code class="xref py py-obj docutils literal"><span class="pre">parent_uri</span></code> is present, the actual location will be
<a class="reference internal" href="pyxb.utils.html#pyxb.utils.utility.NormalizeLocation" title="pyxb.utils.utility.NormalizeLocation"><code class="xref py py-obj docutils literal"><span class="pre">normallzed</span></code></a>.
:keyword parent_uri: The context within which schema_location will be
normalized, if necessary.
:keyword absolute_schema_location: A file path or URI.  This value is
not normalized, and supersedes <code class="xref py py-obj docutils literal"><span class="pre">schema_location</span></code>.</p>
</dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.Schema.CreateFromStream">
<em class="property">classmethod </em><code class="descname">CreateFromStream</code><span class="sig-paren">(</span><em>stream</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema.CreateFromStream" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Schema._QUALIFIED">
<code class="descname">_QUALIFIED</code><em class="property"> = 'qualified'</em><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._QUALIFIED" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Schema._SA_All">
<code class="descname">_SA_All</code><em class="property"> = '#all'</em><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._SA_All" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Schema._Schema__SchemaCategories">
<code class="descname">_Schema__SchemaCategories</code><em class="property"> = ('typeDefinition', 'attributeGroupDefinition', 'modelGroupDefinition', 'attributeDeclaration', 'elementDeclaration', 'notationDeclaration', 'identityConstraintDefinition')</em><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__SchemaCategories" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Schema._Schema__TopLevelComponentMap">
<code class="descname">_Schema__TopLevelComponentMap</code><em class="property"> = {'simpleType': &lt;class 'pyxb.xmlschema.structures.SimpleTypeDefinition'&gt;, 'notation': &lt;class 'pyxb.xmlschema.structures.NotationDeclaration'&gt;, 'attribute': &lt;class 'pyxb.xmlschema.structures.AttributeDeclaration'&gt;, 'element': &lt;class 'pyxb.xmlschema.structures.ElementDeclaration'&gt;, 'complexType': &lt;class 'pyxb.xmlschema.structures.ComplexTypeDefinition'&gt;, 'group': &lt;class 'pyxb.xmlschema.structures.ModelGroupDefinition'&gt;, 'attributeGroup': &lt;class 'pyxb.xmlschema.structures.AttributeGroupDefinition'&gt;}</em><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__TopLevelComponentMap" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema._Schema__addAttributeDeclaration">
<code class="descname">_Schema__addAttributeDeclaration</code><span class="sig-paren">(</span><em>ad</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__addAttributeDeclaration" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema._Schema__addAttributeGroupDefinition">
<code class="descname">_Schema__addAttributeGroupDefinition</code><span class="sig-paren">(</span><em>agd</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__addAttributeGroupDefinition" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema._Schema__addTypeDefinition">
<code class="descname">_Schema__addTypeDefinition</code><span class="sig-paren">(</span><em>td</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__addTypeDefinition" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Schema._Schema__annotations">
<code class="descname">_Schema__annotations</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__annotations" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Schema._Schema__attributeMap">
<code class="descname">_Schema__attributeMap</code><em class="property"> = {&lt;pyxb.namespace.ExpandedName object&gt;: None, &lt;pyxb.namespace.ExpandedName object&gt;: 'unqualified', &lt;pyxb.namespace.ExpandedName object&gt;: None, &lt;pyxb.namespace.ExpandedName object&gt;: None, &lt;pyxb.namespace.ExpandedName object&gt;: '', &lt;pyxb.namespace.ExpandedName object&gt;: '', &lt;pyxb.namespace.ExpandedName object&gt;: 'unqualified', &lt;pyxb.namespace.ExpandedName object&gt;: None}</em><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__attributeMap" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Schema._Schema__defaultNamespace">
<code class="descname">_Schema__defaultNamespace</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__defaultNamespace" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema._Schema__ebvForNode">
<code class="descname">_Schema__ebvForNode</code><span class="sig-paren">(</span><em>attr</em>, <em>dom_node</em>, <em>candidate_map</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__ebvForNode" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Schema._Schema__generationUID">
<code class="descname">_Schema__generationUID</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__generationUID" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Schema._Schema__importEIIs">
<code class="descname">_Schema__importEIIs</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__importEIIs" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Schema._Schema__importedSchema">
<code class="descname">_Schema__importedSchema</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__importedSchema" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Schema._Schema__includedSchema">
<code class="descname">_Schema__includedSchema</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__includedSchema" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Schema._Schema__location">
<code class="descname">_Schema__location</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__location" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Schema._Schema__locationTag">
<code class="descname">_Schema__locationTag</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__locationTag" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Schema._Schema__namespaceData">
<code class="descname">_Schema__namespaceData</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__namespaceData" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Schema._Schema__originRecord">
<code class="descname">_Schema__originRecord</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__originRecord" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Schema._Schema__pastProlog">
<code class="descname">_Schema__pastProlog</code><em class="property"> = False</em><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__pastProlog" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema._Schema__processAnnotation">
<code class="descname">_Schema__processAnnotation</code><span class="sig-paren">(</span><em>node</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__processAnnotation" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema._Schema__processImport">
<code class="descname">_Schema__processImport</code><span class="sig-paren">(</span><em>node</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__processImport" title="Permalink to this definition">¶</a></dt>
<dd><p>Process an import directive.</p>
<p>This attempts to locate schema (named entity) information for
a namespace that is referenced by this schema.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema._Schema__processInclude">
<code class="descname">_Schema__processInclude</code><span class="sig-paren">(</span><em>node</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__processInclude" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema._Schema__processRedefine">
<code class="descname">_Schema__processRedefine</code><span class="sig-paren">(</span><em>node</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__processRedefine" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema._Schema__processTopLevelNode">
<code class="descname">_Schema__processTopLevelNode</code><span class="sig-paren">(</span><em>node</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__processTopLevelNode" title="Permalink to this definition">¶</a></dt>
<dd><p>Process a DOM node from the top level of the schema.</p>
<p>This should return a non-None value if the node was
successfully recognized.</p>
</dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Schema._Schema__referencedNamespaces">
<code class="descname">_Schema__referencedNamespaces</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__referencedNamespaces" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema._Schema__requireInProlog">
<code class="descname">_Schema__requireInProlog</code><span class="sig-paren">(</span><em>node_name</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__requireInProlog" title="Permalink to this definition">¶</a></dt>
<dd><p>Throw a SchemaValidationException referencing the given
node if we have passed the sequence point representing the end
of prolog elements.</p>
</dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Schema._Schema__signature">
<code class="descname">_Schema__signature</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__signature" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Schema._Schema__targetNamespace">
<code class="descname">_Schema__targetNamespace</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__targetNamespace" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Schema._Schema__uriContentArchiveDirectory">
<code class="descname">_Schema__uriContentArchiveDirectory</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__uriContentArchiveDirectory" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Schema._UNQUALIFIED">
<code class="descname">_UNQUALIFIED</code><em class="property"> = 'unqualified'</em><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._UNQUALIFIED" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema._addAnnotation">
<code class="descname">_addAnnotation</code><span class="sig-paren">(</span><em>annotation</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._addAnnotation" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema._addNamedComponent">
<code class="descname">_addNamedComponent</code><span class="sig-paren">(</span><em>nc</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._addNamedComponent" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema._setAttributeFromDOM">
<code class="descname">_setAttributeFromDOM</code><span class="sig-paren">(</span><em>attr</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._setAttributeFromDOM" title="Permalink to this definition">¶</a></dt>
<dd><p>Override the schema attribute with the given DOM value.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema._setAttributesFromMap">
<code class="descname">_setAttributesFromMap</code><span class="sig-paren">(</span><em>attr_map</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._setAttributesFromMap" title="Permalink to this definition">¶</a></dt>
<dd><p>Override the schema attributes with values from the given map.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema._uriContentArchiveDirectory">
<code class="descname">_uriContentArchiveDirectory</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._uriContentArchiveDirectory" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema.blockForNode">
<code class="descname">blockForNode</code><span class="sig-paren">(</span><em>dom_node</em>, <em>candidate_map</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema.blockForNode" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a bit mask indicating a set of options read from the node&#8217;s &#8220;block&#8221; attribute or the schema&#8217;s &#8220;blockDefault&#8221; attribute.</p>
<p>A value of &#8216;#all&#8217; means enable every options; otherwise, the attribute
value should be a list of tokens, for which the corresponding value
will be added to the return value.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>dom_node</strong> (<code class="xref py py-obj docutils literal"><span class="pre">xml.dom.Node</span></code>) &#8211; the node from which the &#8220;block&#8221; attribute will be retrieved</li>
<li><strong>candidate_map</strong> &#8211; map from strings to bitmask values</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema.defaultNamespace">
<code class="descname">defaultNamespace</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema.defaultNamespace" title="Permalink to this definition">¶</a></dt>
<dd><p>Default namespace of the schema.</p>
<p>Will be None unless the schema has an &#8216;xmlns&#8217; attribute.  The
value must currently be provided as a keyword parameter to the
constructor.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema.finalForNode">
<code class="descname">finalForNode</code><span class="sig-paren">(</span><em>dom_node</em>, <em>candidate_map</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema.finalForNode" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a bit mask indicating a set of options read from the node&#8217;s
&#8220;final&#8221; attribute or the schema&#8217;s &#8220;finalDefault&#8221; attribute.</p>
<p>A value of &#8216;#all&#8217; means enable every options; otherwise, the attribute
value should be a list of tokens, for which the corresponding value
will be added to the return value.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>dom_node</strong> (<code class="xref py py-obj docutils literal"><span class="pre">xml.dom.Node</span></code>) &#8211; the node from which the &#8220;final&#8221; attribute will be retrieved</li>
<li><strong>candidate_map</strong> &#8211; map from strings to bitmask values</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema.generationUID">
<code class="descname">generationUID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema.generationUID" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema.importEIIs">
<code class="descname">importEIIs</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema.importEIIs" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema.importedSchema">
<code class="descname">importedSchema</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema.importedSchema" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema.includedSchema">
<code class="descname">includedSchema</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema.includedSchema" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema.location">
<code class="descname">location</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema.location" title="Permalink to this definition">¶</a></dt>
<dd><p>URI or path to where the schema can be found.</p>
<p>For schema created by a user, the location should be provided to the
constructor using the <code class="xref py py-obj docutils literal"><span class="pre">schema_location</span></code> keyword.  In the case of
imported or included schema, the including schema&#8217;s location is used
as the base URI for determining the absolute URI of the included
schema from its (possibly relative) location value.  For files,
the scheme and authority portions are generally absent, as is often
the abs_path part.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema.locationTag">
<code class="descname">locationTag</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema.locationTag" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema.originRecord">
<code class="descname">originRecord</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema.originRecord" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema.referencedNamespaces">
<code class="descname">referencedNamespaces</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema.referencedNamespaces" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema.schemaAttribute">
<code class="descname">schemaAttribute</code><span class="sig-paren">(</span><em>attr_name</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema.schemaAttribute" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the schema attribute value associated with the given (nc)name.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>attr_name</strong> &#8211; local name for the attribute in the schema element.</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">the value of the corresponding attribute, or <code class="xref py py-obj docutils literal"><span class="pre">None</span></code> if it</td>
</tr>
</tbody>
</table>
<p>has not been defined and has no default.
:raise KeyError: <code class="xref py py-obj docutils literal"><span class="pre">attr_name</span></code> is not a valid attribute for a <code class="xref py py-obj docutils literal"><span class="pre">schema</span></code> element.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema.schemaHasAttribute">
<code class="descname">schemaHasAttribute</code><span class="sig-paren">(</span><em>attr_name</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema.schemaHasAttribute" title="Permalink to this definition">¶</a></dt>
<dd><p>Return True iff the schema has an attribute with the given (nc)name.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema.signature">
<code class="descname">signature</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema.signature" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema.targetNamespace">
<code class="descname">targetNamespace</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema.targetNamespace" title="Permalink to this definition">¶</a></dt>
<dd><p>The targetNamespace of a componen.</p>
<p>This is None, or a reference to a Namespace in which the
component is declared (either as a global or local to one of
the namespace&#8217;s complex type definitions).  This is immutable
after creation.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema.targetNamespaceForNode">
<code class="descname">targetNamespaceForNode</code><span class="sig-paren">(</span><em>dom_node</em>, <em>declaration_type</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema.targetNamespaceForNode" title="Permalink to this definition">¶</a></dt>
<dd><p>Determine the target namespace for a local attribute or element declaration.</p>
<p>Look at the node&#8217;s <code class="xref py py-obj docutils literal"><span class="pre">form</span></code> attribute, or if none the schema&#8217;s
<code class="xref py py-obj docutils literal"><span class="pre">attributeFormDefault</span></code> or <code class="xref py py-obj docutils literal"><span class="pre">elementFormDefault</span></code> value.  If the
resulting value is <code class="xref py py-obj docutils literal"><span class="pre">&quot;qualified&quot;</span></code> and the parent schema has a
non-absent target namespace, return it to use as the declaration
target namespace.  Otherwise, return None to indicate that the
declaration has no namespace.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>dom_node</strong> &#8211; The node defining an element or attribute declaration</li>
<li><strong>declaration_type</strong> &#8211; Either <a class="reference internal" href="#pyxb.xmlschema.structures.AttributeDeclaration" title="pyxb.xmlschema.structures.AttributeDeclaration"><code class="xref py py-obj docutils literal"><span class="pre">AttributeDeclaration</span></code></a> or <a class="reference internal" href="#pyxb.xmlschema.structures.ElementDeclaration" title="pyxb.xmlschema.structures.ElementDeclaration"><code class="xref py py-obj docutils literal"><span class="pre">ElementDeclaration</span></code></a></li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"><a class="reference internal" href="pyxb.namespace.html#pyxb.namespace.Namespace" title="pyxb.namespace.Namespace"><code class="xref py py-obj docutils literal"><span class="pre">pyxb.namespace.Namespace</span></code></a> or None</p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">SimpleTypeDefinition</code><span class="sig-paren">(</span><em>*args</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyxb.xmlschema.structures._SchemaComponent_mixin" title="pyxb.xmlschema.structures._SchemaComponent_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._SchemaComponent_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._NamedComponent_mixin" title="pyxb.xmlschema.structures._NamedComponent_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._NamedComponent_mixin</span></code></a>, <a class="reference internal" href="pyxb.namespace.html#pyxb.namespace.resolution._Resolvable_mixin" title="pyxb.namespace.resolution._Resolvable_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.namespace.resolution._Resolvable_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._Annotated_mixin" title="pyxb.xmlschema.structures._Annotated_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._Annotated_mixin</span></code></a></p>
<p>An XMLSchema Simple Type Definition&lt;<a class="reference external" href="http://www.w3.org/TR/xmlschema-1/#Simple_Type_Definitions">http://www.w3.org/TR/xmlschema-1/#Simple_Type_Definitions</a>&gt; component.</p>
<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.CreateDerivedInstance">
<em class="property">classmethod </em><code class="descname">CreateDerivedInstance</code><span class="sig-paren">(</span><em>name</em>, <em>schema</em>, <em>parent_std</em>, <em>python_support</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.CreateDerivedInstance" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a derived simple type in the target namespace.</p>
<p>This is used to pre-load standard built-in derived types.  You
can use it for your own schemas as well, if you have special
types that require explicit support to for Pythonic
conversion.</p>
</dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.CreateFromDOM">
<em class="property">classmethod </em><code class="descname">CreateFromDOM</code><span class="sig-paren">(</span><em>node</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.CreateFromDOM" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.CreateListInstance">
<em class="property">classmethod </em><code class="descname">CreateListInstance</code><span class="sig-paren">(</span><em>name</em>, <em>schema</em>, <em>item_std</em>, <em>python_support</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.CreateListInstance" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a list simple type in the target namespace.</p>
<p>This is used to preload standard built-in list types.  You can
use it for your own schemas as well, if you have special types
that require explicit support to for Pythonic conversion; but
note that such support is identified by the item_std.</p>
</dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.CreatePrimitiveInstance">
<em class="property">classmethod </em><code class="descname">CreatePrimitiveInstance</code><span class="sig-paren">(</span><em>name</em>, <em>schema</em>, <em>python_support</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.CreatePrimitiveInstance" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a primitive simple type in the target namespace.</p>
<p>This is mainly used to pre-load standard built-in primitive
types, such as those defined by XMLSchema Datatypes.  You can
use it for your own schemas as well, if you have special types
that require explicit support to for Pythonic conversion.</p>
<p>All parameters are required and must be non-None.</p>
</dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.CreateUnionInstance">
<em class="property">classmethod </em><code class="descname">CreateUnionInstance</code><span class="sig-paren">(</span><em>name</em>, <em>schema</em>, <em>member_stds</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.CreateUnionInstance" title="Permalink to this definition">¶</a></dt>
<dd><p>(Placeholder) Create a union simple type in the target namespace.</p>
<p>This function has not been implemented.</p>
</dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.STD_empty">
<code class="descname">STD_empty</code><em class="property"> = 0</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.STD_empty" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.STD_extension">
<code class="descname">STD_extension</code><em class="property"> = 1</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.STD_extension" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.STD_list">
<code class="descname">STD_list</code><em class="property"> = 2</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.STD_list" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.STD_restriction">
<code class="descname">STD_restriction</code><em class="property"> = 4</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.STD_restriction" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.STD_union">
<code class="descname">STD_union</code><em class="property"> = 8</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.STD_union" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.SimpleUrTypeDefinition">
<em class="property">classmethod </em><code class="descname">SimpleUrTypeDefinition</code><span class="sig-paren">(</span><em>schema=None</em>, <em>in_builtin_definition=False</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.SimpleUrTypeDefinition" title="Permalink to this definition">¶</a></dt>
<dd><p>Create the SimpleTypeDefinition instance that approximates the simple ur-type.</p>
<p>See section 3.14.7.</p>
</dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.VARIETY_absent">
<code class="descname">VARIETY_absent</code><em class="property"> = 1</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.VARIETY_absent" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.VARIETY_atomic">
<code class="descname">VARIETY_atomic</code><em class="property"> = 2</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.VARIETY_atomic" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.VARIETY_list">
<code class="descname">VARIETY_list</code><em class="property"> = 3</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.VARIETY_list" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.VARIETY_union">
<code class="descname">VARIETY_union</code><em class="property"> = 4</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.VARIETY_union" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.VarietyToString">
<em class="property">classmethod </em><code class="descname">VarietyToString</code><span class="sig-paren">(</span><em>variety</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.VarietyToString" title="Permalink to this definition">¶</a></dt>
<dd><p>Convert a variety value to a string.</p>
</dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._CreateXMLInstance">
<em class="property">classmethod </em><code class="descname">_CreateXMLInstance</code><span class="sig-paren">(</span><em>name</em>, <em>schema</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._CreateXMLInstance" title="Permalink to this definition">¶</a></dt>
<dd><p>Create STD instances for built-in types.</p>
<p>For example, xml:space is a restriction of NCName; xml:lang is a union.</p>
</dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._DA_empty">
<code class="descname">_DA_empty</code><em class="property"> = 'none specified'</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._DA_empty" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._DA_list">
<code class="descname">_DA_list</code><em class="property"> = 'list'</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._DA_list" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._DA_restriction">
<code class="descname">_DA_restriction</code><em class="property"> = 'restriction'</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._DA_restriction" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._DA_union">
<code class="descname">_DA_union</code><em class="property"> = 'union'</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._DA_union" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._FinalToString">
<em class="property">classmethod </em><code class="descname">_FinalToString</code><span class="sig-paren">(</span><em>final_value</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._FinalToString" title="Permalink to this definition">¶</a></dt>
<dd><p>Convert a final value to a string.</p>
</dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._STD_Map">
<code class="descname">_STD_Map</code><em class="property"> = {'union': 8, 'restriction': 4, 'list': 2, 'extension': 1}</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._STD_Map" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__SimpleUrTypeDefinition">
<code class="descname">_SimpleTypeDefinition__SimpleUrTypeDefinition</code><em class="property"> = &lt;pyxb.xmlschema.structures._SimpleUrTypeDefinition object&gt;</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__SimpleUrTypeDefinition" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__baseExpandedName">
<code class="descname">_SimpleTypeDefinition__baseExpandedName</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__baseExpandedName" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__baseTypeDefinition">
<code class="descname">_SimpleTypeDefinition__baseTypeDefinition</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__baseTypeDefinition" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__completeResolution">
<code class="descname">_SimpleTypeDefinition__completeResolution</code><span class="sig-paren">(</span><em>body</em>, <em>variety</em>, <em>alternative</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__completeResolution" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__defineDefaultFacets">
<code class="descname">_SimpleTypeDefinition__defineDefaultFacets</code><span class="sig-paren">(</span><em>variety</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__defineDefaultFacets" title="Permalink to this definition">¶</a></dt>
<dd><p>Create facets for varieties that can take facets that are undeclared.</p>
<p>This means unions, which per section 4.1.2.3 of
<a class="reference external" href="http://www.w3.org/TR/xmlschema-2/">http://www.w3.org/TR/xmlschema-2/</a> can have enumeration or
pattern restrictions.</p>
</dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__derivationAlternative">
<code class="descname">_SimpleTypeDefinition__derivationAlternative</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__derivationAlternative" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__domNode">
<code class="descname">_SimpleTypeDefinition__domNode</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__domNode" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__facets">
<code class="descname">_SimpleTypeDefinition__facets</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__facets" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__final">
<code class="descname">_SimpleTypeDefinition__final</code><em class="property"> = 0</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__final" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__fundamentalFacets">
<code class="descname">_SimpleTypeDefinition__fundamentalFacets</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__fundamentalFacets" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__initializeFromList">
<code class="descname">_SimpleTypeDefinition__initializeFromList</code><span class="sig-paren">(</span><em>body</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__initializeFromList" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__initializeFromRestriction">
<code class="descname">_SimpleTypeDefinition__initializeFromRestriction</code><span class="sig-paren">(</span><em>body</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__initializeFromRestriction" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__initializeFromUnion">
<code class="descname">_SimpleTypeDefinition__initializeFromUnion</code><span class="sig-paren">(</span><em>body</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__initializeFromUnion" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__isBuiltin">
<code class="descname">_SimpleTypeDefinition__isBuiltin</code><em class="property"> = False</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__isBuiltin" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__itemTypeDefinition">
<code class="descname">_SimpleTypeDefinition__itemTypeDefinition</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__itemTypeDefinition" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__itemTypeExpandedName">
<code class="descname">_SimpleTypeDefinition__itemTypeExpandedName</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__itemTypeExpandedName" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__localFacets">
<code class="descname">_SimpleTypeDefinition__localFacets</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__localFacets" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__localMemberTypes">
<code class="descname">_SimpleTypeDefinition__localMemberTypes</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__localMemberTypes" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__memberTypeDefinitions">
<code class="descname">_SimpleTypeDefinition__memberTypeDefinitions</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__memberTypeDefinitions" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__memberTypes">
<code class="descname">_SimpleTypeDefinition__memberTypes</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__memberTypes" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__memberTypesExpandedNames">
<code class="descname">_SimpleTypeDefinition__memberTypesExpandedNames</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__memberTypesExpandedNames" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__primitiveTypeDefinition">
<code class="descname">_SimpleTypeDefinition__primitiveTypeDefinition</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__primitiveTypeDefinition" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__processHasFacetAndProperty">
<code class="descname">_SimpleTypeDefinition__processHasFacetAndProperty</code><span class="sig-paren">(</span><em>variety</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__processHasFacetAndProperty" title="Permalink to this definition">¶</a></dt>
<dd><p>Identify the facets and properties for this stype.</p>
<p>This method simply identifies the facets that apply to this
specific type, and records property values.  Only
explicitly-associated facets and properties are stored; others
from base types will also affect this type.  The information
is taken from the applicationInformation children of the
definition&#8217;s annotation node, if any.  If there is no support
for the XMLSchema_hasFacetAndProperty namespace, this is a
no-op.</p>
<p>Upon return, self.__facets is a map from the class for an
associated fact to None, and self.__fundamentalFacets is a
frozenset of instances of FundamentalFacet.</p>
<p>The return value is self.</p>
</dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__pythonSupport">
<code class="descname">_SimpleTypeDefinition__pythonSupport</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__pythonSupport" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__resolveBuiltin">
<code class="descname">_SimpleTypeDefinition__resolveBuiltin</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__resolveBuiltin" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__singleSimpleTypeChild">
<code class="descname">_SimpleTypeDefinition__singleSimpleTypeChild</code><span class="sig-paren">(</span><em>body</em>, <em>other_elts_ok=False</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__singleSimpleTypeChild" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__updateFacets">
<code class="descname">_SimpleTypeDefinition__updateFacets</code><span class="sig-paren">(</span><em>body</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__updateFacets" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__variety">
<code class="descname">_SimpleTypeDefinition__variety</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__variety" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._bindingRequires_vx">
<code class="descname">_bindingRequires_vx</code><span class="sig-paren">(</span><em>include_lax</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._bindingRequires_vx" title="Permalink to this definition">¶</a></dt>
<dd><p>Implement base class method.</p>
<p>This STD depends on its baseTypeDefinition, unless its variety
is absent.  Other dependencies are on item, primitive, or
member type definitions.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._createRestriction">
<code class="descname">_createRestriction</code><span class="sig-paren">(</span><em>owner</em>, <em>body</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._createRestriction" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a new simple type with this as its base.</p>
<p>The type is owned by the provided owner, and may have facet
restrictions defined by the body.
:param owner: the owner for the newly created type
:type owner: <a class="reference internal" href="#pyxb.xmlschema.structures.ComplexTypeDefinition" title="pyxb.xmlschema.structures.ComplexTypeDefinition"><code class="xref py py-obj docutils literal"><span class="pre">ComplexTypeDefinition</span></code></a>
:param body: the DOM node from which facet information will be extracted
:type body: <code class="xref py py-obj docutils literal"><span class="pre">xml.dom.Node</span></code>
:rtype: <a class="reference internal" href="#pyxb.xmlschema.structures.SimpleTypeDefinition" title="pyxb.xmlschema.structures.SimpleTypeDefinition"><code class="xref py py-obj docutils literal"><span class="pre">SimpleTypeDefinition</span></code></a></p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._derivationAlternative">
<code class="descname">_derivationAlternative</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._derivationAlternative" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._resolve">
<code class="descname">_resolve</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._resolve" title="Permalink to this definition">¶</a></dt>
<dd><p>Attempt to resolve the type.</p>
<p>Type resolution for simple types means that the corresponding
schema component fields have been set.  Specifically, that
means variety, baseTypeDefinition, and the appropriate
additional fields depending on variety.</p>
<p>All built-in STDs are resolved upon creation.  Schema-defined
STDs are held unresolved until the schema has been completely
read, so that references to later schema-defined STDs can be
resolved.  Resolution is performed after the entire schema has
been scanned and STD instances created for all
topLevelSimpleTypes.</p>
<p>If a built-in STD is also defined in a schema (which it should
be for XMLSchema), the built-in STD is kept, with the
schema-related information copied over from the matching
schema-defined STD.  The former then replaces the latter in
the list of STDs to be resolved.</p>
<p>Types defined by restriction have the same variety as the type
they restrict.  If a simple type restriction depends on an
unresolved type, this method simply queues it for resolution
in a later pass and returns.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._setPythonSupport">
<code class="descname">_setPythonSupport</code><span class="sig-paren">(</span><em>python_support</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._setPythonSupport" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._updateFromOther_csc">
<code class="descname">_updateFromOther_csc</code><span class="sig-paren">(</span><em>other</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._updateFromOther_csc" title="Permalink to this definition">¶</a></dt>
<dd><p>Override fields in this instance with those from the other.</p>
<p>This method is invoked only by Schema._addNamedComponent, and
then only when a built-in type collides with a schema-defined
type.  Material like facets is not (currently) held in the
built-in copy, so the DOM information is copied over to the
built-in STD, which is subsequently re-resolved.</p>
<p>Returns self.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.baseTypeDefinition">
<code class="descname">baseTypeDefinition</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.baseTypeDefinition" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.facets">
<code class="descname">facets</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.facets" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.fundamentalFacets">
<code class="descname">fundamentalFacets</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.fundamentalFacets" title="Permalink to this definition">¶</a></dt>
<dd><p>A frozenset of instances of facets.FundamentallFacet.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.hasPythonSupport">
<code class="descname">hasPythonSupport</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.hasPythonSupport" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.isBuiltin">
<code class="descname">isBuiltin</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.isBuiltin" title="Permalink to this definition">¶</a></dt>
<dd><p>Indicate whether this simple type is a built-in type.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.isResolved">
<code class="descname">isResolved</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.isResolved" title="Permalink to this definition">¶</a></dt>
<dd><p>Indicate whether this simple type is fully defined.</p>
<p>Type resolution for simple types means that the corresponding
schema component fields have been set.  Specifically, that
means variety, baseTypeDefinition, and the appropriate
additional fields depending on variety.  See _resolve() for
more information.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.itemTypeDefinition">
<code class="descname">itemTypeDefinition</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.itemTypeDefinition" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.memberTypeDefinitions">
<code class="descname">memberTypeDefinitions</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.memberTypeDefinitions" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.primitiveTypeDefinition">
<code class="descname">primitiveTypeDefinition</code><span class="sig-paren">(</span><em>throw_if_absent=True</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.primitiveTypeDefinition" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.pythonSupport">
<code class="descname">pythonSupport</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.pythonSupport" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.pythonToString">
<code class="descname">pythonToString</code><span class="sig-paren">(</span><em>value</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.pythonToString" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.stringToPython">
<code class="descname">stringToPython</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.stringToPython" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.variety">
<code class="descname">variety</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.variety" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures.Wildcard">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">Wildcard</code><span class="sig-paren">(</span><em>*args</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Wildcard" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyxb.xmlschema.structures._ParticleTree_mixin" title="pyxb.xmlschema.structures._ParticleTree_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._ParticleTree_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._SchemaComponent_mixin" title="pyxb.xmlschema.structures._SchemaComponent_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._SchemaComponent_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._Annotated_mixin" title="pyxb.xmlschema.structures._Annotated_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._Annotated_mixin</span></code></a></p>
<p>An XMLSchema Wildcard&lt;<a class="reference external" href="http://www.w3.org/TR/xmlschema-1/#cParticle">http://www.w3.org/TR/xmlschema-1/#cParticle</a>&gt; component.</p>
<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.Wildcard.CreateFromDOM">
<em class="property">classmethod </em><code class="descname">CreateFromDOM</code><span class="sig-paren">(</span><em>node</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Wildcard.CreateFromDOM" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.Wildcard.IntensionalIntersection">
<em class="property">classmethod </em><code class="descname">IntensionalIntersection</code><span class="sig-paren">(</span><em>constraints</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Wildcard.IntensionalIntersection" title="Permalink to this definition">¶</a></dt>
<dd><p><a class="reference external" href="http://www.w3.org/TR/xmlschema-1/#cos-aw-intersect">http://www.w3.org/TR/xmlschema-1/#cos-aw-intersect</a></p>
</dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.Wildcard.IntensionalUnion">
<em class="property">classmethod </em><code class="descname">IntensionalUnion</code><span class="sig-paren">(</span><em>constraints</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Wildcard.IntensionalUnion" title="Permalink to this definition">¶</a></dt>
<dd><p><a class="reference external" href="http://www.w3.org/TR/xmlschema-1/#cos-aw-union">http://www.w3.org/TR/xmlschema-1/#cos-aw-union</a></p>
</dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Wildcard.NC_any">
<code class="descname">NC_any</code><em class="property"> = '##any'</em><a class="headerlink" href="#pyxb.xmlschema.structures.Wildcard.NC_any" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Wildcard.NC_local">
<code class="descname">NC_local</code><em class="property"> = '##local'</em><a class="headerlink" href="#pyxb.xmlschema.structures.Wildcard.NC_local" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Wildcard.NC_not">
<code class="descname">NC_not</code><em class="property"> = '##other'</em><a class="headerlink" href="#pyxb.xmlschema.structures.Wildcard.NC_not" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Wildcard.NC_targetNamespace">
<code class="descname">NC_targetNamespace</code><em class="property"> = '##targetNamespace'</em><a class="headerlink" href="#pyxb.xmlschema.structures.Wildcard.NC_targetNamespace" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Wildcard.PC_lax">
<code class="descname">PC_lax</code><em class="property"> = 'lax'</em><a class="headerlink" href="#pyxb.xmlschema.structures.Wildcard.PC_lax" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Wildcard.PC_skip">
<code class="descname">PC_skip</code><em class="property"> = 'skip'</em><a class="headerlink" href="#pyxb.xmlschema.structures.Wildcard.PC_skip" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Wildcard.PC_strict">
<code class="descname">PC_strict</code><em class="property"> = 'strict'</em><a class="headerlink" href="#pyxb.xmlschema.structures.Wildcard.PC_strict" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Wildcard._Wildcard__namespaceConstraint">
<code class="descname">_Wildcard__namespaceConstraint</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Wildcard._Wildcard__namespaceConstraint" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Wildcard._Wildcard__processContents">
<code class="descname">_Wildcard__processContents</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Wildcard._Wildcard__processContents" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Wildcard._adaptForScope">
<code class="descname">_adaptForScope</code><span class="sig-paren">(</span><em>owner</em>, <em>ctd</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Wildcard._adaptForScope" title="Permalink to this definition">¶</a></dt>
<dd><p>Wildcards are scope-independent; return self</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Wildcard._walkParticleTree">
<code class="descname">_walkParticleTree</code><span class="sig-paren">(</span><em>visit</em>, <em>arg</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Wildcard._walkParticleTree" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Wildcard.hasWildcardElement">
<code class="descname">hasWildcardElement</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Wildcard.hasWildcardElement" title="Permalink to this definition">¶</a></dt>
<dd><p>Return True, since Wildcard components are wildcards.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Wildcard.isAdaptable">
<code class="descname">isAdaptable</code><span class="sig-paren">(</span><em>ctd</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Wildcard.isAdaptable" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Wildcard.namespaceConstraint">
<code class="descname">namespaceConstraint</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Wildcard.namespaceConstraint" title="Permalink to this definition">¶</a></dt>
<dd><p>A constraint on the namespace for the wildcard.</p>
<dl class="docutils">
<dt>Valid values are:</dt>
<dd><ul class="first last simple">
<li><a class="reference internal" href="#pyxb.xmlschema.structures.Wildcard.NC_any" title="pyxb.xmlschema.structures.Wildcard.NC_any"><code class="xref py py-obj docutils literal"><span class="pre">Wildcard.NC_any</span></code></a></li>
<li>A tuple ( <a class="reference internal" href="#pyxb.xmlschema.structures.Wildcard.NC_not" title="pyxb.xmlschema.structures.Wildcard.NC_not"><code class="xref py py-obj docutils literal"><span class="pre">Wildcard.NC_not</span></code></a>, a_namespace )</li>
<li>set(of_namespaces)</li>
</ul>
</dd>
</dl>
<p>Note that namespace are represented by
<a class="reference internal" href="pyxb.namespace.html#pyxb.namespace.Namespace" title="pyxb.namespace.Namespace"><code class="xref py py-obj docutils literal"><span class="pre">Namespace</span></code></a> instances, not the URIs that
actually define a namespace.  Absence of a namespace is represented by
<code class="xref py py-obj docutils literal"><span class="pre">None</span></code>, both in the &#8220;not&#8221; pair and in the set.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Wildcard.processContents">
<code class="descname">processContents</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Wildcard.processContents" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="function">
<dt id="pyxb.xmlschema.structures._AddSimpleTypes">
<code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">_AddSimpleTypes</code><span class="sig-paren">(</span><em>namespace</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._AddSimpleTypes" title="Permalink to this definition">¶</a></dt>
<dd><p>Add to the schema the definitions of the built-in types of XMLSchema.
This should only be invoked by <a class="reference internal" href="pyxb.namespace.html#module-pyxb.namespace" title="pyxb.namespace"><code class="xref py py-obj docutils literal"><span class="pre">pyxb.namespace</span></code></a> when the built-in
namespaces are initialized.</p>
</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures._Annotated_mixin">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">_Annotated_mixin</code><span class="sig-paren">(</span><em>*args</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._Annotated_mixin" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="pyxb.html#pyxb.cscRoot" title="pyxb.cscRoot"><code class="xref py py-class docutils literal"><span class="pre">pyxb.cscRoot</span></code></a></p>
<p>Mix-in that supports an optional single annotation that describes the component.</p>
<p>Most schema components have annotations.  The ones that don&#8217;t are
<a class="reference internal" href="#pyxb.xmlschema.structures.AttributeUse" title="pyxb.xmlschema.structures.AttributeUse"><code class="xref py py-obj docutils literal"><span class="pre">AttributeUse</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures.Particle" title="pyxb.xmlschema.structures.Particle"><code class="xref py py-obj docutils literal"><span class="pre">Particle</span></code></a>, and <a class="reference internal" href="#pyxb.xmlschema.structures.Annotation" title="pyxb.xmlschema.structures.Annotation"><code class="xref py py-obj docutils literal"><span class="pre">Annotation</span></code></a>.  <a class="reference internal" href="#pyxb.xmlschema.structures.ComplexTypeDefinition" title="pyxb.xmlschema.structures.ComplexTypeDefinition"><code class="xref py py-obj docutils literal"><span class="pre">ComplexTypeDefinition</span></code></a>
and <a class="reference internal" href="#pyxb.xmlschema.structures.Schema" title="pyxb.xmlschema.structures.Schema"><code class="xref py py-obj docutils literal"><span class="pre">Schema</span></code></a> support multiple annotations, so do not mix-in this
class.</p>
<dl class="attribute">
<dt id="pyxb.xmlschema.structures._Annotated_mixin._Annotated_mixin__annotation">
<code class="descname">_Annotated_mixin__annotation</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._Annotated_mixin._Annotated_mixin__annotation" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._Annotated_mixin._annotationFromDOM">
<code class="descname">_annotationFromDOM</code><span class="sig-paren">(</span><em>node</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._Annotated_mixin._annotationFromDOM" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._Annotated_mixin._updateFromOther_csc">
<code class="descname">_updateFromOther_csc</code><span class="sig-paren">(</span><em>other</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._Annotated_mixin._updateFromOther_csc" title="Permalink to this definition">¶</a></dt>
<dd><p>Override fields in this instance with those from the other.</p>
<p>Post-extended; description in leaf implementation in
ComplexTypeDefinition and SimpleTypeDefinition.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._Annotated_mixin.annotation">
<code class="descname">annotation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._Annotated_mixin.annotation" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures._AttributeWildcard_mixin">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">_AttributeWildcard_mixin</code><span class="sig-paren">(</span><em>*args</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._AttributeWildcard_mixin" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="pyxb.html#pyxb.cscRoot" title="pyxb.cscRoot"><code class="xref py py-class docutils literal"><span class="pre">pyxb.cscRoot</span></code></a></p>
<p>Support for components that accept attribute wildcards.</p>
<p>That is <a class="reference internal" href="#pyxb.xmlschema.structures.AttributeGroupDefinition" title="pyxb.xmlschema.structures.AttributeGroupDefinition"><code class="xref py py-obj docutils literal"><span class="pre">AttributeGroupDefinition</span></code></a> and <a class="reference internal" href="#pyxb.xmlschema.structures.ComplexTypeDefinition" title="pyxb.xmlschema.structures.ComplexTypeDefinition"><code class="xref py py-obj docutils literal"><span class="pre">ComplexTypeDefinition</span></code></a>.  The
calculations of the appropriate wildcard are sufficiently complex that
they need to be abstracted out to a mix-in class.</p>
<dl class="classmethod">
<dt id="pyxb.xmlschema.structures._AttributeWildcard_mixin.CompleteWildcard">
<em class="property">classmethod </em><code class="descname">CompleteWildcard</code><span class="sig-paren">(</span><em>namespace_context</em>, <em>attribute_groups</em>, <em>local_wildcard</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._AttributeWildcard_mixin.CompleteWildcard" title="Permalink to this definition">¶</a></dt>
<dd><p>Implement the algorithm as described the
specification&lt;<a class="reference external" href="http://www.w3.org/TR/xmlschema-1/#declare-type">http://www.w3.org/TR/xmlschema-1/#declare-type</a>&gt;.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>namespace_context</strong> &#8211; The <code class="xref py py-obj docutils literal"><span class="pre">pyxb.namespace.NamespaceContext</span></code> to be</td>
</tr>
</tbody>
</table>
<p>associated with any created <a class="reference internal" href="#pyxb.xmlschema.structures.Wildcard" title="pyxb.xmlschema.structures.Wildcard"><code class="xref py py-obj docutils literal"><span class="pre">Wildcard</span></code></a> instance
:param attribute_groups: A list of <a class="reference internal" href="#pyxb.xmlschema.structures.AttributeGroupDefinition" title="pyxb.xmlschema.structures.AttributeGroupDefinition"><code class="xref py py-obj docutils literal"><span class="pre">AttributeGroupDefinition</span></code></a> instances
:param local_wildcard: A <a class="reference internal" href="#pyxb.xmlschema.structures.Wildcard" title="pyxb.xmlschema.structures.Wildcard"><code class="xref py py-obj docutils literal"><span class="pre">Wildcard</span></code></a> instance computed from a relevant
XMLSchema <code class="xref py py-obj docutils literal"><span class="pre">anyAttribute</span></code> element, or <code class="xref py py-obj docutils literal"><span class="pre">None</span></code> if no attribute wildcard
is relevant</p>
</dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._AttributeWildcard_mixin._AttributeWildcard_mixin__attributeWildcard">
<code class="descname">_AttributeWildcard_mixin__attributeWildcard</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._AttributeWildcard_mixin._AttributeWildcard_mixin__attributeWildcard" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._AttributeWildcard_mixin._attributeRelevantChildren">
<code class="descname">_attributeRelevantChildren</code><span class="sig-paren">(</span><em>node_list</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._AttributeWildcard_mixin._attributeRelevantChildren" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the nodes that are relevant for attribute processing.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>node_list</strong> &#8211; A sequence of nodes found in a definition content</td>
</tr>
</tbody>
</table>
<p>information item.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">A tuple <code class="xref py py-obj docutils literal"><span class="pre">(</span> <span class="pre">attributes,</span> <span class="pre">attributeGroups,</span> <span class="pre">attributeWildcard)</span></code></td>
</tr>
</tbody>
</table>
<p>where <code class="xref py py-obj docutils literal"><span class="pre">attributes</span></code> is the subsequence of <code class="xref py py-obj docutils literal"><span class="pre">node_list</span></code> that are
XMLSchema <code class="xref py py-obj docutils literal"><span class="pre">attribute</span></code> nodes; <code class="xref py py-obj docutils literal"><span class="pre">attributeGroups</span></code> is analogous; and
<a class="reference internal" href="#pyxb.xmlschema.structures._AttributeWildcard_mixin.attributeWildcard" title="pyxb.xmlschema.structures._AttributeWildcard_mixin.attributeWildcard"><code class="xref py py-obj docutils literal"><span class="pre">attributeWildcard</span></code></a> is a single DOM node with XMLSchema name
<code class="xref py py-obj docutils literal"><span class="pre">anyAttribute</span></code> (or <code class="xref py py-obj docutils literal"><span class="pre">None</span></code>, if no such node is present in the list).</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Raises:</th><td class="field-body"><strong>pyxb.SchemaValidationError</strong> &#8211; An <code class="xref py py-obj docutils literal"><span class="pre">attributeGroup</span></code> node is</td>
</tr>
</tbody>
</table>
<p>present but does not have the required <code class="xref py py-obj docutils literal"><span class="pre">ref</span></code> attribute.
:raise pyxb.SchemaValidationError: Multiple <code class="xref py py-obj docutils literal"><span class="pre">anyAttribute</span></code> nodes are
identified.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._AttributeWildcard_mixin._setAttributeWildcard">
<code class="descname">_setAttributeWildcard</code><span class="sig-paren">(</span><em>attribute_wildcard</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._AttributeWildcard_mixin._setAttributeWildcard" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the attribute wildcard property for this instance.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._AttributeWildcard_mixin.attributeWildcard">
<code class="descname">attributeWildcard</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._AttributeWildcard_mixin.attributeWildcard" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the <a class="reference internal" href="#pyxb.xmlschema.structures.Wildcard" title="pyxb.xmlschema.structures.Wildcard"><code class="xref py py-obj docutils literal"><span class="pre">Wildcard</span></code></a> component associated with attributes of this
instance, or <code class="xref py py-obj docutils literal"><span class="pre">None</span></code> if attribute wildcards are not present in the
instance.</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures._ImportElementInformationItem">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">_ImportElementInformationItem</code><span class="sig-paren">(</span><em>importing_schema</em>, <em>node</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ImportElementInformationItem" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyxb.xmlschema.structures._Annotated_mixin" title="pyxb.xmlschema.structures._Annotated_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._Annotated_mixin</span></code></a></p>
<p>Data associated with an
import&lt;<a class="reference external" href="http://www.w3.org/TR/xmlschema-1/#composition-schemaImport">http://www.w3.org/TR/xmlschema-1/#composition-schemaImport</a>&gt;
statement within a schema.</p>
<dl class="attribute">
<dt id="pyxb.xmlschema.structures._ImportElementInformationItem._ImportElementInformationItem__id">
<code class="descname">_ImportElementInformationItem__id</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._ImportElementInformationItem._ImportElementInformationItem__id" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._ImportElementInformationItem._ImportElementInformationItem__namespace">
<code class="descname">_ImportElementInformationItem__namespace</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._ImportElementInformationItem._ImportElementInformationItem__namespace" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._ImportElementInformationItem._ImportElementInformationItem__prefix">
<code class="descname">_ImportElementInformationItem__prefix</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._ImportElementInformationItem._ImportElementInformationItem__prefix" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._ImportElementInformationItem._ImportElementInformationItem__schema">
<code class="descname">_ImportElementInformationItem__schema</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._ImportElementInformationItem._ImportElementInformationItem__schema" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._ImportElementInformationItem._ImportElementInformationItem__schemaLocation">
<code class="descname">_ImportElementInformationItem__schemaLocation</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._ImportElementInformationItem._ImportElementInformationItem__schemaLocation" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._ImportElementInformationItem.id">
<code class="descname">id</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ImportElementInformationItem.id" title="Permalink to this definition">¶</a></dt>
<dd><p>The value of the <a class="reference internal" href="#pyxb.xmlschema.structures._ImportElementInformationItem.id" title="pyxb.xmlschema.structures._ImportElementInformationItem.id"><code class="xref py py-obj docutils literal"><span class="pre">id</span></code></a> attribute from the import statement.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._ImportElementInformationItem.namespace">
<code class="descname">namespace</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ImportElementInformationItem.namespace" title="Permalink to this definition">¶</a></dt>
<dd><p>The <a class="reference internal" href="pyxb.namespace.html#pyxb.namespace.Namespace" title="pyxb.namespace.Namespace"><code class="xref py py-obj docutils literal"><span class="pre">pyxb.namespace.Namespace</span></code></a> instance corresponding to the value
of the <a class="reference internal" href="#pyxb.xmlschema.structures._ImportElementInformationItem.namespace" title="pyxb.xmlschema.structures._ImportElementInformationItem.namespace"><code class="xref py py-obj docutils literal"><span class="pre">namespace</span></code></a> attribute from the import statement.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._ImportElementInformationItem.prefix">
<code class="descname">prefix</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ImportElementInformationItem.prefix" title="Permalink to this definition">¶</a></dt>
<dd><p>The prefix from a namespace declaration for <a class="reference internal" href="#pyxb.xmlschema.structures._ImportElementInformationItem.namespace" title="pyxb.xmlschema.structures._ImportElementInformationItem.namespace"><code class="xref py py-obj docutils literal"><span class="pre">namespace</span></code></a> that was
active in the context of the import element, or <code class="xref py py-obj docutils literal"><span class="pre">None</span></code> if there was
no relevant namespace declaration in scope at that point.</p>
<p>This is propagated to be used as the default prefix for the
corresponding namespace if no prefix had been assigned.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._ImportElementInformationItem.schema">
<code class="descname">schema</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ImportElementInformationItem.schema" title="Permalink to this definition">¶</a></dt>
<dd><p>The <a class="reference internal" href="#pyxb.xmlschema.structures.Schema" title="pyxb.xmlschema.structures.Schema"><code class="xref py py-obj docutils literal"><span class="pre">Schema</span></code></a> instance corresponding to the imported schema, if
available.</p>
<p>Normally <code class="xref py py-obj docutils literal"><span class="pre">import</span></code> statements will be fulfilled by loading components
from a <code class="xref py py-obj docutils literal"><span class="pre">namespace</span> <span class="pre">archive</span></code> in which
the corresponding namespace is marked as public.  Where there are
cycles in the namespace dependency graph, or the schema for a
namespace are associated with a restricted profile of another
namespace, there may be no such archive and instead the components are
obtained using this schema.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._ImportElementInformationItem.schemaLocation">
<code class="descname">schemaLocation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ImportElementInformationItem.schemaLocation" title="Permalink to this definition">¶</a></dt>
<dd><p>The value of the <a class="reference internal" href="#pyxb.xmlschema.structures._ImportElementInformationItem.schemaLocation" title="pyxb.xmlschema.structures._ImportElementInformationItem.schemaLocation"><code class="xref py py-obj docutils literal"><span class="pre">schemaLocation</span></code></a> attribute from the import
statement, normalized relative to the location of the importing
schema.</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">_NamedComponent_mixin</code><span class="sig-paren">(</span><em>*args</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="pyxb.utils.html#pyxb.utils.utility.PrivateTransient_mixin" title="pyxb.utils.utility.PrivateTransient_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.utils.utility.PrivateTransient_mixin</span></code></a>, <a class="reference internal" href="pyxb.html#pyxb.cscRoot" title="pyxb.cscRoot"><code class="xref py py-class docutils literal"><span class="pre">pyxb.cscRoot</span></code></a></p>
<p>Mix-in to hold the name and targetNamespace of a component.</p>
<p>The name may be None, indicating an anonymous component.  The
targetNamespace is never None, though it could be an empty namespace.  The
name and targetNamespace values are immutable after creation.</p>
<p>This class overrides the pickling behavior: when pickling a Namespace,
objects that do not belong to that namespace are pickled as references,
not as values.  This ensures the uniqueness of objects when multiple
namespace definitions are pre-loaded.</p>
<p>This class must follow <a class="reference internal" href="#pyxb.xmlschema.structures._SchemaComponent_mixin" title="pyxb.xmlschema.structures._SchemaComponent_mixin"><code class="xref py py-obj docutils literal"><span class="pre">_SchemaComponent_mixin</span></code></a> in the MRO.</p>
<dl class="attribute">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin._NamedComponent_mixin__AnonymousCategory">
<code class="descname">_NamedComponent_mixin__AnonymousCategory</code><em class="property"> = '_anonymousTypeDefinition'</em><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin._NamedComponent_mixin__AnonymousCategory" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin._NamedComponent_mixin__PrivateTransient">
<code class="descname">_NamedComponent_mixin__PrivateTransient</code><em class="property"> = set(['schema'])</em><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin._NamedComponent_mixin__PrivateTransient" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin._NamedComponent_mixin__anonymousName">
<code class="descname">_NamedComponent_mixin__anonymousName</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin._NamedComponent_mixin__anonymousName" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin._NamedComponent_mixin__bindingNamespace">
<code class="descname">_NamedComponent_mixin__bindingNamespace</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin._NamedComponent_mixin__bindingNamespace" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin._NamedComponent_mixin__name">
<code class="descname">_NamedComponent_mixin__name</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin._NamedComponent_mixin__name" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin._NamedComponent_mixin__needAnonymousSupport">
<code class="descname">_NamedComponent_mixin__needAnonymousSupport</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin._NamedComponent_mixin__needAnonymousSupport" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin._NamedComponent_mixin__pickleAsReference">
<code class="descname">_NamedComponent_mixin__pickleAsReference</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin._NamedComponent_mixin__pickleAsReference" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin._NamedComponent_mixin__schema">
<code class="descname">_NamedComponent_mixin__schema</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin._NamedComponent_mixin__schema" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin._NamedComponent_mixin__targetNamespace">
<code class="descname">_NamedComponent_mixin__targetNamespace</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin._NamedComponent_mixin__targetNamespace" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin._NamedComponent_mixin__templateMap">
<code class="descname">_NamedComponent_mixin__templateMap</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin._NamedComponent_mixin__templateMap" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin._anonymousName">
<code class="descname">_anonymousName</code><span class="sig-paren">(</span><em>namespace=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin._anonymousName" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin._bindsInNamespace">
<code class="descname">_bindsInNamespace</code><span class="sig-paren">(</span><em>ns</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin._bindsInNamespace" title="Permalink to this definition">¶</a></dt>
<dd><p>Return <code class="xref py py-obj docutils literal"><span class="pre">True</span></code> if the binding for this component should be
generated in the given namespace.</p>
<p>This is the case when the component is in the given namespace.  It&#8217;s
also the case when the component has no associated namespace (but not
an absent namespace).  Be aware that cross-namespace inheritance means
you will get references to elements in another namespace when
generating code for a subclass; that&#8217;s fine, and those references
should not be generated locally.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin._picklesInArchive">
<code class="descname">_picklesInArchive</code><span class="sig-paren">(</span><em>archive</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin._picklesInArchive" title="Permalink to this definition">¶</a></dt>
<dd><p>Return <code class="xref py py-obj docutils literal"><span class="pre">True</span></code> if this component should be pickled by value in the
given namespace.</p>
<p>When pickling, a declaration component is considered to belong to the
namespace if it has a local scope which belongs to the namespace.  In
that case, the declaration is a clone of something that does not
belong to the namespace; but the clone does.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">See:</th><td class="field-body"><a class="reference internal" href="#pyxb.xmlschema.structures._NamedComponent_mixin._bindsInNamespace" title="pyxb.xmlschema.structures._NamedComponent_mixin._bindsInNamespace"><code class="xref py py-obj docutils literal"><span class="pre">_bindsInNamespace</span></code></a></td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><code class="xref py py-obj docutils literal"><span class="pre">False</span></code> if the component should be pickled by reference.</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin._picklingReference">
<code class="descname">_picklingReference</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin._picklingReference" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin._prepareForArchive_csc">
<code class="descname">_prepareForArchive_csc</code><span class="sig-paren">(</span><em>module_record</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin._prepareForArchive_csc" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin._resetClone_csc">
<code class="descname">_resetClone_csc</code><span class="sig-paren">(</span><em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin._resetClone_csc" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin._schema">
<code class="descname">_schema</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin._schema" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the schema component from which this component was defined.</p>
<p>Needed so we can distinguish components that came from different
locations, since that imposes an external order dependency on them and
on cross-namespace inclusions.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Note:</th><td class="field-body">This characteristic is removed when the component is stored in</td>
</tr>
</tbody>
</table>
<p>a namespace archive.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin._setAnonymousName">
<code class="descname">_setAnonymousName</code><span class="sig-paren">(</span><em>namespace</em>, <em>unique_id=None</em>, <em>anon_name=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin._setAnonymousName" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin._setBindingNamespace">
<code class="descname">_setBindingNamespace</code><span class="sig-paren">(</span><em>namespace</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin._setBindingNamespace" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin._templateMap">
<code class="descname">_templateMap</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin._templateMap" title="Permalink to this definition">¶</a></dt>
<dd><p>A map from template keys to component-specific values.</p>
<p>This is used in code generation to maintain unique names for accessor
methods, identifiers, keys, and other characteristics associated with
the code generated in support of the binding for this component.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin.bindingNamespace">
<code class="descname">bindingNamespace</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin.bindingNamespace" title="Permalink to this definition">¶</a></dt>
<dd><p>The namespace in which this component&#8217;s binding is placed.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin.expandedName">
<code class="descname">expandedName</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin.expandedName" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the <a class="reference internal" href="pyxb.namespace.html#pyxb.namespace.ExpandedName" title="pyxb.namespace.ExpandedName"><code class="xref py py-obj docutils literal"><span class="pre">pyxb.namespace.ExpandedName</span></code></a> of this object.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin.isAnonymous">
<code class="descname">isAnonymous</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin.isAnonymous" title="Permalink to this definition">¶</a></dt>
<dd><p>Return true iff this instance is locally scoped (has no name).</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin.isDerivationConsistent">
<code class="descname">isDerivationConsistent</code><span class="sig-paren">(</span><em>other</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin.isDerivationConsistent" title="Permalink to this definition">¶</a></dt>
<dd><p>Return True iff this type can serve as a restriction of the other
type for the purposes of element consistency&lt;<a class="reference external" href="http://www.w3.org/TR/xmlschema-1/#cos-element-consistent">http://www.w3.org/TR/xmlschema-1/#cos-element-consistent</a>&gt;.</p>
<p>It appears that name equivalence is normally used; two complex type
definitions with identical structures are not considered equivalent
(at least, per XMLSpy).  However, some OpenGIS standards demonstrate
that derivation by restriction from the other type is also acceptable.
That opens a whole can of worms; see
<a class="reference internal" href="#pyxb.xmlschema.structures.ElementDeclaration.isAdaptable" title="pyxb.xmlschema.structures.ElementDeclaration.isAdaptable"><code class="xref py py-obj docutils literal"><span class="pre">ElementDeclaration.isAdaptable</span></code></a>.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin.isNameEquivalent">
<code class="descname">isNameEquivalent</code><span class="sig-paren">(</span><em>other</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin.isNameEquivalent" title="Permalink to this definition">¶</a></dt>
<dd><p>Return true iff this and the other component share the same name and target namespace.</p>
<p>Anonymous components are inherently name inequivalent, except to
themselves.  This relies on equivalence as defined for
pyxb.namespace.ExpandedName, for which None is not equivalent to any
non-anonymous name.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin.isTypeEquivalent">
<code class="descname">isTypeEquivalent</code><span class="sig-paren">(</span><em>other</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin.isTypeEquivalent" title="Permalink to this definition">¶</a></dt>
<dd><p>Return True iff this and the other component have matching types.</p>
<p>It appears that name equivalence is used; two complex type definitions
with identical structures are not considered equivalent (at least, per
XMLSpy).</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin.name">
<code class="descname">name</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin.name" title="Permalink to this definition">¶</a></dt>
<dd><p>Name of the component within its scope or namespace.</p>
<p>This is an NCName.  The value isNone if the component is
anonymous.  The attribute is immutable after the component is
created creation.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin.targetNamespace">
<code class="descname">targetNamespace</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin.targetNamespace" title="Permalink to this definition">¶</a></dt>
<dd><p>The targetNamespace of a component.</p>
<p>This is None, or a reference to a Namespace in which the
component is declared (either as a global or local to one of
the namespace&#8217;s complex type definitions).  This is immutable
after creation.</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures._ParticleTree_mixin">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">_ParticleTree_mixin</code><span class="sig-paren">(</span><em>*args</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ParticleTree_mixin" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="pyxb.html#pyxb.cscRoot" title="pyxb.cscRoot"><code class="xref py py-class docutils literal"><span class="pre">pyxb.cscRoot</span></code></a></p>
<dl class="method">
<dt id="pyxb.xmlschema.structures._ParticleTree_mixin._walkParticleTree">
<code class="descname">_walkParticleTree</code><span class="sig-paren">(</span><em>visit</em>, <em>arg</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ParticleTree_mixin._walkParticleTree" title="Permalink to this definition">¶</a></dt>
<dd><p>Mix-in supporting walks of <a class="reference internal" href="#pyxb.xmlschema.structures.Particle" title="pyxb.xmlschema.structures.Particle"><code class="xref py py-obj docutils literal"><span class="pre">Particle</span></code></a> trees.</p>
<p>This invokes a provided function on each node in a tree defining the
content model of a particle, both on the way down the tree and on the
way back up.  A standard implementation would be:</p>
<div class="highlight-default"><div class="highlight"><pre><span></span><span class="k">def</span> <span class="nf">_walkParticleTree</span> <span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">visit</span><span class="p">,</span> <span class="n">arg</span><span class="p">):</span>
  <span class="n">visit</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="kc">True</span><span class="p">,</span> <span class="n">arg</span><span class="p">)</span>
  <span class="bp">self</span><span class="o">.</span><span class="n">__term</span><span class="o">.</span><span class="n">walkParticleTree</span><span class="p">(</span><span class="n">visit</span><span class="p">,</span> <span class="n">arg</span><span class="p">)</span>
  <span class="n">visit</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="kc">False</span><span class="p">,</span> <span class="n">arg</span><span class="p">)</span>
</pre></div>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>visit</strong> &#8211; A callable with parameters <code class="xref py py-obj docutils literal"><span class="pre">node,</span> <span class="pre">entering,</span> <span class="pre">arg</span></code> where</td>
</tr>
</tbody>
</table>
<p><code class="xref py py-obj docutils literal"><span class="pre">node</span></code> is an instance of a class inheriting <a class="reference internal" href="#pyxb.xmlschema.structures._ParticleTree_mixin" title="pyxb.xmlschema.structures._ParticleTree_mixin"><code class="xref py py-obj docutils literal"><span class="pre">_ParticleTree_mixin</span></code></a>,
<code class="xref py py-obj docutils literal"><span class="pre">entering</span></code> indicates tree transition status, and <code class="xref py py-obj docutils literal"><span class="pre">arg</span></code> is a
caller-provided state parameter.  <code class="xref py py-obj docutils literal"><span class="pre">entering</span></code> is <code class="xref py py-obj docutils literal"><span class="pre">True</span></code> if <code class="xref py py-obj docutils literal"><span class="pre">node</span></code>
has particle children and the call is before they are visited;
<code class="xref py py-obj docutils literal"><span class="pre">None</span></code> if the <code class="xref py py-obj docutils literal"><span class="pre">node</span></code> has no particle children; and <code class="xref py py-obj docutils literal"><span class="pre">False</span></code> if
<code class="xref py py-obj docutils literal"><span class="pre">node</span></code> has particle children and they have been visited.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>arg</strong> &#8211; The caller-provided state parameter to be passed along</td>
</tr>
</tbody>
</table>
<p>with the node and entry/exit status in the invocation of <code class="xref py py-obj docutils literal"><span class="pre">visit</span></code>.</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures._PickledAnonymousReference">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">_PickledAnonymousReference</code><span class="sig-paren">(</span><em>namespace</em>, <em>anonymous_name</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._PickledAnonymousReference" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p>
<p>A helper that encapsulates a reference to an anonymous type in a different namespace.</p>
<p>Normally references to components in other namespaces can be made using
the component&#8217;s name.  This is not the case when a namespace derives from
a base type in another namespace and needs to reference the attribute or
element declarations held in that type.  If these declarations are local
to the base complex type, they cannot be identified by name.  This class
provides a pickleable representation for them that behaves rather like an
<a class="reference internal" href="pyxb.namespace.html#pyxb.namespace.ExpandedName" title="pyxb.namespace.ExpandedName"><code class="xref py py-obj docutils literal"><span class="pre">pyxb.namespace.ExpandedName</span></code></a> instance in that it can be used to
dereference various component types.</p>
<dl class="classmethod">
<dt id="pyxb.xmlschema.structures._PickledAnonymousReference.FromPickled">
<em class="property">classmethod </em><code class="descname">FromPickled</code><span class="sig-paren">(</span><em>object_reference</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._PickledAnonymousReference.FromPickled" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the component referred to by the provided reference,
regardless of whether it is a normal or anonymous reference.</p>
</dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._PickledAnonymousReference._PickledAnonymousReference__AnonymousCategory">
<code class="descname">_PickledAnonymousReference__AnonymousCategory</code><em class="property"> = '_anonymousTypeDefinition'</em><a class="headerlink" href="#pyxb.xmlschema.structures._PickledAnonymousReference._PickledAnonymousReference__AnonymousCategory" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._PickledAnonymousReference._PickledAnonymousReference__anonymousName">
<code class="descname">_PickledAnonymousReference__anonymousName</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._PickledAnonymousReference._PickledAnonymousReference__anonymousName" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._PickledAnonymousReference._PickledAnonymousReference__lookupObject">
<code class="descname">_PickledAnonymousReference__lookupObject</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._PickledAnonymousReference._PickledAnonymousReference__lookupObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._PickledAnonymousReference._PickledAnonymousReference__namespace">
<code class="descname">_PickledAnonymousReference__namespace</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._PickledAnonymousReference._PickledAnonymousReference__namespace" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._PickledAnonymousReference.anonymousName">
<code class="descname">anonymousName</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._PickledAnonymousReference.anonymousName" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._PickledAnonymousReference.attributeDeclaration">
<code class="descname">attributeDeclaration</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._PickledAnonymousReference.attributeDeclaration" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._PickledAnonymousReference.attributeGroupDefinition">
<code class="descname">attributeGroupDefinition</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._PickledAnonymousReference.attributeGroupDefinition" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._PickledAnonymousReference.elementDeclaration">
<code class="descname">elementDeclaration</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._PickledAnonymousReference.elementDeclaration" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._PickledAnonymousReference.identityConstraintDefinition">
<code class="descname">identityConstraintDefinition</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._PickledAnonymousReference.identityConstraintDefinition" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._PickledAnonymousReference.modelGroupDefinition">
<code class="descname">modelGroupDefinition</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._PickledAnonymousReference.modelGroupDefinition" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._PickledAnonymousReference.namespace">
<code class="descname">namespace</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._PickledAnonymousReference.namespace" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._PickledAnonymousReference.notationDeclaration">
<code class="descname">notationDeclaration</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._PickledAnonymousReference.notationDeclaration" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._PickledAnonymousReference.typeDefinition">
<code class="descname">typeDefinition</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._PickledAnonymousReference.typeDefinition" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._PickledAnonymousReference.validateComponentModel">
<code class="descname">validateComponentModel</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._PickledAnonymousReference.validateComponentModel" title="Permalink to this definition">¶</a></dt>
<dd><p>Forward to the associated namespace.</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">_SchemaComponent_mixin</code><span class="sig-paren">(</span><em>*args</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="pyxb.namespace.html#pyxb.namespace._ComponentDependency_mixin" title="pyxb.namespace._ComponentDependency_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.namespace._ComponentDependency_mixin</span></code></a>, <a class="reference internal" href="pyxb.namespace.html#pyxb.namespace.archive._ArchivableObject_mixin" title="pyxb.namespace.archive._ArchivableObject_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.namespace.archive._ArchivableObject_mixin</span></code></a>, <a class="reference internal" href="pyxb.utils.html#pyxb.utils.utility.PrivateTransient_mixin" title="pyxb.utils.utility.PrivateTransient_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.utils.utility.PrivateTransient_mixin</span></code></a>, <a class="reference internal" href="pyxb.utils.html#pyxb.utils.utility.Locatable_mixin" title="pyxb.utils.utility.Locatable_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.utils.utility.Locatable_mixin</span></code></a></p>
<p>A mix-in that marks the class as representing a schema component.</p>
<p>This exists so that we can determine the owning schema for any
component we encounter.  This is normally done at construction
time by passing a <code class="xref py py-obj docutils literal"><span class="pre">schema=val</span></code> parameter to the constructor.</p>
<dl class="attribute">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._SchemaComponent_mixin__PrivateTransient">
<code class="descname">_SchemaComponent_mixin__PrivateTransient</code><em class="property"> = set(['ownedComponent', 'clones', 'namespaceContext', 'owner', 'facStateSortKey', 'cloneSource'])</em><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._SchemaComponent_mixin__PrivateTransient" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._SchemaComponent_mixin__cloneSource">
<code class="descname">_SchemaComponent_mixin__cloneSource</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._SchemaComponent_mixin__cloneSource" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._SchemaComponent_mixin__clones">
<code class="descname">_SchemaComponent_mixin__clones</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._SchemaComponent_mixin__clones" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._SchemaComponent_mixin__facStateSortKey">
<code class="descname">_SchemaComponent_mixin__facStateSortKey</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._SchemaComponent_mixin__facStateSortKey" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._SchemaComponent_mixin__nameInBinding">
<code class="descname">_SchemaComponent_mixin__nameInBinding</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._SchemaComponent_mixin__nameInBinding" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._SchemaComponent_mixin__namespaceContext">
<code class="descname">_SchemaComponent_mixin__namespaceContext</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._SchemaComponent_mixin__namespaceContext" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._SchemaComponent_mixin__ownedComponents">
<code class="descname">_SchemaComponent_mixin__ownedComponents</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._SchemaComponent_mixin__ownedComponents" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._SchemaComponent_mixin__owner">
<code class="descname">_SchemaComponent_mixin__owner</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._SchemaComponent_mixin__owner" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._SchemaComponent_mixin__schemaOrderSortKey">
<code class="descname">_SchemaComponent_mixin__schemaOrderSortKey</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._SchemaComponent_mixin__schemaOrderSortKey" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._SchemaComponent_mixin__scope">
<code class="descname">_SchemaComponent_mixin__scope</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._SchemaComponent_mixin__scope" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._SchemaComponent_mixin__uniqueNameInBinding">
<code class="descname">_SchemaComponent_mixin__uniqueNameInBinding</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._SchemaComponent_mixin__uniqueNameInBinding" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._clearNamespaceContext">
<code class="descname">_clearNamespaceContext</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._clearNamespaceContext" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._clone">
<code class="descname">_clone</code><span class="sig-paren">(</span><em>owner</em>, <em>origin</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._clone" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a copy of this instance suitable for adoption by some other
component.</p>
<p>This is used for creating a locally-scoped declaration from a
declaration in a named model or attribute group.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._cloneSource">
<code class="descname">_cloneSource</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._cloneSource" title="Permalink to this definition">¶</a></dt>
<dd><p>The source component from which this is a clone.</p>
<p>Returns <code class="xref py py-obj docutils literal"><span class="pre">None</span></code> if this is not a clone.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._clones">
<code class="descname">_clones</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._clones" title="Permalink to this definition">¶</a></dt>
<dd><p>The set of instances cloned from this component.</p>
<p>Returns None if no instances have been cloned from this.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._dissociateFromNamespace">
<code class="descname">_dissociateFromNamespace</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._dissociateFromNamespace" title="Permalink to this definition">¶</a></dt>
<dd><p>Dissociate this component from its owning namespace.</p>
<p>This should only be done whwen there are no other references to the
component, and you want to ensure it does not appear in the model.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._namespaceContext">
<code class="descname">_namespaceContext</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._namespaceContext" title="Permalink to this definition">¶</a></dt>
<dd><p>The namespace context for this schema.</p>
<p>This defines where it looks things up, where it puts things it
creates, the in-scope namespace declarations, etc.  Must be defined
for anything that does any sort of QName interpretation.  The value is
generally a reference to a namespace context associated with the DOM
element node corresponding to this component.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._resetClone_csc">
<code class="descname">_resetClone_csc</code><span class="sig-paren">(</span><em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._resetClone_csc" title="Permalink to this definition">¶</a></dt>
<dd><p>Virtual method to clear whatever attributes should be reset in a
cloned component.</p>
<p>This instance should be an instance created by copy.copy().</p>
<p>The implementation in this class clears the owner and dependency
relations.</p>
<p>Returns <code class="xref py py-obj docutils literal"><span class="pre">self</span></code>.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._scope">
<code class="descname">_scope</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._scope" title="Permalink to this definition">¶</a></dt>
<dd><p>The context into which declarations in or subordinate to this node are placed.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._scopeIsGlobal">
<code class="descname">_scopeIsGlobal</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._scopeIsGlobal" title="Permalink to this definition">¶</a></dt>
<dd><p>Return True iff this component has global scope.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._scopeIsIndeterminate">
<code class="descname">_scopeIsIndeterminate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._scopeIsIndeterminate" title="Permalink to this definition">¶</a></dt>
<dd><p>Return True iff nobody has defined a scope for this node.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._setFacStateSortKey">
<code class="descname">_setFacStateSortKey</code><span class="sig-paren">(</span><em>key</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._setFacStateSortKey" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the automata state sort key.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>key</strong> &#8211; the ordinal used for sorting.</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._setOwner">
<code class="descname">_setOwner</code><span class="sig-paren">(</span><em>owner</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._setOwner" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the owner of this component.</p>
<p>If <a class="reference internal" href="#pyxb.xmlschema.structures._SchemaComponent_mixin.owner" title="pyxb.xmlschema.structures._SchemaComponent_mixin.owner"><code class="xref py py-obj docutils literal"><span class="pre">owner</span></code></a> is <code class="xref py py-obj docutils literal"><span class="pre">None</span></code>, this has no effect.  Otherwise, the
component&#8217;s current owner must be either <code class="xref py py-obj docutils literal"><span class="pre">None</span></code> or the same as the
input <a class="reference internal" href="#pyxb.xmlschema.structures._SchemaComponent_mixin.owner" title="pyxb.xmlschema.structures._SchemaComponent_mixin.owner"><code class="xref py py-obj docutils literal"><span class="pre">owner</span></code></a>.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._setScope">
<code class="descname">_setScope</code><span class="sig-paren">(</span><em>ctd</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._setScope" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the scope of this instance after construction.</p>
<p>This should only be invoked on cloned declarations being incorporated
into a complex type definition.  Note that the source of the clone may
be any scope: indeterminate if from a model (attribute) group
definition; global if a reference to a global component; or ctd if
inherited from a complex base type.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._updateFromOther_csc">
<code class="descname">_updateFromOther_csc</code><span class="sig-paren">(</span><em>other</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._updateFromOther_csc" title="Permalink to this definition">¶</a></dt>
<dd><p>Override fields in this instance with those from the other.</p>
<p>Post-extended; description in leaf implementation in
ComplexTypeDefinition and SimpleTypeDefinition.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin.bestNCName">
<code class="descname">bestNCName</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin.bestNCName" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the name of this component, as best it can be determined.</p>
<p>For example, ModelGroup instances will be named by their
ModelGroupDefinition, if available.  Returns None if no name can be
inferred.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin.facStateSortKey">
<code class="descname">facStateSortKey</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin.facStateSortKey" title="Permalink to this definition">¶</a></dt>
<dd><p>A sort key matching preferred content order.</p>
<p>This is an ordinal (integer) used to control which candidate
transitions are attempted first when testing symbols against the
content automaton state.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Note:</th><td class="field-body">The value associated with a node (especially a <a class="reference internal" href="#pyxb.xmlschema.structures.ModelGroup" title="pyxb.xmlschema.structures.ModelGroup"><code class="xref py py-obj docutils literal"><span class="pre">ModelGroup</span></code></a> or</td>
</tr>
</tbody>
</table>
<p><a class="reference internal" href="#pyxb.xmlschema.structures.Particle" title="pyxb.xmlschema.structures.Particle"><code class="xref py py-obj docutils literal"><span class="pre">Particle</span></code></a> will be different for different complex types, and is
valid only during generation of the automata code for a given type.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin.hasBinding">
<code class="descname">hasBinding</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin.hasBinding" title="Permalink to this definition">¶</a></dt>
<dd><p>Return <code class="xref py py-obj docutils literal"><span class="pre">True</span></code> iff this is a component which has a user-visible
Python construct which serves as its binding.</p>
<p>Type definitions have classes as their bindings.  Global element
declarations have instances of <a class="reference internal" href="pyxb.binding.html#pyxb.binding.basis.element" title="pyxb.binding.basis.element"><code class="xref py py-obj docutils literal"><span class="pre">pyxb.binding.basis.element</span></code></a> as their
bindings.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin.isTypeDefinition">
<code class="descname">isTypeDefinition</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin.isTypeDefinition" title="Permalink to this definition">¶</a></dt>
<dd><p>Return True iff this component is a simple or complex type
definition.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin.isUrTypeDefinition">
<code class="descname">isUrTypeDefinition</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin.isUrTypeDefinition" title="Permalink to this definition">¶</a></dt>
<dd><p>Return True iff this component is a simple or complex type
definition.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin.nameInBinding">
<code class="descname">nameInBinding</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin.nameInBinding" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the name by which this component is known in the binding module.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Note:</th><td class="field-body">To support builtin datatypes, type definitions with an</td>
</tr>
</tbody>
</table>
<p>associated <a class="reference internal" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.pythonSupport" title="pyxb.xmlschema.structures.SimpleTypeDefinition.pythonSupport"><code class="xref py py-obj docutils literal"><span class="pre">pythonSupport</span></code></a> class
initialize their binding name from the class name when the support
association is created.  As long as no built-in datatype conflicts
with a language keyword, this should be fine.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin.owner">
<code class="descname">owner</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin.owner" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin.schemaOrderSortKey">
<code class="descname">schemaOrderSortKey</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin.schemaOrderSortKey" title="Permalink to this definition">¶</a></dt>
<dd><p>A key to be used when sorting components for binding generation.</p>
<p>This is a tuple comprising the namespace URI, schema location, and
line and column of the component definition within the schema.  The
purpose is to ensure consistent order of binding components in
generated code, to simplify maintenance involving the generated
sources.</p>
<p>To support Python 3 values that are <code class="xref py py-obj docutils literal"><span class="pre">None</span></code> are replaced with the
default value for whatever type belongs in the corresponding
position: (uri:str, locbase:str, locline:int, loccol:int)</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin.setNameInBinding">
<code class="descname">setNameInBinding</code><span class="sig-paren">(</span><em>name_in_binding</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin.setNameInBinding" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the name by which this component shall be known in the binding module.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin.setUniqueNameInBinding">
<code class="descname">setUniqueNameInBinding</code><span class="sig-paren">(</span><em>unique_name</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin.setUniqueNameInBinding" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the name by which this component shall be known in the binding class.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin.uniqueNameInBinding">
<code class="descname">uniqueNameInBinding</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin.uniqueNameInBinding" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the name by which this component is known in the binding class.</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures._ScopedDeclaration_mixin">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">_ScopedDeclaration_mixin</code><span class="sig-paren">(</span><em>*args</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ScopedDeclaration_mixin" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="pyxb.html#pyxb.cscRoot" title="pyxb.cscRoot"><code class="xref py py-class docutils literal"><span class="pre">pyxb.cscRoot</span></code></a></p>
<p>Mix-in class for named components that have a scope.</p>
<p>Scope is important when doing cross-namespace inheritance,
e.g. extending or restricting a complex type definition that is
from a different namespace.  In this case, we will need to retain
a reference to the external component when the schema is
serialized.</p>
<p>This is done in the pickling process by including the scope when
pickling a component as a reference.  The scope is the
SCOPE_global if global; otherwise, it is a tuple containing the
external namespace URI and the NCName of the complex type
definition in that namespace.  We assume that the complex type
definition has global scope; otherwise, it should not have been
possible to extend or restrict it.  (Should this be untrue, there
are comments in the code about a possible solution.)</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Warning:</th><td class="field-body">This mix-in must follow <a class="reference internal" href="#pyxb.xmlschema.structures._NamedComponent_mixin" title="pyxb.xmlschema.structures._NamedComponent_mixin"><code class="xref py py-obj docutils literal"><span class="pre">_NamedComponent_mixin</span></code></a> in the <code class="xref py py-obj docutils literal"><span class="pre">mro</span></code>.</td>
</tr>
</tbody>
</table>
<dl class="classmethod">
<dt id="pyxb.xmlschema.structures._ScopedDeclaration_mixin.IsValidScope">
<em class="property">classmethod </em><code class="descname">IsValidScope</code><span class="sig-paren">(</span><em>value</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ScopedDeclaration_mixin.IsValidScope" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._ScopedDeclaration_mixin.SCOPE_global">
<code class="descname">SCOPE_global</code><em class="property"> = 'global'</em><a class="headerlink" href="#pyxb.xmlschema.structures._ScopedDeclaration_mixin.SCOPE_global" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures._ScopedDeclaration_mixin.ScopeIsGlobal">
<em class="property">classmethod </em><code class="descname">ScopeIsGlobal</code><span class="sig-paren">(</span><em>value</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ScopedDeclaration_mixin.ScopeIsGlobal" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures._ScopedDeclaration_mixin.ScopeIsIndeterminate">
<em class="property">classmethod </em><code class="descname">ScopeIsIndeterminate</code><span class="sig-paren">(</span><em>value</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ScopedDeclaration_mixin.ScopeIsIndeterminate" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._ScopedDeclaration_mixin.XSCOPE_indeterminate">
<code class="descname">XSCOPE_indeterminate</code><em class="property"> = 'indeterminate'</em><a class="headerlink" href="#pyxb.xmlschema.structures._ScopedDeclaration_mixin.XSCOPE_indeterminate" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._ScopedDeclaration_mixin._ScopedDeclaration_mixin__baseDeclaration">
<code class="descname">_ScopedDeclaration_mixin__baseDeclaration</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._ScopedDeclaration_mixin._ScopedDeclaration_mixin__baseDeclaration" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._ScopedDeclaration_mixin._ScopedDeclaration_mixin__overridesParentScope">
<code class="descname">_ScopedDeclaration_mixin__overridesParentScope</code><em class="property"> = False</em><a class="headerlink" href="#pyxb.xmlschema.structures._ScopedDeclaration_mixin._ScopedDeclaration_mixin__overridesParentScope" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._ScopedDeclaration_mixin._baseDeclaration">
<code class="descname">_baseDeclaration</code><span class="sig-paren">(</span><em>referenced_declaration</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ScopedDeclaration_mixin._baseDeclaration" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._ScopedDeclaration_mixin._overrideParentScope">
<code class="descname">_overrideParentScope</code><span class="sig-paren">(</span><em>value</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ScopedDeclaration_mixin._overrideParentScope" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._ScopedDeclaration_mixin._scopeIsCompatible">
<code class="descname">_scopeIsCompatible</code><span class="sig-paren">(</span><em>scope</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ScopedDeclaration_mixin._scopeIsCompatible" title="Permalink to this definition">¶</a></dt>
<dd><p>Return True if this scope currently assigned to this instance is compatible with the given scope.</p>
<p>If either scope is indeterminate, presume they will ultimately be
compatible.  Scopes that are equal are compatible, as is a local scope
if this already has a global scope.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._ScopedDeclaration_mixin.baseDeclaration">
<code class="descname">baseDeclaration</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ScopedDeclaration_mixin.baseDeclaration" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._ScopedDeclaration_mixin.overriddenDeclaration">
<code class="descname">overriddenDeclaration</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ScopedDeclaration_mixin.overriddenDeclaration" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._ScopedDeclaration_mixin.overridesParentScope">
<code class="descname">overridesParentScope</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ScopedDeclaration_mixin.overridesParentScope" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._ScopedDeclaration_mixin.scope">
<code class="descname">scope</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ScopedDeclaration_mixin.scope" title="Permalink to this definition">¶</a></dt>
<dd><p>The scope for the declaration.</p>
<p>Valid values are SCOPE_global, or a complex type definition.
A value of None means a non-global declaration that is not
owned by a complex type definition.  These can only appear in
attribute group definitions, model group definitions, and element
declarations.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Todo:</th><td class="field-body">For declarations in named model groups (viz., local</td>
</tr>
</tbody>
</table>
<p>elements that aren&#8217;t references), the scope needs to be set by
the owning complex type.</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures._SimpleUrTypeDefinition">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">_SimpleUrTypeDefinition</code><span class="sig-paren">(</span><em>*args</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SimpleUrTypeDefinition" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyxb.xmlschema.structures.SimpleTypeDefinition" title="pyxb.xmlschema.structures.SimpleTypeDefinition"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures.SimpleTypeDefinition</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._Singleton_mixin" title="pyxb.xmlschema.structures._Singleton_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._Singleton_mixin</span></code></a></p>
<p>Subclass ensures there is only one simple ur-type.</p>
<dl class="attribute">
<dt id="pyxb.xmlschema.structures._SimpleUrTypeDefinition.__SimpleUrTypeDefinition__singleton">
<code class="descname">__SimpleUrTypeDefinition__singleton</code><em class="property"> = &lt;pyxb.xmlschema.structures._SimpleUrTypeDefinition object&gt;</em><a class="headerlink" href="#pyxb.xmlschema.structures._SimpleUrTypeDefinition.__SimpleUrTypeDefinition__singleton" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures._Singleton_mixin">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">_Singleton_mixin</code><span class="sig-paren">(</span><em>*args</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._Singleton_mixin" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="pyxb.html#pyxb.cscRoot" title="pyxb.cscRoot"><code class="xref py py-class docutils literal"><span class="pre">pyxb.cscRoot</span></code></a></p>
<p>This class is a mix-in which guarantees that only one instance
of the class will be created.  It is used to ensure that the
ur-type instances are pointer-equivalent even when unpickling.
See ComplexTypeDefinition.UrTypeDefinition().</p>
</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures._UrTypeDefinition">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">_UrTypeDefinition</code><span class="sig-paren">(</span><em>*args</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._UrTypeDefinition" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyxb.xmlschema.structures.ComplexTypeDefinition" title="pyxb.xmlschema.structures.ComplexTypeDefinition"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures.ComplexTypeDefinition</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._Singleton_mixin" title="pyxb.xmlschema.structures._Singleton_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._Singleton_mixin</span></code></a></p>
<p>Subclass ensures there is only one ur-type.</p>
<dl class="attribute">
<dt id="pyxb.xmlschema.structures._UrTypeDefinition.__UrTypeDefinition__singleton">
<code class="descname">__UrTypeDefinition__singleton</code><em class="property"> = &lt;pyxb.xmlschema.structures._UrTypeDefinition object&gt;</em><a class="headerlink" href="#pyxb.xmlschema.structures._UrTypeDefinition.__UrTypeDefinition__singleton" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._UrTypeDefinition._resolve">
<code class="descname">_resolve</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._UrTypeDefinition._resolve" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._UrTypeDefinition.pythonSupport">
<code class="descname">pythonSupport</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._UrTypeDefinition.pythonSupport" title="Permalink to this definition">¶</a></dt>
<dd><p>The ur-type does have a Python class backing it up.</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures._ValueConstraint_mixin">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">_ValueConstraint_mixin</code><span class="sig-paren">(</span><em>*args</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ValueConstraint_mixin" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="pyxb.html#pyxb.cscRoot" title="pyxb.cscRoot"><code class="xref py py-class docutils literal"><span class="pre">pyxb.cscRoot</span></code></a></p>
<p>Mix-in indicating that the component contains a simple-type
value that may be constrained.</p>
<dl class="attribute">
<dt id="pyxb.xmlschema.structures._ValueConstraint_mixin.VC_default">
<code class="descname">VC_default</code><em class="property"> = 1</em><a class="headerlink" href="#pyxb.xmlschema.structures._ValueConstraint_mixin.VC_default" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._ValueConstraint_mixin.VC_fixed">
<code class="descname">VC_fixed</code><em class="property"> = 2</em><a class="headerlink" href="#pyxb.xmlschema.structures._ValueConstraint_mixin.VC_fixed" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._ValueConstraint_mixin.VC_na">
<code class="descname">VC_na</code><em class="property"> = 0</em><a class="headerlink" href="#pyxb.xmlschema.structures._ValueConstraint_mixin.VC_na" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._ValueConstraint_mixin._ValueConstraint_mixin__valueConstraint">
<code class="descname">_ValueConstraint_mixin__valueConstraint</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._ValueConstraint_mixin._ValueConstraint_mixin__valueConstraint" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._ValueConstraint_mixin._valueConstraintFromDOM">
<code class="descname">_valueConstraintFromDOM</code><span class="sig-paren">(</span><em>node</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ValueConstraint_mixin._valueConstraintFromDOM" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._ValueConstraint_mixin.default">
<code class="descname">default</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ValueConstraint_mixin.default" title="Permalink to this definition">¶</a></dt>
<dd><p>If this instance constraints a default value, return that
value; otherwise return None.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._ValueConstraint_mixin.fixed">
<code class="descname">fixed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ValueConstraint_mixin.fixed" title="Permalink to this definition">¶</a></dt>
<dd><p>If this instance constraints a fixed value, return that
value; otherwise return None.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._ValueConstraint_mixin.valueConstraint">
<code class="descname">valueConstraint</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ValueConstraint_mixin.valueConstraint" title="Permalink to this definition">¶</a></dt>
<dd><p>A constraint on the value of the attribute or element.</p>
<p>Either None, or a pair consisting of a string in the lexical
space of the typeDefinition and one of VC_default and
VC_fixed.</p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="module-pyxb.xmlschema">
<span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-pyxb.xmlschema" title="Permalink to this headline">¶</a></h2>
<p>XMLSchema &#8211; Classes to support processing W3C XML Schema definitions.</p>
<p>This module supports processing DOM model representations of XML schema into a
Python object representation of the schema component model.</p>
<p>The module also provides a top-level class that supports schema processing.</p>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
        <div class="sphinxsidebarwrapper">
  <h3><a href="index.html">Table Of Contents</a></h3>
  <ul>
<li><a class="reference internal" href="#">pyxb.xmlschema package</a><ul>
<li><a class="reference internal" href="#submodules">Submodules</a></li>
<li><a class="reference internal" href="#module-pyxb.xmlschema.structures">pyxb.xmlschema.structures module</a></li>
<li><a class="reference internal" href="#module-pyxb.xmlschema">Module contents</a></li>
</ul>
</li>
</ul>

  <h4>Previous topic</h4>
  <p class="topless"><a href="pyxb.utils.html"
                        title="previous chapter">pyxb.utils package</a></p>
  <h4>Next topic</h4>
  <p class="topless"><a href="maintref.html"
                        title="next chapter">Maintainer Reference</a></p>
  <div role="note" aria-label="source link">
    <h3>This Page</h3>
    <ul class="this-page-menu">
      <li><a href="_sources/pyxb.xmlschema.txt"
            rel="nofollow">Show Source</a></li>
    </ul>
   </div>
<div id="searchbox" style="display: none" role="search">
  <h3>Quick search</h3>
    <form class="search" action="search.html" method="get">
      <div><input type="text" name="q" /></div>
      <div><input type="submit" value="Go" /></div>
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="maintref.html" title="Maintainer Reference"
             >next</a> |</li>
        <li class="right" >
          <a href="pyxb.utils.html" title="pyxb.utils package"
             >previous</a> |</li>
        <li class="nav-item nav-item-0"><a href="index.html">PyXB 1.2.6 documentation</a> &#187;</li>
          <li class="nav-item nav-item-1"><a href="pyxb.html" >pyxb package</a> &#187;</li>
    <li style="margin-left: 20px">PyXB hosted on <a href="http://sourceforge.net/projects/pyxb"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=263147&amp;type=9"
    width="80" height="15" alt="Get PyXB: Python XML Schema Bindings at SourceForge.net. Fast, secure and Free Open Source software downloads"/></a></li>
     

      </ul>
    </div>
    <div class="footer" role="contentinfo">
        &#169; Copyright 2009-2017, Peter A. Bigot.
      Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.5.5.
    </div>
  </body>
</html>