Package pyxb :: Package binding :: Module xml_
[hide private]
[frames] | no frames]

Source Code for Module pyxb.binding.xml_

 1  # -*- coding: utf-8 -*- 
 2  # Copyright 2009-2013, Peter A. Bigot 
 3  # 
 4  # Licensed under the Apache License, Version 2.0 (the "License"); you may 
 5  # not use this file except in compliance with the License. You may obtain a 
 6  # copy of the License at: 
 7  # 
 8  #            http://www.apache.org/licenses/LICENSE-2.0 
 9  # 
10  # Unless required by applicable law or agreed to in writing, software 
11  # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 
12  # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 
13  # License for the specific language governing permissions and limitations 
14  # under the License. 
15   
16  """Binding classes for types referenced by the attribute and attribute 
17  group declarations in the XML namespace 
18  (http://www.w3.org/XML/1998/namespace). 
19   
20  The content of this module was generated by PyXB and is coupled to the 
21  components defined in L{pyxb.namespace.builtin._XML}. 
22   
23  """ 
24   
25  # ./pyxb/standard/bindings/raw/xml_.py 
26  # PyXB bindings for NamespaceModule 
27  # Generated 2009-07-25 13:37:53.257717 by PyXB version 0.5.2 
28  import pyxb 
29  import pyxb.binding 
30  import pyxb.utils.utility 
31  import pyxb.utils.domutils 
32  import sys 
33   
34  # Unique identifier for bindings created at the same time 
35  _GenerationUID = pyxb.namespace.builtin.BuiltInObjectUID 
36   
37  # Import bindings for namespaces imported into schema 
38   
39  Namespace = pyxb.namespace.NamespaceForURI('http://www.w3.org/XML/1998/namespace', create_if_missing=True) 
40   
41  # Atomic SimpleTypeDefinition 
42 -class STD_ANON_space (pyxb.binding.datatypes.NCName, pyxb.binding.basis.enumeration_mixin):
43 """No information""" 44 45 _ExpandedName = None
46 STD_ANON_space._CF_enumeration = pyxb.binding.facets.CF_enumeration(value_datatype=STD_ANON_space, enum_prefix=None) 47 STD_ANON_space.default = STD_ANON_space._CF_enumeration.addEnumeration(unicode_value=u'default') 48 STD_ANON_space.preserve = STD_ANON_space._CF_enumeration.addEnumeration(unicode_value=u'preserve') 49 STD_ANON_space._InitializeFacetMap(STD_ANON_space._CF_enumeration) 50 51 # Atomic SimpleTypeDefinition
52 -class STD_ANON_emptyString (pyxb.binding.datatypes.string, pyxb.binding.basis.enumeration_mixin):
53 """No information""" 54 55 _ExpandedName = None
56 STD_ANON_emptyString._CF_enumeration = pyxb.binding.facets.CF_enumeration(value_datatype=STD_ANON_emptyString, enum_prefix=None) 57 STD_ANON_emptyString.emptyString = STD_ANON_emptyString._CF_enumeration.addEnumeration(unicode_value=u'') 58 STD_ANON_emptyString._InitializeFacetMap(STD_ANON_emptyString._CF_enumeration) 59 60 # Union SimpleTypeDefinition 61 # superclasses pyxb.binding.datatypes.anySimpleType
62 -class STD_ANON_lang (pyxb.binding.basis.STD_union):
63 """Simple type that is a union of pyxb.binding.datatypes.language, STD_ANON_emptyString""" 64 65 _ExpandedName = None 66 _MemberTypes = ( pyxb.binding.datatypes.language, STD_ANON_emptyString, )
67 STD_ANON_lang._CF_enumeration = pyxb.binding.facets.CF_enumeration(value_datatype=STD_ANON_lang) 68 STD_ANON_lang._CF_pattern = pyxb.binding.facets.CF_pattern() 69 STD_ANON_lang._InitializeFacetMap(STD_ANON_lang._CF_enumeration, 70 STD_ANON_lang._CF_pattern) 71