Package suds :: Package xsd :: Module query :: Class ElementQuery
[hide private]
[frames] | no frames]

Class ElementQuery

source code

sudsobject.Object --+    
                    |    
                Query --+
                        |
                       ElementQuery

Schema query class that searches for Element references in the specified schema. Matches on root Elements by qname first, then searches deep into the document.

Instance Methods [hide private]
sxbase.SchemaObject
execute(self, schema)
Execute this query using the specified schema.
source code
 
__deepsearch(self, schema) source code

Inherited from Query: __init__, filter, result

Inherited from sudsobject.Object: __contains__, __delattr__, __getitem__, __iter__, __len__, __repr__, __setattr__, __setitem__, __str__, __unicode__

Method Details [hide private]

execute(self, schema)

source code 

Execute this query using the specified schema.

Parameters:
  • schema - The schema associated with the query. The schema is used by the query to search for items.
Returns: sxbase.SchemaObject
The item matching the search criteria.
Overrides: Query.execute
(inherited documentation)