Package pyxb :: Package binding :: Module content :: Class Wildcard
[hide private]
[frames] | no frames]

Class Wildcard

source code

object --+    
         |    
   cscRoot --+
             |
            Wildcard

Placeholder for wildcard objects.

Instance Methods [hide private]
 
namespaceConstraint(self)
A constraint on the namespace for the wildcard.
source code
 
processContents(self) source code
 
__init__(self, *args, **kw)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
matches(self, ctd_instance, value)
Return True iff the value is a valid match against this wildcard.
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
  NC_any = '##any'
  NC_not = '##other'
  NC_targetNamespace = '##targetNamespace'
  NC_local = '##local'
  __namespaceConstraint = None
  PC_skip = 'skip'
  PC_lax = 'lax'
  PC_strict = 'strict'
  __processContents = None
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

namespaceConstraint(self)

source code 

A constraint on the namespace for the wildcard.

Valid values are:

Namespaces are represented by their URIs. Absence is represented by None, both in the "not" pair and in the set.

__init__(self, *args, **kw)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

matches(self, ctd_instance, value)

source code 

Return True iff the value is a valid match against this wildcard.

Not implemented yet: all wildcards are assumed to match all values.