xsdata.codegen.writer module¶
-
class
xsdata.codegen.writer.CodeWriter(generator)[source]¶ Bases:
objectProxy to format generators and files structure creation.
- Parameters
generator (
AbstractGenerator) –
-
generator: xsdata.formats.mixins.AbstractGenerator¶
-
write(classes)[source]¶ Iterate over the designated generator outputs and create the necessary directories and files.
-
print(classes)[source]¶ Iterate over the designated generator outputs and print them to the console.
-
classmethod
from_config(config)[source]¶ - Parameters
config (
GeneratorConfig) –- Return type