Package pyxb :: Package binding :: Module facets :: Class CF_whiteSpace
[hide private]
[frames] | no frames]

Class CF_whiteSpace

source code

object --+            
         |            
   cscRoot --+        
             |        
         Facet --+    
                 |    
 ConstrainingFacet --+
                     |
    object --+       |
             |       |
       cscRoot --+   |
                 |   |
      _Fixed_mixin --+
                     |
                    CF_whiteSpace

Specify the value-space interpretation of whitespace.

See http://www.w3.org/TR/xmlschema-2/#rf-whiteSpace

Nested Classes [hide private]
  _ValueDatatype
The enumeration used to constrain the whiteSpace facet
Instance Methods [hide private]
 
normalizeString(self, value)
Normalize the given string in accordance with the configured whitespace interpretation.
source code
 
_validateConstraint_vx(self, value)
No validation rules for whitespace facet.
source code

Inherited from ConstrainingFacet: __init__, validateConstraint

Inherited from ConstrainingFacet (private): _setFromKeywords_vb

Inherited from Facet: __str__, annotation, baseTypeDefinition, ownerTypeDefinition, setFromKeywords, value, valueDatatype

Inherited from Facet (private): _value, _valueString

Inherited from _Fixed_mixin: fixed

Inherited from _Fixed_mixin (private): _Fixed_mixin__setFromKeywords

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

Class Methods [hide private]

Inherited from Facet: ClassForFacet, Name

Class Variables [hide private]
  _Name = 'whiteSpace'
hash(x)
  __TabCRLF_re = re.compile(r'[\t\n\r]')
  __MultiSpace_re = re.compile(r' +')

Inherited from ConstrainingFacet: Facets

Inherited from ConstrainingFacet (private): _FacetPrefix

Inherited from _Fixed_mixin (private): _Fixed_mixin__fixed

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

_validateConstraint_vx(self, value)

source code 

No validation rules for whitespace facet.

Overrides: ConstrainingFacet._validateConstraint_vx