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 --+       |
                                     |       |
                            basestring --+   |
                                         |   |
                                   unicode --+
                                             |
                                            QName

XMLSchema datatype QName.

Nested Classes [hide private]
  _XsdBaseType
XMLSchema datatype anySimpleType.
Instance Methods [hide private]
 
prefix(self)
Return the prefix portion of the QName, or None if the name is not qualified.
source code
 
localName(self)
Return the local portion of the QName.
source code
 
__resolveLocals(self) source code

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

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

Inherited from unicode: __add__, __contains__, __eq__, __format__, __ge__, __getattribute__, __getitem__, __getnewargs__, __getslice__, __gt__, __hash__, __le__, __len__, __lt__, __mod__, __mul__, __ne__, __repr__, __rmod__, __rmul__, __sizeof__, __str__, capitalize, center, count, decode, encode, endswith, expandtabs, find, format, index, isalnum, isalpha, isdecimal, isdigit, islower, isnumeric, isspace, istitle, isupper, join, ljust, lower, lstrip, partition, replace, rfind, rindex, rjust, rpartition, rsplit, rstrip, split, splitlines, startswith, strip, swapcase, title, translate, upper, zfill

Inherited from unicode (private): _formatter_field_name_split, _formatter_parser

Inherited from object: __delattr__, __reduce__, __reduce_ex__, __subclasshook__

Class Methods [hide private]
 
XsdValueLength(cls, value)
Section 4.3.1.3: Legacy length return None to indicate no check
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.XMLSchema.createExpandedName('Q...
The expanded name of the component.
  __localName = None
hash(x)
  __prefix = None
hash(x)
  _CF_enumeration = <pyxb.binding.facets.CF_enumeration object a...
  _CF_length = <pyxb.binding.facets.CF_length object at 0x1ba83d0>
  _CF_maxLength = <pyxb.binding.facets.CF_maxLength object at 0x...
  _CF_minLength = <pyxb.binding.facets.CF_minLength object at 0x...
  _CF_pattern = <pyxb.binding.facets.CF_pattern object at 0x1ba8...
  _CF_whiteSpace = <pyxb.binding.facets.CF_whiteSpace object at ...
  __SimpleTypeDefinition = <pyxb.xmlschema.structures.SimpleType...
  _httpwww_w3_org2001XMLSchema_QName_FacetMap = {<class 'pyxb.bi...

Inherited from basis.simpleTypeDefinition (private): _ReservedSymbols

Properties [hide private]

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

Overrides: basis.simpleTypeDefinition.XsdValueLength

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]

_ExpandedName

The expanded name of the component.

Value:
pyxb.namespace.XMLSchema.createExpandedName('QName')

_CF_enumeration

Value:
<pyxb.binding.facets.CF_enumeration object at 0x1ba8410>

_CF_maxLength

Value:
<pyxb.binding.facets.CF_maxLength object at 0x1ba8350>

_CF_minLength

Value:
<pyxb.binding.facets.CF_minLength object at 0x1ba8310>

_CF_pattern

Value:
<pyxb.binding.facets.CF_pattern object at 0x1ba8450>

_CF_whiteSpace

Value:
<pyxb.binding.facets.CF_whiteSpace object at 0x1ba8390>

__SimpleTypeDefinition

Value:
<pyxb.xmlschema.structures.SimpleTypeDefinition object at 0x18147d0>

_httpwww_w3_org2001XMLSchema_QName_FacetMap

Value:
{<class 'pyxb.binding.facets.CF_minLength'>: <pyxb.binding.facets.CF_m\
inLength object at 0x1ba8310>,
 <class 'pyxb.binding.facets.CF_maxLength'>: <pyxb.binding.facets.CF_m\
axLength object at 0x1ba8350>,
 <class 'pyxb.binding.facets.CF_length'>: <pyxb.binding.facets.CF_leng\
th object at 0x1ba83d0>,
 <class 'pyxb.binding.facets.CF_whiteSpace'>: <pyxb.binding.facets.CF_\
whiteSpace object at 0x1ba8390>,
...