Package suds :: Package xsd :: Module sxbase :: Class NodeFinder
[hide private]
[frames] | no frames]

Class NodeFinder

source code

Find nodes based on flexable criteria. The matcher is may be any object that implements a match(n) method.

Instance Methods [hide private]
 
__init__(self, matcher, limit=0) source code
 
find(self, node, list)
Traverse the tree looking for matches.
source code
Instance Variables [hide private]
int limit
Limit the number of matches.
any.match(n) matcher
An object used as criteria for match.
Method Details [hide private]

__init__(self, matcher, limit=0)
(Constructor)

source code 
Parameters:
  • matcher (any.match(n)) - An object used as criteria for match.
  • limit (int) - Limit the number of matches. 0=unlimited.

find(self, node, list)

source code 

Traverse the tree looking for matches.

Parameters:
  • node (SchemaObject) - A node to match on.
  • list (list) - A list to fill.

Instance Variable Details [hide private]

limit

Limit the number of matches. 0=unlimited.
Type:
int