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

Class _PatternElement

source code

                      object --+        
                               |        
                         cscRoot --+    
                                   |    
utils.utility.PrivateTransient_mixin --+
                                       |
                                      _PatternElement

This class represents individual patterns that appear within a CF_pattern collection.

Instance Methods [hide private]
 
__init__(self, pattern=None, value=None, annotation=None, **kw)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__str__(self)
str(x)
source code
 
matches(self, text) source code

Inherited from utils.utility.PrivateTransient_mixin: __getstate__

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

Class Variables [hide private]
  __PrivateTransient = set()
  __compiledExpression = None
hash(x)
  __pythonExpression = None
hash(x)
  pattern = None
hash(x)
  annotation = None
hash(x)
  _PatternElement__PrivateTransient = set(['compiledExpression'])
  _PatternElement__compiledExpression = None
hash(x)
  _PatternElement__pythonExpression = None
hash(x)
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, pattern=None, value=None, annotation=None, **kw)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)