Package pyxb :: Package binding :: Module datatypes :: Class QName
[hide private]
[frames] | no frames]

Class QName

source code

                    object --+                
                             |                
                       cscRoot --+            
                                 |            
     utils.utility.Locatable_mixin --+        
                                     |        
              basis._TypeBinding_mixin --+    
                                         |    
                            object --+   |    
                                     |   |    
utils.utility._DeconflictSymbols_mixin --+    
                                         |    
                        object --+       |    
                                 |       |    
                           cscRoot --+   |    
                                     |   |    
            basis._DynamicCreate_mixin --+    
                                         |    
                basis.simpleTypeDefinition --+
                                             |
                            object --+       |
                                     |       |
                               cscRoot --+   |
                                         |   |
                    namespace.ExpandedName --+
                                             |
                                            QName

XMLSchema datatype QName.

Nested Classes [hide private]
  _XsdBaseType
XMLSchema datatype anySimpleType.
Instance Methods [hide private]

Inherited from basis.simpleTypeDefinition: __init__, pythonLiteral, xsdConstraintsOK, xsdLiteral, xsdValueLength

Inherited from basis._TypeBinding_mixin: __setattr__, toDOM, toxml, validateBinding

Inherited from namespace.ExpandedName: __eq__, __ge__, __getattr__, __gt__, __hash__, __le__, __lt__, __ne__, __str__, adoptName, createName, getAttribute, localName, namespace, namespaceURI, nodeMatches, uriTuple, validateComponentModel

Inherited from object: __delattr__, __format__, __getattribute__, __reduce__, __reduce_ex__, __repr__, __sizeof__, __subclasshook__

Class Methods [hide private]
 
XsdValueLength(cls, value)
Section 4.3.1.3: Legacy length return None to indicate no check
source code
 
_ConvertIf(cls, value, xmlns_context) source code
 
_ConvertArguments_vx(cls, args, kw) source code
 
XsdLiteral(cls, value)
Convert from a python value to a string usable in an XML document.
source code
 
_XsdConstraintsPreCheck_vb(cls, value)
Pre-extended class method to verify other things before checking constraints.
source code

Inherited from basis.simpleTypeDefinition: PythonLiteral, SimpleTypeDefinition, XsdConstraintsOK, XsdSuperType

Inherited from basis._TypeBinding_mixin: Factory

Static Methods [hide private]

Inherited from basis.simpleTypeDefinition: __new__

Class Variables [hide private]
  _ExpandedName = <pyxb.namespace.ExpandedName object>
The expanded name of the component.
  _CF_enumeration = <pyxb.binding.facets.CF_enumeration object>
  _CF_length = <pyxb.binding.facets.CF_length object>
  _CF_maxLength = <pyxb.binding.facets.CF_maxLength object>
  _CF_minLength = <pyxb.binding.facets.CF_minLength object>
  _CF_pattern = <pyxb.binding.facets.CF_pattern object>
  _CF_whiteSpace = <pyxb.binding.facets.CF_whiteSpace object>
  __SimpleTypeDefinition = <pyxb.xmlschema.structures.SimpleType...
  _httpwww_w3_org2001XMLSchema_QName_FacetMap = {<class 'pyxb.bi...

Inherited from basis.simpleTypeDefinition (private): _ReservedSymbols

Inherited from basis._TypeBinding_mixin: _validationConfig_

Properties [hide private]

Inherited from basis._TypeBinding_mixin (private): _validationConfig

Inherited from object: __class__

Method Details [hide private]

XsdValueLength(cls, value)
Class Method

source code 

Section 4.3.1.3: Legacy length return None to indicate no check

Raises:
  • pyxb.LogicError - the provided value is not an instance of cls.
  • pyxb.LogicError - an attempt is made to calculate a length for an instance of a type that does not support length calculations.
Overrides: basis.simpleTypeDefinition.XsdValueLength

_ConvertArguments_vx(cls, args, kw)
Class Method

source code 
Overrides: basis.simpleTypeDefinition._ConvertArguments_vx

XsdLiteral(cls, value)
Class Method

source code 

Convert from a python value to a string usable in an XML document.

This should be implemented in the subclass.

Overrides: basis.simpleTypeDefinition.XsdLiteral
(inherited documentation)

_XsdConstraintsPreCheck_vb(cls, value)
Class Method

source code 

Pre-extended class method to verify other things before checking constraints.

This is used for list types, to verify that the values in the list are acceptable, and for token descendents, to check the lexical/value space conformance of the input.

Overrides: basis.simpleTypeDefinition._XsdConstraintsPreCheck_vb
(inherited documentation)

Class Variable Details [hide private]

__SimpleTypeDefinition

Value:
<pyxb.xmlschema.structures.SimpleTypeDefinition object>

_httpwww_w3_org2001XMLSchema_QName_FacetMap

Value:
{<class 'pyxb.binding.facets.CF_length'>: <pyxb.binding.facets.CF_leng\
th object>,
 <class 'pyxb.binding.facets.CF_minLength'>: <pyxb.binding.facets.CF_m\
inLength object>,
 <class 'pyxb.binding.facets.CF_maxLength'>: <pyxb.binding.facets.CF_m\
axLength object>,
 <class 'pyxb.binding.facets.CF_pattern'>: <pyxb.binding.facets.CF_pat\
tern object>,
...