/usr/lib/python2.7/dist-packages/pyxb/bundles/common/raw/xlink.py is in python-pyxb-bundles-common 1.2.3+dfsg-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | # ./pyxb/bundles/common/raw/xlink.py
# -*- coding: utf-8 -*-
# PyXB bindings for NM:b43cd366527ddb6a0e58594876e07421e0148f30
# Generated 2013-09-18 10:35:49.336913 by PyXB version 1.2.3
# Namespace http://www.w3.org/1999/xlink
import pyxb
import pyxb.binding
import pyxb.binding.saxer
import io
import pyxb.utils.utility
import pyxb.utils.domutils
import sys
# Unique identifier for bindings created at the same time
_GenerationUID = pyxb.utils.utility.UniqueIdentifier('urn:uuid:fe6d6ce6-2077-11e3-b762-c8600024e903')
# Version of PyXB used to generate the bindings
_PyXBVersion = '1.2.3'
# Generated bindings are not compatible across PyXB versions
if pyxb.__version__ != _PyXBVersion:
raise pyxb.PyXBVersionError(_PyXBVersion)
# Import bindings for namespaces imported into schema
import pyxb.binding.xml_
import pyxb.binding.datatypes
# NOTE: All namespace declarations are reserved within the binding
Namespace = pyxb.namespace.NamespaceForURI(u'http://www.w3.org/1999/xlink', create_if_missing=True)
Namespace.configureCategories(['typeBinding', 'elementBinding'])
def CreateFromDocument (xml_text, default_namespace=None, location_base=None):
"""Parse the given XML and use the document element to create a
Python instance.
@param xml_text An XML document. This should be data (Python 2
str or Python 3 bytes), or a text (Python 2 unicode or Python 3
str) in the L{pyxb._InputEncoding} encoding.
@keyword default_namespace The L{pyxb.Namespace} instance to use as the
default namespace where there is no default namespace in scope.
If unspecified or C{None}, the namespace of the module containing
this function will be used.
@keyword location_base: An object to be recorded as the base of all
L{pyxb.utils.utility.Location} instances associated with events and
objects handled by the parser. You might pass the URI from which
the document was obtained.
"""
if pyxb.XMLStyle_saxer != pyxb._XMLStyle:
dom = pyxb.utils.domutils.StringToDOM(xml_text)
return CreateFromDOM(dom.documentElement)
if default_namespace is None:
default_namespace = Namespace.fallbackNamespace()
saxer = pyxb.binding.saxer.make_parser(fallback_namespace=default_namespace, location_base=location_base)
handler = saxer.getContentHandler()
xmld = xml_text
if isinstance(xmld, unicode):
xmld = xmld.encode(pyxb._InputEncoding)
saxer.parse(io.BytesIO(xmld))
instance = handler.rootObject()
return instance
def CreateFromDOM (node, default_namespace=None):
"""Create a Python instance from the given DOM node.
The node tag must correspond to an element declaration in this module.
@deprecated: Forcing use of DOM interface is unnecessary; use L{CreateFromDocument}."""
if default_namespace is None:
default_namespace = Namespace.fallbackNamespace()
return pyxb.binding.basis.element.AnyCreateFromDOM(node, default_namespace)
# Atomic simple type: {http://www.w3.org/1999/xlink}typeType
class typeType (pyxb.binding.datatypes.token, pyxb.binding.basis.enumeration_mixin):
"""An atomic simple type."""
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'typeType')
_XSDLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 31, 1)
_Documentation = None
typeType._CF_enumeration = pyxb.binding.facets.CF_enumeration(value_datatype=typeType, enum_prefix=None)
typeType.simple = typeType._CF_enumeration.addEnumeration(unicode_value=u'simple', tag=u'simple')
typeType.extended = typeType._CF_enumeration.addEnumeration(unicode_value=u'extended', tag=u'extended')
typeType.title = typeType._CF_enumeration.addEnumeration(unicode_value=u'title', tag=u'title')
typeType.resource = typeType._CF_enumeration.addEnumeration(unicode_value=u'resource', tag=u'resource')
typeType.locator = typeType._CF_enumeration.addEnumeration(unicode_value=u'locator', tag=u'locator')
typeType.arc = typeType._CF_enumeration.addEnumeration(unicode_value=u'arc', tag=u'arc')
typeType._InitializeFacetMap(typeType._CF_enumeration)
Namespace.addCategoryObject('typeBinding', u'typeType', typeType)
# Atomic simple type: {http://www.w3.org/1999/xlink}hrefType
class hrefType (pyxb.binding.datatypes.anyURI):
"""An atomic simple type."""
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'hrefType')
_XSDLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 44, 1)
_Documentation = None
hrefType._InitializeFacetMap()
Namespace.addCategoryObject('typeBinding', u'hrefType', hrefType)
# Atomic simple type: {http://www.w3.org/1999/xlink}roleType
class roleType (pyxb.binding.datatypes.anyURI):
"""An atomic simple type."""
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'roleType')
_XSDLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 50, 1)
_Documentation = None
roleType._CF_minLength = pyxb.binding.facets.CF_minLength(value=pyxb.binding.datatypes.nonNegativeInteger(1L))
roleType._InitializeFacetMap(roleType._CF_minLength)
Namespace.addCategoryObject('typeBinding', u'roleType', roleType)
# Atomic simple type: {http://www.w3.org/1999/xlink}arcroleType
class arcroleType (pyxb.binding.datatypes.anyURI):
"""An atomic simple type."""
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'arcroleType')
_XSDLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 58, 1)
_Documentation = None
arcroleType._CF_minLength = pyxb.binding.facets.CF_minLength(value=pyxb.binding.datatypes.nonNegativeInteger(1L))
arcroleType._InitializeFacetMap(arcroleType._CF_minLength)
Namespace.addCategoryObject('typeBinding', u'arcroleType', arcroleType)
# Atomic simple type: {http://www.w3.org/1999/xlink}titleAttrType
class titleAttrType (pyxb.binding.datatypes.string):
"""An atomic simple type."""
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'titleAttrType')
_XSDLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 66, 1)
_Documentation = None
titleAttrType._InitializeFacetMap()
Namespace.addCategoryObject('typeBinding', u'titleAttrType', titleAttrType)
# Atomic simple type: {http://www.w3.org/1999/xlink}showType
class showType (pyxb.binding.datatypes.token, pyxb.binding.basis.enumeration_mixin):
"""An atomic simple type."""
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'showType')
_XSDLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 72, 1)
_Documentation = None
showType._CF_enumeration = pyxb.binding.facets.CF_enumeration(value_datatype=showType, enum_prefix=None)
showType.new = showType._CF_enumeration.addEnumeration(unicode_value=u'new', tag=u'new')
showType.replace = showType._CF_enumeration.addEnumeration(unicode_value=u'replace', tag=u'replace')
showType.embed = showType._CF_enumeration.addEnumeration(unicode_value=u'embed', tag=u'embed')
showType.other = showType._CF_enumeration.addEnumeration(unicode_value=u'other', tag=u'other')
showType.none = showType._CF_enumeration.addEnumeration(unicode_value=u'none', tag=u'none')
showType._InitializeFacetMap(showType._CF_enumeration)
Namespace.addCategoryObject('typeBinding', u'showType', showType)
# Atomic simple type: {http://www.w3.org/1999/xlink}actuateType
class actuateType (pyxb.binding.datatypes.token, pyxb.binding.basis.enumeration_mixin):
"""An atomic simple type."""
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'actuateType')
_XSDLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 84, 1)
_Documentation = None
actuateType._CF_enumeration = pyxb.binding.facets.CF_enumeration(value_datatype=actuateType, enum_prefix=None)
actuateType.onLoad = actuateType._CF_enumeration.addEnumeration(unicode_value=u'onLoad', tag=u'onLoad')
actuateType.onRequest = actuateType._CF_enumeration.addEnumeration(unicode_value=u'onRequest', tag=u'onRequest')
actuateType.other = actuateType._CF_enumeration.addEnumeration(unicode_value=u'other', tag=u'other')
actuateType.none = actuateType._CF_enumeration.addEnumeration(unicode_value=u'none', tag=u'none')
actuateType._InitializeFacetMap(actuateType._CF_enumeration)
Namespace.addCategoryObject('typeBinding', u'actuateType', actuateType)
# Atomic simple type: {http://www.w3.org/1999/xlink}labelType
class labelType (pyxb.binding.datatypes.NCName):
"""An atomic simple type."""
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'labelType')
_XSDLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 95, 1)
_Documentation = None
labelType._InitializeFacetMap()
Namespace.addCategoryObject('typeBinding', u'labelType', labelType)
# Atomic simple type: {http://www.w3.org/1999/xlink}fromType
class fromType (pyxb.binding.datatypes.NCName):
"""An atomic simple type."""
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'fromType')
_XSDLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 101, 1)
_Documentation = None
fromType._InitializeFacetMap()
Namespace.addCategoryObject('typeBinding', u'fromType', fromType)
# Atomic simple type: {http://www.w3.org/1999/xlink}toType
class toType (pyxb.binding.datatypes.NCName):
"""An atomic simple type."""
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'toType')
_XSDLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 107, 1)
_Documentation = None
toType._InitializeFacetMap()
Namespace.addCategoryObject('typeBinding', u'toType', toType)
# Complex type {http://www.w3.org/1999/xlink}simple with content type MIXED
class simple (pyxb.binding.basis.complexTypeDefinition):
"""
Intended for use as the type of user-declared elements to make them
simple links.
"""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_MIXED
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'simple')
_XSDLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 127, 1)
_ElementMap = {}
_AttributeMap = {}
# Base type is pyxb.binding.datatypes.anyType
# Attribute {http://www.w3.org/1999/xlink}type uses Python identifier type
__type = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'type'), 'type', '__httpwww_w3_org1999xlink_simple_httpwww_w3_org1999xlinktype', typeType, fixed=True, unicode_default=u'simple')
__type._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 29, 1)
__type._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 112, 2)
type = property(__type.value, __type.set, None, None)
# Attribute {http://www.w3.org/1999/xlink}href uses Python identifier href
__href = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'href'), 'href', '__httpwww_w3_org1999xlink_simple_httpwww_w3_org1999xlinkhref', hrefType)
__href._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 42, 1)
__href._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 113, 2)
href = property(__href.value, __href.set, None, None)
# Attribute {http://www.w3.org/1999/xlink}role uses Python identifier role
__role = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'role'), 'role', '__httpwww_w3_org1999xlink_simple_httpwww_w3_org1999xlinkrole', roleType)
__role._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 48, 1)
__role._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 114, 2)
role = property(__role.value, __role.set, None, None)
# Attribute {http://www.w3.org/1999/xlink}arcrole uses Python identifier arcrole
__arcrole = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'arcrole'), 'arcrole', '__httpwww_w3_org1999xlink_simple_httpwww_w3_org1999xlinkarcrole', arcroleType)
__arcrole._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 56, 1)
__arcrole._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 115, 2)
arcrole = property(__arcrole.value, __arcrole.set, None, None)
# Attribute {http://www.w3.org/1999/xlink}title uses Python identifier title
__title = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'title'), 'title', '__httpwww_w3_org1999xlink_simple_httpwww_w3_org1999xlinktitle', titleAttrType)
__title._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 64, 1)
__title._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 116, 2)
title = property(__title.value, __title.set, None, None)
# Attribute {http://www.w3.org/1999/xlink}show uses Python identifier show
__show = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'show'), 'show', '__httpwww_w3_org1999xlink_simple_httpwww_w3_org1999xlinkshow', showType)
__show._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 70, 1)
__show._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 117, 2)
show = property(__show.value, __show.set, None, None)
# Attribute {http://www.w3.org/1999/xlink}actuate uses Python identifier actuate
__actuate = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'actuate'), 'actuate', '__httpwww_w3_org1999xlink_simple_httpwww_w3_org1999xlinkactuate', actuateType)
__actuate._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 82, 1)
__actuate._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 118, 2)
actuate = property(__actuate.value, __actuate.set, None, None)
_HasWildcardElement = True
_ElementMap.update({
})
_AttributeMap.update({
__type.name() : __type,
__href.name() : __href,
__role.name() : __role,
__arcrole.name() : __arcrole,
__title.name() : __title,
__show.name() : __show,
__actuate.name() : __actuate
})
Namespace.addCategoryObject('typeBinding', u'simple', simple)
# Complex type {http://www.w3.org/1999/xlink}extended with content type ELEMENT_ONLY
class extended (pyxb.binding.basis.complexTypeDefinition):
"""
Intended for use as the type of user-declared elements to make them
extended links.
Note that the elements referenced in the content model are all abstract.
The intention is that by simply declaring elements with these as their
substitutionGroup, all the right things will happen.
"""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'extended')
_XSDLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 153, 1)
_ElementMap = {}
_AttributeMap = {}
# Base type is pyxb.binding.datatypes.anyType
# Element {http://www.w3.org/1999/xlink}title uses Python identifier title
__title = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'title'), 'title', '__httpwww_w3_org1999xlink_extended_httpwww_w3_org1999xlinktitle', True, pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 167, 1), )
title = property(__title.value, __title.set, None, None)
# Element {http://www.w3.org/1999/xlink}resource uses Python identifier resource
__resource = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'resource'), 'resource', '__httpwww_w3_org1999xlink_extended_httpwww_w3_org1999xlinkresource', True, pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 193, 1), )
resource = property(__resource.value, __resource.set, None, None)
# Element {http://www.w3.org/1999/xlink}locator uses Python identifier locator
__locator = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'locator'), 'locator', '__httpwww_w3_org1999xlink_extended_httpwww_w3_org1999xlinklocator', True, pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 213, 1), )
locator = property(__locator.value, __locator.set, None, None)
# Element {http://www.w3.org/1999/xlink}arc uses Python identifier arc
__arc = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'arc'), 'arc', '__httpwww_w3_org1999xlink_extended_httpwww_w3_org1999xlinkarc', True, pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 241, 1), )
arc = property(__arc.value, __arc.set, None, None)
# Attribute {http://www.w3.org/1999/xlink}type uses Python identifier type
__type = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'type'), 'type', '__httpwww_w3_org1999xlink_extended_httpwww_w3_org1999xlinktype', typeType, fixed=True, unicode_default=u'extended', required=True)
__type._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 29, 1)
__type._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 139, 2)
type = property(__type.value, __type.set, None, None)
# Attribute {http://www.w3.org/1999/xlink}role uses Python identifier role
__role = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'role'), 'role', '__httpwww_w3_org1999xlink_extended_httpwww_w3_org1999xlinkrole', roleType)
__role._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 48, 1)
__role._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 140, 2)
role = property(__role.value, __role.set, None, None)
# Attribute {http://www.w3.org/1999/xlink}title uses Python identifier title_
__title_ = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'title'), 'title_', '__httpwww_w3_org1999xlink_extended_httpwww_w3_org1999xlinktitle_', titleAttrType)
__title_._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 64, 1)
__title_._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 141, 2)
title_ = property(__title_.value, __title_.set, None, None)
_ElementMap.update({
__title.name() : __title,
__resource.name() : __resource,
__locator.name() : __locator,
__arc.name() : __arc
})
_AttributeMap.update({
__type.name() : __type,
__role.name() : __role,
__title_.name() : __title_
})
Namespace.addCategoryObject('typeBinding', u'extended', extended)
# Complex type {http://www.w3.org/1999/xlink}titleEltType with content type MIXED
class titleEltType (pyxb.binding.basis.complexTypeDefinition):
"""Complex type {http://www.w3.org/1999/xlink}titleEltType with content type MIXED"""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_MIXED
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'titleEltType')
_XSDLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 188, 1)
_ElementMap = {}
_AttributeMap = {}
# Base type is pyxb.binding.datatypes.anyType
# Attribute {http://www.w3.org/XML/1998/namespace}lang uses Python identifier lang
__lang = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(pyxb.namespace.XML, 'lang'), 'lang', '__httpwww_w3_org1999xlink_titleEltType_httpwww_w3_orgXML1998namespacelang', pyxb.binding.xml_.STD_ANON_lang)
__lang._DeclarationLocation = None
__lang._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 171, 2)
lang = property(__lang.value, __lang.set, None, None)
# Attribute {http://www.w3.org/1999/xlink}type uses Python identifier type
__type = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'type'), 'type', '__httpwww_w3_org1999xlink_titleEltType_httpwww_w3_org1999xlinktype', typeType, fixed=True, unicode_default=u'title', required=True)
__type._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 29, 1)
__type._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 170, 2)
type = property(__type.value, __type.set, None, None)
_HasWildcardElement = True
_ElementMap.update({
})
_AttributeMap.update({
__lang.name() : __lang,
__type.name() : __type
})
Namespace.addCategoryObject('typeBinding', u'titleEltType', titleEltType)
# Complex type {http://www.w3.org/1999/xlink}resourceType with content type MIXED
class resourceType (pyxb.binding.basis.complexTypeDefinition):
"""Complex type {http://www.w3.org/1999/xlink}resourceType with content type MIXED"""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_MIXED
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'resourceType')
_XSDLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 208, 1)
_ElementMap = {}
_AttributeMap = {}
# Base type is pyxb.binding.datatypes.anyType
# Attribute {http://www.w3.org/1999/xlink}type uses Python identifier type
__type = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'type'), 'type', '__httpwww_w3_org1999xlink_resourceType_httpwww_w3_org1999xlinktype', typeType, fixed=True, unicode_default=u'resource', required=True)
__type._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 29, 1)
__type._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 196, 2)
type = property(__type.value, __type.set, None, None)
# Attribute {http://www.w3.org/1999/xlink}role uses Python identifier role
__role = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'role'), 'role', '__httpwww_w3_org1999xlink_resourceType_httpwww_w3_org1999xlinkrole', roleType)
__role._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 48, 1)
__role._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 197, 2)
role = property(__role.value, __role.set, None, None)
# Attribute {http://www.w3.org/1999/xlink}title uses Python identifier title
__title = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'title'), 'title', '__httpwww_w3_org1999xlink_resourceType_httpwww_w3_org1999xlinktitle', titleAttrType)
__title._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 64, 1)
__title._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 198, 2)
title = property(__title.value, __title.set, None, None)
# Attribute {http://www.w3.org/1999/xlink}label uses Python identifier label
__label = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'label'), 'label', '__httpwww_w3_org1999xlink_resourceType_httpwww_w3_org1999xlinklabel', labelType)
__label._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 93, 1)
__label._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 199, 2)
label = property(__label.value, __label.set, None, None)
_HasWildcardElement = True
_ElementMap.update({
})
_AttributeMap.update({
__type.name() : __type,
__role.name() : __role,
__title.name() : __title,
__label.name() : __label
})
Namespace.addCategoryObject('typeBinding', u'resourceType', resourceType)
# Complex type {http://www.w3.org/1999/xlink}locatorType with content type ELEMENT_ONLY
class locatorType (pyxb.binding.basis.complexTypeDefinition):
"""Complex type {http://www.w3.org/1999/xlink}locatorType with content type ELEMENT_ONLY"""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'locatorType')
_XSDLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 236, 1)
_ElementMap = {}
_AttributeMap = {}
# Base type is pyxb.binding.datatypes.anyType
# Element {http://www.w3.org/1999/xlink}title uses Python identifier title
__title = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'title'), 'title', '__httpwww_w3_org1999xlink_locatorType_httpwww_w3_org1999xlinktitle', True, pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 167, 1), )
title = property(__title.value, __title.set, None, None)
# Attribute {http://www.w3.org/1999/xlink}type uses Python identifier type
__type = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'type'), 'type', '__httpwww_w3_org1999xlink_locatorType_httpwww_w3_org1999xlinktype', typeType, fixed=True, unicode_default=u'locator', required=True)
__type._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 29, 1)
__type._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 216, 2)
type = property(__type.value, __type.set, None, None)
# Attribute {http://www.w3.org/1999/xlink}href uses Python identifier href
__href = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'href'), 'href', '__httpwww_w3_org1999xlink_locatorType_httpwww_w3_org1999xlinkhref', hrefType, required=True)
__href._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 42, 1)
__href._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 217, 2)
href = property(__href.value, __href.set, None, None)
# Attribute {http://www.w3.org/1999/xlink}role uses Python identifier role
__role = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'role'), 'role', '__httpwww_w3_org1999xlink_locatorType_httpwww_w3_org1999xlinkrole', roleType)
__role._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 48, 1)
__role._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 218, 2)
role = property(__role.value, __role.set, None, None)
# Attribute {http://www.w3.org/1999/xlink}title uses Python identifier title_
__title_ = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'title'), 'title_', '__httpwww_w3_org1999xlink_locatorType_httpwww_w3_org1999xlinktitle_', titleAttrType)
__title_._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 64, 1)
__title_._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 219, 2)
title_ = property(__title_.value, __title_.set, None, None)
# Attribute {http://www.w3.org/1999/xlink}label uses Python identifier label
__label = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'label'), 'label', '__httpwww_w3_org1999xlink_locatorType_httpwww_w3_org1999xlinklabel', labelType)
__label._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 93, 1)
__label._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 220, 2)
label = property(__label.value, __label.set, None, None)
_ElementMap.update({
__title.name() : __title
})
_AttributeMap.update({
__type.name() : __type,
__href.name() : __href,
__role.name() : __role,
__title_.name() : __title_,
__label.name() : __label
})
Namespace.addCategoryObject('typeBinding', u'locatorType', locatorType)
# Complex type {http://www.w3.org/1999/xlink}arcType with content type ELEMENT_ONLY
class arcType (pyxb.binding.basis.complexTypeDefinition):
"""Complex type {http://www.w3.org/1999/xlink}arcType with content type ELEMENT_ONLY"""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'arcType')
_XSDLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 265, 1)
_ElementMap = {}
_AttributeMap = {}
# Base type is pyxb.binding.datatypes.anyType
# Element {http://www.w3.org/1999/xlink}title uses Python identifier title
__title = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'title'), 'title', '__httpwww_w3_org1999xlink_arcType_httpwww_w3_org1999xlinktitle', True, pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 167, 1), )
title = property(__title.value, __title.set, None, None)
# Attribute {http://www.w3.org/1999/xlink}type uses Python identifier type
__type = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'type'), 'type', '__httpwww_w3_org1999xlink_arcType_httpwww_w3_org1999xlinktype', typeType, fixed=True, unicode_default=u'arc', required=True)
__type._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 29, 1)
__type._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 244, 2)
type = property(__type.value, __type.set, None, None)
# Attribute {http://www.w3.org/1999/xlink}arcrole uses Python identifier arcrole
__arcrole = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'arcrole'), 'arcrole', '__httpwww_w3_org1999xlink_arcType_httpwww_w3_org1999xlinkarcrole', arcroleType)
__arcrole._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 56, 1)
__arcrole._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 245, 2)
arcrole = property(__arcrole.value, __arcrole.set, None, None)
# Attribute {http://www.w3.org/1999/xlink}title uses Python identifier title_
__title_ = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'title'), 'title_', '__httpwww_w3_org1999xlink_arcType_httpwww_w3_org1999xlinktitle_', titleAttrType)
__title_._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 64, 1)
__title_._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 246, 2)
title_ = property(__title_.value, __title_.set, None, None)
# Attribute {http://www.w3.org/1999/xlink}show uses Python identifier show
__show = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'show'), 'show', '__httpwww_w3_org1999xlink_arcType_httpwww_w3_org1999xlinkshow', showType)
__show._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 70, 1)
__show._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 247, 2)
show = property(__show.value, __show.set, None, None)
# Attribute {http://www.w3.org/1999/xlink}actuate uses Python identifier actuate
__actuate = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'actuate'), 'actuate', '__httpwww_w3_org1999xlink_arcType_httpwww_w3_org1999xlinkactuate', actuateType)
__actuate._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 82, 1)
__actuate._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 248, 2)
actuate = property(__actuate.value, __actuate.set, None, None)
# Attribute {http://www.w3.org/1999/xlink}from uses Python identifier from_
__from = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'from'), 'from_', '__httpwww_w3_org1999xlink_arcType_httpwww_w3_org1999xlinkfrom', fromType)
__from._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 99, 1)
__from._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 249, 2)
from_ = property(__from.value, __from.set, None, None)
# Attribute {http://www.w3.org/1999/xlink}to uses Python identifier to
__to = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'to'), 'to', '__httpwww_w3_org1999xlink_arcType_httpwww_w3_org1999xlinkto', toType)
__to._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 105, 1)
__to._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 250, 2)
to = property(__to.value, __to.set, None, None)
_ElementMap.update({
__title.name() : __title
})
_AttributeMap.update({
__type.name() : __type,
__arcrole.name() : __arcrole,
__title_.name() : __title_,
__show.name() : __show,
__actuate.name() : __actuate,
__from.name() : __from,
__to.name() : __to
})
Namespace.addCategoryObject('typeBinding', u'arcType', arcType)
title = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'title'), titleEltType, abstract=pyxb.binding.datatypes.boolean(1), location=pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 167, 1))
Namespace.addCategoryObject('elementBinding', title.name().localName(), title)
resource = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'resource'), resourceType, abstract=pyxb.binding.datatypes.boolean(1), location=pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 193, 1))
Namespace.addCategoryObject('elementBinding', resource.name().localName(), resource)
locator = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'locator'), locatorType, abstract=pyxb.binding.datatypes.boolean(1), location=pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 213, 1))
Namespace.addCategoryObject('elementBinding', locator.name().localName(), locator)
arc = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'arc'), arcType, abstract=pyxb.binding.datatypes.boolean(1), location=pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 241, 1))
Namespace.addCategoryObject('elementBinding', arc.name().localName(), arc)
def _BuildAutomaton ():
# Remove this helper function from the namespace after it is invoked
global _BuildAutomaton
del _BuildAutomaton
import pyxb.utils.fac as fac
counters = set()
cc_0 = fac.CounterCondition(min=0L, max=None, metadata=pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 123, 3))
counters.add(cc_0)
states = []
final_update = set()
final_update.add(fac.UpdateInstruction(cc_0, False))
symbol = pyxb.binding.content.WildcardUse(pyxb.binding.content.Wildcard(process_contents=pyxb.binding.content.Wildcard.PC_lax, namespace_constraint=pyxb.binding.content.Wildcard.NC_any), pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 123, 3))
st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
states.append(st_0)
transitions = []
transitions.append(fac.Transition(st_0, [
fac.UpdateInstruction(cc_0, True) ]))
st_0._set_transitionSet(transitions)
return fac.Automaton(states, counters, True, containing_state=None)
simple._Automaton = _BuildAutomaton()
extended._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'title'), titleEltType, abstract=pyxb.binding.datatypes.boolean(1), scope=extended, location=pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 167, 1)))
extended._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'resource'), resourceType, abstract=pyxb.binding.datatypes.boolean(1), scope=extended, location=pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 193, 1)))
extended._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'locator'), locatorType, abstract=pyxb.binding.datatypes.boolean(1), scope=extended, location=pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 213, 1)))
extended._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'arc'), arcType, abstract=pyxb.binding.datatypes.boolean(1), scope=extended, location=pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 241, 1)))
def _BuildAutomaton_ ():
# Remove this helper function from the namespace after it is invoked
global _BuildAutomaton_
del _BuildAutomaton_
import pyxb.utils.fac as fac
counters = set()
cc_0 = fac.CounterCondition(min=0L, max=None, metadata=pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 163, 2))
counters.add(cc_0)
states = []
final_update = set()
final_update.add(fac.UpdateInstruction(cc_0, False))
symbol = pyxb.binding.content.ElementUse(extended._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'title')), pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 146, 4))
st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
states.append(st_0)
final_update = set()
final_update.add(fac.UpdateInstruction(cc_0, False))
symbol = pyxb.binding.content.ElementUse(extended._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'resource')), pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 147, 4))
st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
states.append(st_1)
final_update = set()
final_update.add(fac.UpdateInstruction(cc_0, False))
symbol = pyxb.binding.content.ElementUse(extended._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'locator')), pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 148, 4))
st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
states.append(st_2)
final_update = set()
final_update.add(fac.UpdateInstruction(cc_0, False))
symbol = pyxb.binding.content.ElementUse(extended._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'arc')), pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 149, 4))
st_3 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
states.append(st_3)
transitions = []
transitions.append(fac.Transition(st_0, [
fac.UpdateInstruction(cc_0, True) ]))
transitions.append(fac.Transition(st_1, [
fac.UpdateInstruction(cc_0, True) ]))
transitions.append(fac.Transition(st_2, [
fac.UpdateInstruction(cc_0, True) ]))
transitions.append(fac.Transition(st_3, [
fac.UpdateInstruction(cc_0, True) ]))
st_0._set_transitionSet(transitions)
transitions = []
transitions.append(fac.Transition(st_0, [
fac.UpdateInstruction(cc_0, True) ]))
transitions.append(fac.Transition(st_1, [
fac.UpdateInstruction(cc_0, True) ]))
transitions.append(fac.Transition(st_2, [
fac.UpdateInstruction(cc_0, True) ]))
transitions.append(fac.Transition(st_3, [
fac.UpdateInstruction(cc_0, True) ]))
st_1._set_transitionSet(transitions)
transitions = []
transitions.append(fac.Transition(st_0, [
fac.UpdateInstruction(cc_0, True) ]))
transitions.append(fac.Transition(st_1, [
fac.UpdateInstruction(cc_0, True) ]))
transitions.append(fac.Transition(st_2, [
fac.UpdateInstruction(cc_0, True) ]))
transitions.append(fac.Transition(st_3, [
fac.UpdateInstruction(cc_0, True) ]))
st_2._set_transitionSet(transitions)
transitions = []
transitions.append(fac.Transition(st_0, [
fac.UpdateInstruction(cc_0, True) ]))
transitions.append(fac.Transition(st_1, [
fac.UpdateInstruction(cc_0, True) ]))
transitions.append(fac.Transition(st_2, [
fac.UpdateInstruction(cc_0, True) ]))
transitions.append(fac.Transition(st_3, [
fac.UpdateInstruction(cc_0, True) ]))
st_3._set_transitionSet(transitions)
return fac.Automaton(states, counters, True, containing_state=None)
extended._Automaton = _BuildAutomaton_()
def _BuildAutomaton_2 ():
# Remove this helper function from the namespace after it is invoked
global _BuildAutomaton_2
del _BuildAutomaton_2
import pyxb.utils.fac as fac
counters = set()
cc_0 = fac.CounterCondition(min=0L, max=None, metadata=pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 184, 3))
counters.add(cc_0)
states = []
final_update = set()
final_update.add(fac.UpdateInstruction(cc_0, False))
symbol = pyxb.binding.content.WildcardUse(pyxb.binding.content.Wildcard(process_contents=pyxb.binding.content.Wildcard.PC_lax, namespace_constraint=pyxb.binding.content.Wildcard.NC_any), pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 184, 3))
st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
states.append(st_0)
transitions = []
transitions.append(fac.Transition(st_0, [
fac.UpdateInstruction(cc_0, True) ]))
st_0._set_transitionSet(transitions)
return fac.Automaton(states, counters, True, containing_state=None)
titleEltType._Automaton = _BuildAutomaton_2()
def _BuildAutomaton_3 ():
# Remove this helper function from the namespace after it is invoked
global _BuildAutomaton_3
del _BuildAutomaton_3
import pyxb.utils.fac as fac
counters = set()
cc_0 = fac.CounterCondition(min=0L, max=None, metadata=pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 204, 3))
counters.add(cc_0)
states = []
final_update = set()
final_update.add(fac.UpdateInstruction(cc_0, False))
symbol = pyxb.binding.content.WildcardUse(pyxb.binding.content.Wildcard(process_contents=pyxb.binding.content.Wildcard.PC_lax, namespace_constraint=pyxb.binding.content.Wildcard.NC_any), pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 204, 3))
st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
states.append(st_0)
transitions = []
transitions.append(fac.Transition(st_0, [
fac.UpdateInstruction(cc_0, True) ]))
st_0._set_transitionSet(transitions)
return fac.Automaton(states, counters, True, containing_state=None)
resourceType._Automaton = _BuildAutomaton_3()
locatorType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'title'), titleEltType, abstract=pyxb.binding.datatypes.boolean(1), scope=locatorType, location=pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 167, 1)))
def _BuildAutomaton_4 ():
# Remove this helper function from the namespace after it is invoked
global _BuildAutomaton_4
del _BuildAutomaton_4
import pyxb.utils.fac as fac
counters = set()
cc_0 = fac.CounterCondition(min=0L, max=None, metadata=pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 232, 3))
counters.add(cc_0)
states = []
final_update = set()
final_update.add(fac.UpdateInstruction(cc_0, False))
symbol = pyxb.binding.content.ElementUse(locatorType._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'title')), pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 232, 3))
st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
states.append(st_0)
transitions = []
transitions.append(fac.Transition(st_0, [
fac.UpdateInstruction(cc_0, True) ]))
st_0._set_transitionSet(transitions)
return fac.Automaton(states, counters, True, containing_state=None)
locatorType._Automaton = _BuildAutomaton_4()
arcType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'title'), titleEltType, abstract=pyxb.binding.datatypes.boolean(1), scope=arcType, location=pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 167, 1)))
def _BuildAutomaton_5 ():
# Remove this helper function from the namespace after it is invoked
global _BuildAutomaton_5
del _BuildAutomaton_5
import pyxb.utils.fac as fac
counters = set()
cc_0 = fac.CounterCondition(min=0L, max=None, metadata=pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 261, 3))
counters.add(cc_0)
states = []
final_update = set()
final_update.add(fac.UpdateInstruction(cc_0, False))
symbol = pyxb.binding.content.ElementUse(arcType._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'title')), pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/common/schemas/xlink.xsd', 261, 3))
st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
states.append(st_0)
transitions = []
transitions.append(fac.Transition(st_0, [
fac.UpdateInstruction(cc_0, True) ]))
st_0._set_transitionSet(transitions)
return fac.Automaton(states, counters, True, containing_state=None)
arcType._Automaton = _BuildAutomaton_5()
|