Class: WsdlMapper::DomGeneration::DocumentedSchemaGenerator
- Inherits:
-
SchemaGenerator
- Object
- Generation::Base
- SchemaGenerator
- WsdlMapper::DomGeneration::DocumentedSchemaGenerator
- Defined in:
- lib/wsdl_mapper/dom_generation/documented_schema_generator.rb
Instance Attribute Summary
Attributes inherited from SchemaGenerator
#class_generator, #context, #ctr_generator, #enum_generator, #module_generator, #namer, #type_mapping, #value_defaults_generator, #value_generator, #wrapping_type_generator
Instance Method Summary (collapse)
- - (Object) generate(schema)
-
- (DocumentedSchemaGenerator) initialize(context, skip_modules: false, formatter_factory: DefaultFormatter, namer: WsdlMapper::Naming::DefaultNamer.new, class_generator_factory: DocumentedClassGenerator, module_generator_factory: DefaultModuleGenerator, ctr_generator_factory: DocumentedCtrGenerator, enum_generator_factory: DocumentedEnumGenerator, value_defaults_generator_factory: DefaultValueDefaultsGenerator, wrapping_type_generator_factory: DocumentedWrappingTypeGenerator, type_mapping: WsdlMapper::TypeMapping::DEFAULT, value_generator: DefaultValueGenerator.new)
constructor
A new instance of DocumentedSchemaGenerator.
Methods inherited from SchemaGenerator
#generate_complex_types, #generate_enumerations, #generate_restrictions, #get_formatter, #get_ruby_type_name
Methods inherited from Generation::Base
#append_file_for, #file, #file_for, #generate_name, #get_formatter, #get_module_names, #get_type_name, #type_file_for
Constructor Details
- (DocumentedSchemaGenerator) initialize(context, skip_modules: false, formatter_factory: DefaultFormatter, namer: WsdlMapper::Naming::DefaultNamer.new, class_generator_factory: DocumentedClassGenerator, module_generator_factory: DefaultModuleGenerator, ctr_generator_factory: DocumentedCtrGenerator, enum_generator_factory: DocumentedEnumGenerator, value_defaults_generator_factory: DefaultValueDefaultsGenerator, wrapping_type_generator_factory: DocumentedWrappingTypeGenerator, type_mapping: WsdlMapper::TypeMapping::DEFAULT, value_generator: DefaultValueGenerator.new)
Returns a new instance of DocumentedSchemaGenerator
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/wsdl_mapper/dom_generation/documented_schema_generator.rb', line 11 def initialize(context, skip_modules: false, formatter_factory: DefaultFormatter, namer: WsdlMapper::Naming::DefaultNamer.new, class_generator_factory: DocumentedClassGenerator, module_generator_factory: DefaultModuleGenerator, ctr_generator_factory: DocumentedCtrGenerator, enum_generator_factory: DocumentedEnumGenerator, value_defaults_generator_factory: DefaultValueDefaultsGenerator, wrapping_type_generator_factory: DocumentedWrappingTypeGenerator, type_mapping: WsdlMapper::TypeMapping::DEFAULT, value_generator: DefaultValueGenerator.new) super end |
Instance Method Details
- (Object) generate(schema)
27 28 29 30 31 32 33 |
# File 'lib/wsdl_mapper/dom_generation/documented_schema_generator.rb', line 27 def generate(schema) result = super generate_yard_opts result end |