Package suds :: Package xsd :: Module doctor :: Class TnsFilter
[hide private]
[frames] | no frames]

Class TnsFilter

source code

Target Namespace filter.

Instance Methods [hide private]
 
__init__(self, *tns) source code
 
add(self, *tns)
Add targetNamesapces to be added.
source code
 
match(self, root, ns)
Match by targetNamespace excluding those that are equal to the specified namespace to prevent adding an import to itself.
source code
Instance Variables [hide private]
[str,...] tns
A list of target namespaces.
Method Details [hide private]

__init__(self, *tns)
(Constructor)

source code 
Parameters:
  • tns ([str,...]) - A list of target namespaces.

add(self, *tns)

source code 

Add targetNamesapces to be added.

Parameters:
  • tns ([str,...]) - A list of target namespaces.

match(self, root, ns)

source code 

Match by targetNamespace excluding those that are equal to the specified namespace to prevent adding an import to itself.

Parameters: