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

Class ImportDoctor

source code

               Doctor --+
                        |
    plugin.Plugin --+   |
                    |   |
plugin.DocumentPlugin --+
                        |
                       ImportDoctor

Doctor used to fix missing imports.

Instance Methods [hide private]
 
__init__(self, *imports) source code
 
add(self, *imports)
Add a namesapce to be checked.
source code
 
examine(self, node)
Examine and repair the schema (if necessary).
source code
 
parsed(self, context)
Suds has parsed a WSDL/XSD document.
source code

Inherited from plugin.DocumentPlugin: loaded

Instance Variables [hide private]
[Import,...] imports
A list of imports to apply.
Method Details [hide private]

add(self, *imports)

source code 

Add a namesapce to be checked.

Parameters:

examine(self, node)

source code 

Examine and repair the schema (if necessary).

Parameters:
  • root - A schema root element.
Overrides: Doctor.examine
(inherited documentation)

parsed(self, context)

source code 

Suds has parsed a WSDL/XSD document. Provides the plugin with an opportunity to inspect/modify the parsed document. Called after each WSDL/XSD document is parsed.

Parameters:
  • context - The document context.
Overrides: plugin.DocumentPlugin.parsed
(inherited documentation)