Module PluginGenerator :: Class PluginGenerator
[hide private]
[frames] | no frames]

Class PluginGenerator

source code

object --+
         |
        PluginGenerator

Class description

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
set_root_directory(self, root_directory)
Sets the root directory as well as checking that it exists
source code
 
get_xsd_base_name(self) source code
 
set_base_name(self, base_name)
Sets the base name, and makes sure it is valid
source code
 
set_plugin_name(self, plugin_name)
Set the plugin name throwing an error if there are any invalid characters
source code
 
set_version(self, version) source code
 
set_copyright(self, copyright) source code
 
set_author(self, author) source code
 
set_template_dir(self, template_dir) source code
 
set_xsd_filename(self, xsd_filename)
Sets the filename and also works out the name part, i.e.
source code
 
set_xsd_input(self, xsd_input) source code
 
set_xsd_result(self, xsd_result) source code
 
set_xsd_general(self, xsd_general) source code
 
set_project_name(self, project_name) source code
 
set_generator_filename(self, generator_filename) source code
 
get_dir_name(self) source code
 
get_xsd_name(self) source code
 
set_plugin_filename(self, plugin_filename) source code
 
set_plugin_test_filename(self, plugin_test_filename) source code
 
set_slave_plugin_name(self, slave_plugin_name) source code
 
set_site_name(self, site_name) source code
 
set_plugin_directory(self, plugin_directory) source code
 
create_file_structure(self)
This creates the file structure and populates some other parameters which are needed
source code
 
get_replacement_dictionary(self) source code
 
create_template_replaced_file(self, templatefilename, outputfilename, replacement_dict) source code
 
create_xsd_converter_script(self) source code
 
check_xsd_input_and_result_with_xsd(self, xsd_file_name) source code
 
display_xsd_file(self, xsd_file_name) source code
 
copy_xsd_to_local(self) source code
 
run_the_xsd_script(self) source code
 
check_file_does_not_exist(self, new_file) source code
 
copy_and_populate_plugin(self) source code
 
copy_and_populate_plugin_tests(self) source code
 
copy_test_data_information(self) source code
 
run_execute_test(self) source code
 
register_with_site_config(self) source code
 
create_plugin(self)
Runs all the components of the plugin generator
source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

set_xsd_filename(self, xsd_filename)

source code 

Sets the filename and also works out the name part, i.e. XSDataFooBar.xsd This now also pulls out the information and sets 2 other parameters : _xsd_data_input_name _xsd_data_result_name